OSDN Git Service

scripts/spelling.txt: add "an one" pattern and fix typo instances
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 27 Feb 2017 22:28:52 +0000 (14:28 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Feb 2017 02:43:46 +0000 (18:43 -0800)
Fix typos and add the following to the scripts/spelling.txt:

  an one||a one

I dropped the "an" before "one or more" in
drivers/net/ethernet/sfc/mcdi_pcol.h.

Link: http://lkml.kernel.org/r/1481573103-11329-6-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/s390/kernel/vtime.c
drivers/net/ethernet/sfc/mcdi_pcol.h
drivers/usb/core/devio.c
scripts/spelling.txt
tools/perf/util/dso.c

index b4a3e9e..31bd96e 100644 (file)
@@ -350,7 +350,7 @@ static void __add_vtimer(struct vtimer_list *timer, int periodic)
 }
 
 /*
- * add_virt_timer - add an oneshot virtual CPU timer
+ * add_virt_timer - add a oneshot virtual CPU timer
  */
 void add_virt_timer(struct vtimer_list *timer)
 {
index 47ced8a..91fb54f 100644 (file)
 
 /***********************************/
 /* MC_CMD_GET_LICENSED_V3_FEATURE_STATES
- * Query the state of an one or more licensed features. (Note that the actual
+ * Query the state of one or more licensed features. (Note that the actual
  * state may be invalidated by the MC_CMD_LICENSING_V3 OP_UPDATE_LICENSE
  * operation or a reboot of the MC.) Used for V3 licensing (Medford)
  */
index 52747b6..ca425e8 100644 (file)
@@ -2335,7 +2335,7 @@ static int proc_drop_privileges(struct usb_dev_state *ps, void __user *arg)
        if (copy_from_user(&data, arg, sizeof(data)))
                return -EFAULT;
 
-       /* This is an one way operation. Once privileges are
+       /* This is a one way operation. Once privileges are
         * dropped, you cannot regain them. You may however reissue
         * this ioctl to shrink the allowed interfaces mask.
         */
index 27991a9..6ff5403 100644 (file)
@@ -89,6 +89,7 @@ amout||amount
 an union||a union
 an user||a user
 an userspace||a userspace
+an one||a one
 analysator||analyzer
 ang||and
 anniversery||anniversary
index 28d41e7..3abe337 100644 (file)
@@ -951,7 +951,7 @@ static struct dso *__dso__findlink_by_longname(struct rb_root *root,
                if (rc == 0) {
                        /*
                         * In case the new DSO is a duplicate of an existing
-                        * one, print an one-time warning & put the new entry
+                        * one, print a one-time warning & put the new entry
                         * at the end of the list of duplicates.
                         */
                        if (!dso || (dso == this))