diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-09-04 04:12:00 -0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2012-09-04 05:59:13 -0400 |
commit | 76f59b3bf5af41c2fb60f05f5d5ec51e8138e996 (patch) | |
tree | a6c4086f217e1569d2e1392ccb52e9a55def2f49 /fs | |
parent | 378b8e1ad18e7c97832aa3771e295153c4cd2a55 (diff) |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext3/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
975 | * Initialize args struct so we know whether arg was | 975 | * Initialize args struct so we know whether arg was |
976 | * found; some options take optional arguments. | 976 | * found; some options take optional arguments. |
977 | */ | 977 | */ |
978 | args[0].to = args[0].from = 0; | 978 | args[0].to = args[0].from = NULL; |
979 | token = match_token(p, tokens, args); | 979 | token = match_token(p, tokens, args); |
980 | switch (token) { | 980 | switch (token) { |
981 | case Opt_bsd_df: | 981 | case Opt_bsd_df: |