diff options
author | Alexander Viro <viro@www.linux.org.uk> | 2004-07-15 22:03:51 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-07-15 22:03:51 -0700 |
commit | 8a4706493d6155452c2654578d9b90d75b9b86f1 (patch) | |
tree | 175665e42fd918239daada9b727ba7a52808eb7a /kernel | |
parent | 644d66ddaa2db9138e83d15c79574c4a732716b0 (diff) | |
download | history-8a4706493d6155452c2654578d9b90d75b9b86f1.tar.gz |
[PATCH] misc sparse cleanups
- missing ; between default: and } in sun4setup.c
- cast of pointer to unsigned long long instead of unsigned long in
x86_64 signal.c
- missed annotations for ioctl structure in sparc64 openpromio.h
(should've been in the same patch as the rest of drivers/sbus/*
annotations)
- 0->NULL in list.h and pmdisk.c
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/power/pmdisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/pmdisk.c b/kernel/power/pmdisk.c index d4c20e05a4885c..318bfb9fa5f8b8 100644 --- a/kernel/power/pmdisk.c +++ b/kernel/power/pmdisk.c @@ -953,7 +953,7 @@ static const char * __init sanity_check(void) return "machine"; if(pmdisk_info.cpus != num_online_cpus()) return "number of cpus"; - return 0; + return NULL; } |