From: Sachin Kamat Date: Fri, 5 Oct 2012 00:15:46 +0000 (-0700) Subject: fs/proc/root.c: use NULL instead of 0 for pointer X-Git-Tag: firefly_0821_release~3680^2~1914^2~40 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9fb88442105f5fce96ea343927500d6307c8c550;p=firefly-linux-kernel-4.4.55.git fs/proc/root.c: use NULL instead of 0 for pointer This cleanup also fixes the following sparse warning: fs/proc/root.c:64:45: warning: Using plain integer as NULL pointer Signed-off-by: Sachin Kamat Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/proc/root.c b/fs/proc/root.c index 9a2d9fd7cadd..9889a92d2e01 100644 --- a/fs/proc/root.c +++ b/fs/proc/root.c @@ -61,7 +61,7 @@ static int proc_parse_options(char *options, struct pid_namespace *pid) if (!*p) continue; - args[0].to = args[0].from = 0; + args[0].to = args[0].from = NULL; token = match_token(p, tokens, args); switch (token) { case Opt_gid: