diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-08-18 22:29:18 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-08-18 22:29:18 -0400 |
commit | caecd0af8fe0635e8e6900399b951433af35bf52 (patch) | |
tree | 502543850021b46dbb6fd885cad110292a6ab586 /fs/ext4/super.c | |
parent | 07724f98978ad39386a3996a4e1b6780489a4dda (diff) |
ext4: replace plain integer with NULL in super.c
Fixes the following sparse warning:
fs/ext4/super.c:1672:45: warning: Using plain integer as NULL pointer
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r-- | fs/ext4/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index bae4124e1473..b875ff555865 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -1673,7 +1673,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); if (handle_mount_opt(sb, p, token, args, journal_devnum, journal_ioprio, is_remount) < 0) |