Skip to content

Commit 5f733e8

Browse files
rddunlaptorvalds
authored andcommitted
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.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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 0ba7f39 commit 5f733e8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎kernel/sysctl.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ static int proc_dopipe_max_size(struct ctl_table *table, int write,
225225
void __user *buffer, size_t *lenp, loff_t *ppos);
226226

227227
#ifdef CONFIG_MAGIC_SYSRQ
228-
/* Note: sysrq code uses it's own private copy */
228+
/* Note: sysrq code uses its own private copy */
229229
static int __sysrq_enabled = CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE;
230230

231231
static int sysrq_sysctl_handler(struct ctl_table *table, int write,
@@ -1976,13 +1976,13 @@ static void warn_sysctl_write(struct ctl_table *table)
19761976
}
19771977

19781978
/**
1979-
* proc_first_pos_non_zero_ignore - check if firs position is allowed
1979+
* proc_first_pos_non_zero_ignore - check if first position is allowed
19801980
* @ppos: file position
19811981
* @table: the sysctl table
19821982
*
19831983
* Returns true if the first position is non-zero and the sysctl_writes_strict
19841984
* mode indicates this is not allowed for numeric input types. String proc
1985-
* hadlers can ignore the return value.
1985+
* handlers can ignore the return value.
19861986
*/
19871987
static bool proc_first_pos_non_zero_ignore(loff_t *ppos,
19881988
struct ctl_table *table)

0 commit comments

Comments
 (0)