Skip to content

Commit

Permalink
ext3: Replace 0 with NULL for pointer in super.c file
Browse files Browse the repository at this point in the history
Fixes the following sparse warning:
fs/ext3/super.c:983:45: warning: Using plain integer as NULL pointer

Signed-off-by: Sachin Kamat <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
  • Loading branch information
Sachin Kamat authored and jankara committed Sep 4, 2012
1 parent 378b8e1 commit 76f59b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ext3/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 76f59b3

Please sign in to comment.