Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76f59b3b authored by Sachin Kamat's avatar Sachin Kamat Committed by Jan Kara
Browse files

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: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 378b8e1a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -975,7 +975,7 @@ static int parse_options (char *options, struct super_block *sb,
		 * Initialize args struct so we know whether arg was
		 * Initialize args struct so we know whether arg was
		 * found; some options take optional arguments.
		 * 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);
		token = match_token(p, tokens, args);
		switch (token) {
		switch (token) {
		case Opt_bsd_df:
		case Opt_bsd_df: