Commit 5f733e8a authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

kernel/sysctl.c: fix typos in comments

Fix a few typos/spellos in kernel/sysctl.c.

Link: http://lkml.kernel.org/r/bb09a8b9-f984-6dd4-b07b-3ecaf200862e@infradead.orgSigned-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Acked-by: default avatarKees Cook <keescook@chromium.org>
Cc: "Luis R. Rodriguez" <mcgrof@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0ba7f398
...@@ -225,7 +225,7 @@ static int proc_dopipe_max_size(struct ctl_table *table, int write, ...@@ -225,7 +225,7 @@ static int proc_dopipe_max_size(struct ctl_table *table, int write,
void __user *buffer, size_t *lenp, loff_t *ppos); void __user *buffer, size_t *lenp, loff_t *ppos);
#ifdef CONFIG_MAGIC_SYSRQ #ifdef CONFIG_MAGIC_SYSRQ
/* Note: sysrq code uses it's own private copy */ /* Note: sysrq code uses its own private copy */
static int __sysrq_enabled = CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE; static int __sysrq_enabled = CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE;
static int sysrq_sysctl_handler(struct ctl_table *table, int write, static int sysrq_sysctl_handler(struct ctl_table *table, int write,
...@@ -1976,13 +1976,13 @@ static void warn_sysctl_write(struct ctl_table *table) ...@@ -1976,13 +1976,13 @@ static void warn_sysctl_write(struct ctl_table *table)
} }
/** /**
* proc_first_pos_non_zero_ignore - check if firs position is allowed * proc_first_pos_non_zero_ignore - check if first position is allowed
* @ppos: file position * @ppos: file position
* @table: the sysctl table * @table: the sysctl table
* *
* Returns true if the first position is non-zero and the sysctl_writes_strict * Returns true if the first position is non-zero and the sysctl_writes_strict
* mode indicates this is not allowed for numeric input types. String proc * mode indicates this is not allowed for numeric input types. String proc
* hadlers can ignore the return value. * handlers can ignore the return value.
*/ */
static bool proc_first_pos_non_zero_ignore(loff_t *ppos, static bool proc_first_pos_non_zero_ignore(loff_t *ppos,
struct ctl_table *table) struct ctl_table *table)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment