mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
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>
This commit is contained in:
parent
378b8e1ad1
commit
76f59b3bf5
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user