diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2018-07-04 11:26:10 +0200 |
---|---|---|
committer | Michal Hocko <mhocko@suse.com> | 2018-07-04 11:26:10 +0200 |
commit | f450ee9b7fa93b9710e965e64c202c70d20060a6 (patch) | |
tree | d7b24fdfc5c3c4b696c17e9eeec8b15e27c3cff6 | |
parent | fc36def997cfd6cbff3eda4f82853a5c311c5466 (diff) | |
download | mm-akpm/sysctl.tar.gz |
kernel/sysctl.c: fix typos in commentsakpm/sysctl
Fix a few typos/spellos in kernel/sysctl.c.
Link: http://lkml.kernel.org/r/bb09a8b9-f984-6dd4-b07b-3ecaf200862e@infradead.org
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: "Luis R. Rodriguez" <mcgrof@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r-- | kernel/sysctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 2d9837c0aff4ae..78b1b09afecb07 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -222,7 +222,7 @@ static int proc_dopipe_max_size(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos); #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_sysctl_handler(struct ctl_table *table, int write, @@ -1973,13 +1973,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 * @table: the sysctl table * * 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 - * hadlers can ignore the return value. + * handlers can ignore the return value. */ static bool proc_first_pos_non_zero_ignore(loff_t *ppos, struct ctl_table *table) |