x86, vsyscall: Fix sparse warning: Using plain integer as NULL
Subsystems (2)
PATCH 1/1 x86, vsyscall: Fix sparse warning: Using plain integer as NULL
This patch silences the following sparse warning:arch/x86/kernel/vsyscall_64.c:250:34:
warning: Using plain integer as NULL pointer
Signed-off-by Emil Goode <[email protected]>
--- arch/x86/kernel/vsyscall_64.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/vsyscall_64.c +1 -1
@@ -247,7 +247,7 @@ bool emulate_vsyscall(struct pt_regs *regs, unsigned long address) ret =sys_getcpu ((unsigned __user *)regs->di, (unsigned __user *)regs->si, -0 ); +NULL );break ; }
Signature · 1 line
1.7.9.1