mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
ab4a1f2470
commit
9fb8844210
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue