* [PATCH] lib/seq_buf: auto-correct some typos
@ 2018-10-03 13:02 Sergey Senozhatsky
0 siblings, 0 replies; only message in thread
From: Sergey Senozhatsky @ 2018-10-03 13:02 UTC (permalink / raw)
To: Jiri Kosina, Andrew Morton
Cc: Steven Rostedt, linux-kernel, Sergey Senozhatsky, Sergey Senozhatsky
Correct vnprintf() typo + several aspell corrections.
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-10-03 13:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-03 13:02 [PATCH] lib/seq_buf: auto-correct some typos Sergey Senozhatsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®