Skip to contentSkip to conversation

lib/seq_buf: auto-correct some typos

PATCH New Sergey Senozhatsky 1 participant 1 message Oct 3, 2018 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/seq_buf: auto-correct some typos

Correct vnprintf() typo + several aspell corrections.

---
 lib/seq_buf.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
lib/seq_buf.c +3 -3
index 11f2ae0f9099..738b4e92780c 100644
@@ -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
Signature · 1 line
2.19.0