Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sachin Kamat and committed by
Jan Kara
76f59b3b 378b8e1a

+1 -1
+1 -1
fs/ext3/super.c
··· 975 975 * Initialize args struct so we know whether arg was 976 976 * found; some options take optional arguments. 977 977 */ 978 - args[0].to = args[0].from = 0; 978 + args[0].to = args[0].from = NULL; 979 979 token = match_token(p, tokens, args); 980 980 switch (token) { 981 981 case Opt_bsd_df: