projects/linux·commit ed2c12f3

kernel/sysctl.c: finish off the warning comments

ed2c12f3 · Andrew Morton <[email protected]> · 2007-07-19 01:50:35 -07:00

I've been chasing these comments around this file all week.  Hopefully we're
straight now.

Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
ed2c12f323e8fafbc94f9bcfb924f9df36e64dc7
Parents
87f24c3a

Changes

1 files changed · +4 −1

FileStatusAddDelContent
kernel/sysctl.cmodified+4−1View file

kernel/sysctl.c

View file
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index e69179b..2222998 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -748,7 +748,10 @@ static ctl_table kern_table[] = {
.proc_handler = &proc_dostring,
.strategy = &sysctl_string,
},
-
+/*
+ * NOTE: do not add new entries to this table unless you have read
+ * Documentation/sysctl/ctl_unnumbered.txt
+ */
{ .ctl_name = 0 }
};