diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-09-04 13:42:00 +0530 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2012-09-04 11:59:13 +0200 |
commit | 76f59b3bf5af41c2fb60f05f5d5ec51e8138e996 (patch) | |
tree | a6c4086f217e1569d2e1392ccb52e9a55def2f49 /fs/ext3 | |
parent | 378b8e1ad18e7c97832aa3771e295153c4cd2a55 (diff) | |
download | op-kernel-dev-76f59b3bf5af41c2fb60f05f5d5ec51e8138e996.zip op-kernel-dev-76f59b3bf5af41c2fb60f05f5d5ec51e8138e996.tar.gz |
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/ext3')
-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 d90ad05..504fb3f 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: |