From: Sachin Kamat <sachin.kamat@linaro.org> Date: Tue, 4 Sep 2012 08:12:00 +0000 (+0530) Subject: ext3: Replace 0 with NULL for pointer in super.c file X-Git-Tag: firefly_0821_release~3680^2~1919^2~3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=76f59b3bf5af41c2fb60f05f5d5ec51e8138e996;p=firefly-linux-kernel-4.4.55.git ext3: Replace 0 with NULL for pointer in super.c file Fixes the following sparse warning: fs/ext3/super.c:983:45: warning: Using plain integer as NULL pointer Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Jan Kara <jack@suse.cz> --- diff --git a/fs/ext3/super.c b/fs/ext3/super.c index d90ad0574705..504fb3f51420 100644 --- a/fs/ext3/super.c +++ b/fs/ext3/super.c @@ -975,7 +975,7 @@ static int parse_options (char *options, struct super_block *sb, * Initialize args struct so we know whether arg was * found; some options take optional arguments. */ - args[0].to = args[0].from = 0; + args[0].to = args[0].from = NULL; token = match_token(p, tokens, args); switch (token) { case Opt_bsd_df: