x86_64: use NULL for pointer
PATCH 1/1 x86_64: use NULL for pointer
From: Randy Dunlap <[email protected]>
Use NULL instead of 0 for pointer:arch/x86_64/kernel/vsyscall.c:183:21: warning: Using plain integer as NULL pointer
Signed-off-by Randy Dunlap <[email protected]>
--- arch/x86_64/kernel/vsyscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86_64/kernel/vsyscall.c +1 -1
@@ -180,7 +180,7 @@ time_t __vsyscall(1) vtime(time_t *t)if (unlikely (!__vsyscall_gtod_data.sysctl_enabled))return time_syscall (t); -vgettimeofday (&tv,0 ); +vgettimeofday (&tv,NULL ); result = tv.tv_sec;if (t) *t = result;