summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMika Kukkonen <mika@osdl.org>2004-07-01 20:36:36 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-07-01 20:36:36 -0700
commit0d39ac56a8686eb6cbb3cac06d5cb2ea6a2810b4 (patch)
treef17312fb5b5ec579aa514f8953eeb3cc25f0da8d /kernel
parentcc4d29de52a4a195f4a917849fab8909a5d76f88 (diff)
[PATCH] Remaining sparse warnings in allnoconfig
Attached is a smallish patch for couple trivial sparse warnings in allnoconfig build and more importantly an "excuses" text file explaining why the rest have not been fixed. Basically all of them (with the exception of the one in Andrews tree) need some serious re-engineering. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 641727bab22f..0df0748d56bd 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -2162,7 +2162,7 @@ int proc_doulongvec_ms_jiffies_minmax(ctl_table *table, int write,
struct ctl_table_header * register_sysctl_table(ctl_table * table,
int insert_at_head)
{
- return 0;
+ return NULL;
}
void unregister_sysctl_table(struct ctl_table_header * table)