[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20181003130241.2573-1-sergey.senozhatsky@gmail.com>
Date: Wed, 3 Oct 2018 22:02:41 +0900
From: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
To: Jiri Kosina <jikos@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Steven Rostedt <rostedt@...dmis.org>, linux-kernel@...r.kernel.org,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>
Subject: [PATCH] lib/seq_buf: auto-correct some typos
Correct vnprintf() typo + several aspell corrections.
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@...il.com>
---
lib/seq_buf.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/seq_buf.c b/lib/seq_buf.c
index 11f2ae0f9099..738b4e92780c 100644
--- a/lib/seq_buf.c
+++ b/lib/seq_buf.c
@@ -50,7 +50,7 @@ int seq_buf_print_seq(struct seq_file *m, struct seq_buf *s)
* @fmt: printf format string
* @args: va_list of arguments from a printf() type function
*
- * Writes a vnprintf() format into the sequencce buffer.
+ * Writes a vsprintf() format into the sequence buffer.
*
* Returns zero on success, -1 on overflow.
*/
@@ -175,7 +175,7 @@ int seq_buf_putc(struct seq_buf *s, unsigned char c)
}
/**
- * seq_buf_putmem - write raw data into the sequenc buffer
+ * seq_buf_putmem - write raw data into the sequence buffer
* @s: seq_buf descriptor
* @mem: The raw memory to copy into the buffer
* @len: The length of the raw memory to copy (in bytes)
@@ -280,7 +280,7 @@ int seq_buf_path(struct seq_buf *s, const struct path *path, const char *esc)
}
/**
- * seq_buf_to_user - copy the squence buffer to user space
+ * seq_buf_to_user - copy the sequence buffer to user space
* @s: seq_buf descriptor
* @ubuf: The userspace memory location to copy to
* @cnt: The amount to copy
--
2.19.0
Powered by blists - more mailing lists