All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes
@ 2016-12-12 20:04 Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 01/31] scripts/spelling.txt: add "swith" pattern and fix typo instances Masahiro Yamada
                   ` (32 more replies)
  0 siblings, 33 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel


This series fixes typos that

  - have no entry in scripts/spelling.txt
  - have 2 or more typo instances in the kernel tree

This series can be cleanly applied to linux-next 20161212.

Stephen Rothwell announced that new patches should not
be applied until v4.10-rc1 is out.
(https://lkml.org/lkml/2016/12/11/103)

So, this series will be stable during the merge window.

If this series looks good, I am hoping it will be
merged during this merge window.

Anyway, please review.



Masahiro Yamada (31):
  scripts/spelling.txt: add "swith" pattern and fix typo instances
  scripts/spelling.txt: add "swithc" pattern and fix typo instances
  scripts/spelling.txt: add "an user" pattern and fix typo instances
  scripts/spelling.txt: add "an union" pattern and fix typo instances
  scripts/spelling.txt: add "an one" pattern and fix typo instances
  scripts/spelling.txt: add "partiton" pattern and fix typo instances
  scripts/spelling.txt: add "aligment" pattern and fix typo instances
  scripts/spelling.txt: add "algined" pattern and fix typo instances
  scripts/spelling.txt: add "efective" pattern and fix typo instances
  scripts/spelling.txt: add "varible" pattern and fix typo instances
  scripts/spelling.txt: add "embeded" pattern and fix typo instances
  scripts/spelling.txt: add "againt" pattern and fix typo instances
  scripts/spelling.txt: add "neded" pattern and fix typo instances
  scripts/spelling.txt: add "unneded" pattern and fix typo instances
  scripts/spelling.txt: add "intialization" pattern and fix typo
    instances
  scripts/spelling.txt: add "initialiazation" pattern and fix typo
    instances
  scripts/spelling.txt: add "intialise(d)" pattern and fix typo
    instances
  scripts/spelling.txt: add "comsume(r)" pattern and fix typo instances
  scripts/spelling.txt: add "disble(d)" pattern and fix typo instances
  scripts/spelling.txt: add "overide" pattern and fix typo instances
  scripts/spelling.txt: add "overrided" pattern and fix typo instances
  scripts/spelling.txt: add "configuartion" pattern and fix typo
    instances
  scripts/spelling.txt: add "applys" pattern and fix typo instances
  scripts/spelling.txt: add "explictely" pattern and fix typo instances
  scripts/spelling.txt: add "omited" pattern and fix typo instances
  scripts/spelling.txt: add "disassocation" pattern and fix typo
    instances
  scripts/spelling.txt: add "deintialize(d)" pattern and fix typo
    instances
  scripts/spelling.txt: add "overwritting" pattern and fix typo
    instances
  scripts/spelling.txt: add "overwriten" pattern and fix typo instances
  scripts/spelling.txt: add "therfore" pattern and fix typo instances
  scripts/spelling.txt: add "followings" pattern and fix typo instances

 Documentation/DocBook/libata.tmpl                  |  2 +-
 Documentation/acpi/method-customizing.txt          |  2 +-
 Documentation/acpi/method-tracing.txt              |  2 +-
 Documentation/admin-guide/ras.rst                  |  2 +-
 Documentation/blockdev/mflash.txt                  |  2 +-
 Documentation/dev-tools/kcov.rst                   |  2 +-
 Documentation/device-mapper/dm-raid.txt            |  2 +-
 Documentation/devicetree/bindings/mfd/qcom-rpm.txt |  2 +-
 .../bindings/net/marvell-armada-370-neta.txt       |  2 +-
 Documentation/devicetree/bindings/opp/opp.txt      |  2 +-
 .../bindings/pinctrl/allwinner,sunxi-pinctrl.txt   |  2 +-
 .../devicetree/bindings/power/pd-samsung.txt       |  2 +-
 .../bindings/regulator/ti-abb-regulator.txt        |  2 +-
 .../devicetree/bindings/soc/rockchip/grf.txt       |  4 +-
 .../devicetree/bindings/sound/rockchip-i2s.txt     |  4 +-
 .../devicetree/bindings/sound/sun4i-codec.txt      |  2 +-
 .../devicetree/bindings/sound/sun4i-i2s.txt        |  4 +-
 Documentation/filesystems/quota.txt                |  2 +-
 Documentation/kselftest.txt                        |  4 +-
 Documentation/media/dvb-drivers/ci.rst             |  2 +-
 .../media/uapi/dvb/dvb-frontend-parameters.rst     |  4 +-
 Documentation/memory-hotplug.txt                   |  4 +-
 Documentation/networking/cdc_mbim.txt              |  4 +-
 Documentation/scsi/ChangeLog.megaraid_sas          |  2 +-
 Documentation/sound/hd-audio/notes.rst             |  2 +-
 Documentation/vm/userfaultfd.txt                   |  2 +-
 arch/Kconfig                                       |  2 +-
 arch/arc/kernel/unwind.c                           |  4 +-
 arch/arm/boot/compressed/head.S                    |  2 +-
 arch/arm/include/asm/mach/flash.h                  |  2 +-
 arch/arm/mach-omap2/omap_twl.c                     |  2 +-
 arch/arm/mm/cache-v7.S                             |  2 +-
 arch/arm/mm/cache-v7m.S                            |  2 +-
 arch/arm64/lib/copy_template.S                     |  2 +-
 arch/cris/arch-v32/drivers/cryptocop.c             |  2 +-
 arch/ia64/sn/kernel/sn2/sn_hwperf.c                |  2 +-
 arch/m68k/ifpsp060/src/isp.S                       |  2 +-
 arch/openrisc/kernel/entry.S                       |  6 +--
 arch/openrisc/kernel/head.S                        |  6 +--
 arch/openrisc/kernel/vmlinux.lds.S                 |  4 +-
 arch/powerpc/boot/dts/fsl/mpc8569mds.dts           |  2 +-
 arch/powerpc/include/asm/book3s/64/mmu.h           |  2 +-
 arch/powerpc/include/asm/fsl_hcalls.h              |  2 +-
 arch/powerpc/platforms/powernv/pci-ioda.c          |  2 +-
 arch/powerpc/platforms/pseries/iommu.c             |  2 +-
 arch/powerpc/xmon/ppc-opc.c                        |  2 +-
 arch/s390/kernel/vtime.c                           |  2 +-
 arch/sh/kernel/irq.c                               |  2 +-
 arch/sparc/include/asm/switch_to_32.h              |  2 +-
 arch/sparc/kernel/visemul.c                        |  2 +-
 arch/x86/include/asm/desc_defs.h                   |  2 +-
 arch/x86/kernel/ftrace.c                           |  2 +-
 arch/x86/kvm/mmu.c                                 |  2 +-
 block/blk-throttle.c                               |  2 +-
 certs/blacklist.c                                  |  2 +-
 drivers/acpi/acpica/acmacros.h                     |  2 +-
 drivers/acpi/acpica/dbconvert.c                    |  2 +-
 drivers/acpi/acpica/nspredef.c                     |  2 +-
 drivers/acpi/acpica/nsxfeval.c                     |  4 +-
 drivers/acpi/resource.c                            |  2 +-
 drivers/acpi/spcr.c                                |  2 +-
 drivers/ata/libata-eh.c                            |  2 +-
 drivers/atm/iphase.c                               |  2 +-
 drivers/atm/iphase.h                               |  2 +-
 drivers/block/loop.c                               |  2 +-
 drivers/block/paride/pcd.c                         |  2 +-
 drivers/block/paride/pd.c                          |  2 +-
 drivers/block/paride/pf.c                          |  2 +-
 drivers/block/paride/pg.c                          |  2 +-
 drivers/block/paride/pt.c                          |  2 +-
 drivers/char/pcmcia/cm4000_cs.c                    |  2 +-
 drivers/char/sonypi.c                              |  2 +-
 drivers/crypto/caam/ctrl.c                         |  2 +-
 drivers/crypto/ux500/cryp/cryp.c                   |  2 +-
 drivers/devfreq/devfreq.c                          |  2 +-
 drivers/extcon/extcon-rt8973a.c                    |  2 +-
 drivers/firewire/core-device.c                     |  4 +-
 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c             |  2 +-
 drivers/gpu/drm/amd/include/atombios.h             |  8 ++--
 .../gpu/drm/amd/powerplay/inc/hardwaremanager.h    |  2 +-
 drivers/gpu/drm/drm_probe_helper.c                 |  4 +-
 drivers/gpu/drm/i915/i915_gem_render_state.c       |  2 +-
 drivers/gpu/drm/radeon/atombios.h                  |  6 +--
 drivers/hid/hid-kye.c                              |  2 +-
 drivers/hv/channel.c                               |  2 +-
 drivers/hwmon/g762.c                               |  2 +-
 drivers/infiniband/hw/qib/qib_iba6120.c            |  2 +-
 drivers/infiniband/hw/qib/qib_iba7220.c            |  2 +-
 drivers/infiniband/hw/qib/qib_iba7322.c            |  2 +-
 drivers/infiniband/sw/rdmavt/mad.c                 |  6 +--
 drivers/isdn/hardware/eicon/debug.c                |  2 +-
 drivers/isdn/hardware/mISDN/mISDNipac.c            |  2 +-
 drivers/isdn/hisax/st5481_b.c                      |  2 +-
 drivers/isdn/mISDN/dsp_core.c                      |  2 +-
 drivers/media/dvb-core/dvb_ringbuffer.h            |  4 +-
 drivers/media/dvb-frontends/drx39xyj/drx_driver.h  | 12 +++---
 drivers/media/dvb-frontends/drx39xyj/drxj.c        | 16 ++++----
 drivers/media/dvb-frontends/drx39xyj/drxj.h        |  4 +-
 drivers/media/dvb-frontends/drxk_hard.c            |  2 +-
 drivers/media/i2c/adv7183_regs.h                   |  2 +-
 drivers/media/platform/exynos4-is/fimc-core.h      |  2 +-
 drivers/media/usb/gspca/t613.c                     |  6 +--
 drivers/media/usb/tm6000/tm6000-input.c            |  2 +-
 drivers/media/v4l2-core/tuner-core.c               |  4 +-
 drivers/misc/vmw_vmci/vmci_queue_pair.c            |  2 +-
 drivers/mmc/host/mmci_qcom_dml.c                   |  2 +-
 drivers/mtd/spi-nor/spi-nor.c                      |  2 +-
 drivers/net/can/flexcan.c                          |  2 +-
 drivers/net/ethernet/adi/bfin_mac.c                |  2 +-
 drivers/net/ethernet/broadcom/bcm63xx_enet.c       |  2 +-
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c   |  2 +-
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c |  2 +-
 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c |  4 +-
 drivers/net/ethernet/intel/igb/e1000_phy.c         |  2 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c     |  2 +-
 drivers/net/ethernet/micrel/ksz884x.c              |  8 ++--
 .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c    |  2 +-
 drivers/net/ethernet/qlogic/qlge/qlge.h            |  4 +-
 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c    |  8 ++--
 drivers/net/ethernet/sfc/mcdi_pcol.h               |  2 +-
 drivers/net/ethernet/sis/sis900.c                  |  2 +-
 drivers/net/usb/kalmia.c                           |  2 +-
 drivers/net/wimax/i2400m/usb-fw.c                  |  2 +-
 drivers/net/wireless/ath/ath9k/ani.c               |  4 +-
 drivers/net/wireless/intel/ipw2x00/ipw2100.c       |  6 +--
 drivers/net/wireless/intel/ipw2x00/ipw2200.c       |  4 +-
 drivers/net/wireless/marvell/mwifiex/wmm.c         |  4 +-
 .../net/wireless/realtek/rtlwifi/rtl8192se/fw.c    |  4 +-
 drivers/net/wireless/rsi/rsi_91x_usb.c             |  2 +-
 drivers/net/wireless/ti/wl18xx/main.c              |  2 +-
 drivers/net/wireless/ti/wlcore/init.c              |  2 +-
 drivers/nfc/pn533/pn533.c                          |  2 +-
 drivers/nvme/host/rdma.c                           |  2 +-
 drivers/parport/parport_pc.c                       |  2 +-
 drivers/pci/quirks.c                               |  2 +-
 drivers/pinctrl/bcm/Kconfig                        |  2 +-
 drivers/power/avs/smartreflex.c                    |  6 +--
 drivers/scsi/aacraid/linit.c                       |  2 +-
 drivers/scsi/aic7xxx/aic79xx_core.c                |  2 +-
 drivers/scsi/bfa/bfi_ms.h                          |  2 +-
 drivers/scsi/fcoe/fcoe_ctlr.c                      |  2 +-
 drivers/scsi/ipr.c                                 |  2 +-
 drivers/scsi/lpfc/lpfc_attr.c                      |  2 +-
 drivers/scsi/lpfc/lpfc_sli.c                       | 18 ++++-----
 drivers/scsi/mpt3sas/mpt3sas_ctl.c                 |  2 +-
 drivers/scsi/mpt3sas/mpt3sas_ctl.h                 |  2 +-
 drivers/scsi/osd/osd_initiator.c                   |  2 +-
 drivers/scsi/scsi_transport_sas.c                  |  2 +-
 drivers/scsi/storvsc_drv.c                         |  2 +-
 drivers/staging/gs_fpgaboot/gs_fpgaboot.h          |  2 +-
 .../lustre/lustre/include/lustre/lustre_idl.h      |  2 +-
 drivers/staging/rtl8192u/ieee80211/ieee80211.h     |  4 +-
 .../staging/rtl8192u/ieee80211/ieee80211_softmac.c |  2 +-
 .../vc04_services/interface/vchiq_arm/vchiq_arm.c  |  4 +-
 drivers/staging/wilc1000/linux_wlan.c              |  2 +-
 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c  |  2 +-
 drivers/tty/serial/ioc4_serial.c                   |  2 +-
 drivers/usb/core/devio.c                           |  2 +-
 drivers/usb/gadget/legacy/inode.c                  |  3 +-
 drivers/usb/gadget/udc/fsl_udc_core.c              |  4 +-
 drivers/usb/gadget/udc/renesas_usb3.c              |  4 +-
 drivers/usb/host/xhci.c                            |  4 +-
 drivers/usb/usbip/usbip_common.c                   |  2 +-
 drivers/video/fbdev/aty/radeon_monitor.c           |  2 +-
 drivers/video/fbdev/intelfb/intelfbdrv.c           |  2 +-
 drivers/watchdog/bcm2835_wdt.c                     |  6 +--
 fs/ecryptfs/kthread.c                              |  2 +-
 fs/ext4/extents_status.c                           |  2 +-
 fs/inode.c                                         |  2 +-
 fs/ocfs2/dlm/dlmmaster.c                           |  2 +-
 fs/userfaultfd.c                                   |  6 +--
 fs/xfs/xfs_log_recover.c                           |  2 +-
 include/dt-bindings/sound/cs42l42.h                |  2 +-
 include/linux/dcache.h                             |  4 +-
 include/linux/kconfig.h                            |  2 +-
 include/linux/mtd/qinfo.h                          |  2 +-
 include/linux/regulator/machine.h                  |  2 +-
 include/linux/spi/flash.h                          |  2 +-
 include/media/v4l2-ctrls.h                         |  4 +-
 include/net/cfg80211.h                             |  2 +-
 include/net/irda/timer.h                           |  2 +-
 include/net/mac80211.h                             |  2 +-
 include/xen/interface/grant_table.h                |  2 +-
 kernel/cgroup.c                                    |  2 +-
 kernel/events/core.c                               |  2 +-
 kernel/irq/manage.c                                |  2 +-
 kernel/torture.c                                   |  2 +-
 kernel/trace/trace_stack.c                         |  2 +-
 mm/page-writeback.c                                |  2 +-
 mm/page_alloc.c                                    |  2 +-
 mm/percpu.c                                        |  2 +-
 net/bluetooth/hci_sock.c                           |  6 +--
 net/mac80211/mesh.c                                |  2 +-
 net/netfilter/nfnetlink_cthelper.c                 |  2 +-
 net/netfilter/x_tables.c                           |  2 +-
 net/sctp/transport.c                               |  4 +-
 scripts/recordmcount.pl                            |  2 +-
 scripts/spelling.txt                               | 45 ++++++++++++++++++++++
 sound/pci/ac97/ac97_patch.c                        |  2 +-
 sound/pci/cs46xx/cs46xx_dsp_task_types.h           |  2 +-
 sound/pci/hda/patch_ca0132.c                       |  2 +-
 sound/pci/ice1712/wm8766.c                         |  2 +-
 sound/pci/ice1712/wm8776.c                         |  2 +-
 sound/ppc/snd_ps3.c                                |  2 +-
 sound/soc/amd/acp-pcm-dma.c                        |  4 +-
 sound/soc/codecs/wm_hubs.c                         |  2 +-
 sound/soc/fsl/fsl_asrc.c                           |  2 +-
 sound/soc/qcom/lpass.h                             |  2 +-
 sound/soc/soc-topology.c                           |  4 +-
 tools/lguest/lguest.c                              |  2 +-
 tools/lib/bpf/Makefile                             |  2 +-
 tools/lib/bpf/bpf.c                                |  2 +-
 tools/lib/traceevent/Makefile                      |  2 +-
 tools/lib/traceevent/event-parse.h                 |  2 +-
 tools/perf/Documentation/tips.txt                  |  2 +-
 tools/perf/util/dso.c                              |  2 +-
 tools/perf/util/probe-finder.c                     |  4 +-
 tools/perf/util/sort.h                             |  2 +-
 218 files changed, 340 insertions(+), 302 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 35+ messages in thread

* [PATCH 01/31] scripts/spelling.txt: add "swith" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 02/31] scripts/spelling.txt: add "swithc" " Masahiro Yamada
                   ` (31 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  swith||switch
  swithable||switchable
  swithed||switched
  swithing||switching

While we are here, fix the "update" to "updates" in the touched hunk
in drivers/net/wireless/marvell/mwifiex/wmm.c.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 Documentation/devicetree/bindings/mfd/qcom-rpm.txt     | 2 +-
 Documentation/devicetree/bindings/power/pd-samsung.txt | 2 +-
 arch/arm/boot/compressed/head.S                        | 2 +-
 arch/arm/mm/cache-v7.S                                 | 2 +-
 arch/arm/mm/cache-v7m.S                                | 2 +-
 arch/sh/kernel/irq.c                                   | 2 +-
 arch/sparc/include/asm/switch_to_32.h                  | 2 +-
 drivers/gpu/drm/amd/include/atombios.h                 | 2 +-
 drivers/gpu/drm/radeon/atombios.h                      | 2 +-
 drivers/isdn/mISDN/dsp_core.c                          | 2 +-
 drivers/net/usb/kalmia.c                               | 2 +-
 drivers/net/wireless/marvell/mwifiex/wmm.c             | 4 ++--
 net/mac80211/mesh.c                                    | 2 +-
 scripts/recordmcount.pl                                | 2 +-
 scripts/spelling.txt                                   | 4 ++++
 sound/pci/ac97/ac97_patch.c                            | 2 +-
 16 files changed, 20 insertions(+), 16 deletions(-)

diff --git a/Documentation/devicetree/bindings/mfd/qcom-rpm.txt b/Documentation/devicetree/bindings/mfd/qcom-rpm.txt
index 485bc59..3c91ad4 100644
--- a/Documentation/devicetree/bindings/mfd/qcom-rpm.txt
+++ b/Documentation/devicetree/bindings/mfd/qcom-rpm.txt
@@ -234,7 +234,7 @@ see regulator.txt - with additional custom properties described below:
 - qcom,switch-mode-frequency:
 	Usage: required
 	Value type: <u32>
-	Definition: Frequency (Hz) of the swith mode power supply;
+	Definition: Frequency (Hz) of the switch mode power supply;
 		    must be one of:
 		    19200000, 9600000, 6400000, 4800000, 3840000, 3200000,
 		    2740000, 2400000, 2130000, 1920000, 1750000, 1600000,
diff --git a/Documentation/devicetree/bindings/power/pd-samsung.txt b/Documentation/devicetree/bindings/power/pd-samsung.txt
index 4e94737..76df656b 100644
--- a/Documentation/devicetree/bindings/power/pd-samsung.txt
+++ b/Documentation/devicetree/bindings/power/pd-samsung.txt
@@ -20,7 +20,7 @@ Optional Properties:
 - clock-names: The following clocks can be specified:
 	- oscclk: Oscillator clock.
 	- clkN: Input clocks to the devices in this power domain. These clocks
-		will be reparented to oscclk before swithing power domain off.
+		will be reparented to oscclk before switching power domain off.
 		Their original parent will be brought back after turning on
 		the domain. Maximum of 4 clocks (N = 0 to 3) are supported.
 	- asbN: Clocks required by asynchronous bridges (ASB) present in
diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S
index fc6d541..9150f97 100644
--- a/arch/arm/boot/compressed/head.S
+++ b/arch/arm/boot/compressed/head.S
@@ -1196,7 +1196,7 @@ skip:
 		bgt	loop1
 finished:
 		ldmfd	sp!, {r0-r7, r9-r11}
-		mov	r10, #0			@ swith back to cache level 0
+		mov	r10, #0			@ switch back to cache level 0
 		mcr	p15, 2, r10, c0, c0, 0	@ select current cache level in cssr
 iflush:
 		mcr	p15, 0, r10, c7, c10, 4	@ DSB
diff --git a/arch/arm/mm/cache-v7.S b/arch/arm/mm/cache-v7.S
index a134d8a..de78109 100644
--- a/arch/arm/mm/cache-v7.S
+++ b/arch/arm/mm/cache-v7.S
@@ -164,7 +164,7 @@ skip:
 	cmp	r3, r10
 	bgt	flush_levels
 finished:
-	mov	r10, #0				@ swith back to cache level 0
+	mov	r10, #0				@ switch back to cache level 0
 	mcr	p15, 2, r10, c0, c0, 0		@ select current cache level in cssr
 	dsb	st
 	isb
diff --git a/arch/arm/mm/cache-v7m.S b/arch/arm/mm/cache-v7m.S
index 816a7e4..788486e8 100644
--- a/arch/arm/mm/cache-v7m.S
+++ b/arch/arm/mm/cache-v7m.S
@@ -217,7 +217,7 @@ skip:
 	cmp	r3, r10
 	bgt	flush_levels
 finished:
-	mov	r10, #0				@ swith back to cache level 0
+	mov	r10, #0				@ switch back to cache level 0
 	write_csselr r10, r3			@ select current cache level in cssr
 	dsb	st
 	isb
diff --git a/arch/sh/kernel/irq.c b/arch/sh/kernel/irq.c
index 6c0378c..5b8ddcc 100644
--- a/arch/sh/kernel/irq.c
+++ b/arch/sh/kernel/irq.c
@@ -99,7 +99,7 @@ static inline void handle_one_irq(unsigned int irq)
 			"mov	%0, r4		\n"
 			"mov	r15, r8		\n"
 			"jsr	@%1		\n"
-			/* swith to the irq stack */
+			/* switch to the irq stack */
 			" mov	%2, r15		\n"
 			/* restore the stack (ring zero) */
 			"mov	r8, r15		\n"
diff --git a/arch/sparc/include/asm/switch_to_32.h b/arch/sparc/include/asm/switch_to_32.h
index 16f1037..475dd41 100644
--- a/arch/sparc/include/asm/switch_to_32.h
+++ b/arch/sparc/include/asm/switch_to_32.h
@@ -9,7 +9,7 @@ extern struct thread_info *current_set[NR_CPUS];
  * Flush windows so that the VM switch which follows
  * would not pull the stack from under us.
  *
- * SWITCH_ENTER and SWITH_DO_LAZY_FPU do not work yet (e.g. SMP does not work)
+ * SWITCH_ENTER and SWITCH_DO_LAZY_FPU do not work yet (e.g. SMP does not work)
  * XXX WTF is the above comment? Found in late teen 2.4.x.
  */
 #ifdef CONFIG_SMP
diff --git a/drivers/gpu/drm/amd/include/atombios.h b/drivers/gpu/drm/amd/include/atombios.h
index 4a4d379..9f970b5 100644
--- a/drivers/gpu/drm/amd/include/atombios.h
+++ b/drivers/gpu/drm/amd/include/atombios.h
@@ -4361,7 +4361,7 @@ typedef struct _ATOM_GPIO_PIN_ASSIGNMENT
 // GPIO use to control PCIE_VDDC in certain SLT board
 #define PCIE_VDDC_CONTROL_GPIO_PINID        56
 
-//from SMU7.x, if ucGPIO_ID=PP_AC_DC_SWITCH_GPIO_PINID in GPIO_LUTTable, AC/DC swithing feature is enable
+//from SMU7.x, if ucGPIO_ID=PP_AC_DC_SWITCH_GPIO_PINID in GPIO_LUTTable, AC/DC switching feature is enable
 #define PP_AC_DC_SWITCH_GPIO_PINID          60
 //from SMU7.x, if ucGPIO_ID=VDDC_REGULATOR_VRHOT_GPIO_PINID in GPIO_LUTable, VRHot feature is enable
 #define VDDC_VRHOT_GPIO_PINID               61
diff --git a/drivers/gpu/drm/radeon/atombios.h b/drivers/gpu/drm/radeon/atombios.h
index ab89eed..66a2642 100644
--- a/drivers/gpu/drm/radeon/atombios.h
+++ b/drivers/gpu/drm/radeon/atombios.h
@@ -3883,7 +3883,7 @@ typedef struct _ATOM_GPIO_PIN_ASSIGNMENT
 }ATOM_GPIO_PIN_ASSIGNMENT;
 
 //ucGPIO_ID pre-define id for multiple usage
-//from SMU7.x, if ucGPIO_ID=PP_AC_DC_SWITCH_GPIO_PINID in GPIO_LUTTable, AC/DC swithing feature is enable
+//from SMU7.x, if ucGPIO_ID=PP_AC_DC_SWITCH_GPIO_PINID in GPIO_LUTTable, AC/DC switching feature is enable
 #define PP_AC_DC_SWITCH_GPIO_PINID          60
 //from SMU7.x, if ucGPIO_ID=VDDC_REGULATOR_VRHOT_GPIO_PINID in GPIO_LUTable, VRHot feature is enable
 #define VDDC_VRHOT_GPIO_PINID               61
diff --git a/drivers/isdn/mISDN/dsp_core.c b/drivers/isdn/mISDN/dsp_core.c
index 0222b1a..9b85295 100644
--- a/drivers/isdn/mISDN/dsp_core.c
+++ b/drivers/isdn/mISDN/dsp_core.c
@@ -115,7 +115,7 @@
  *
  * The CMX has special functions for conferences with one, two and more
  * members. It will allow different types of data flow. Receive and transmit
- * data to/form upper layer may be swithed on/off individually without losing
+ * data to/form upper layer may be switched on/off individually without losing
  * features of CMX, Tones and DTMF.
  *
  * Echo Cancellation: Sometimes we like to cancel echo from the interface.
diff --git a/drivers/net/usb/kalmia.c b/drivers/net/usb/kalmia.c
index 3e37724..8aefb28 100644
--- a/drivers/net/usb/kalmia.c
+++ b/drivers/net/usb/kalmia.c
@@ -343,7 +343,7 @@ static const struct driver_info kalmia_info = {
 static const struct usb_device_id products[] = {
 	/* The unswitched USB ID, to get the module auto loaded: */
 	{ USB_DEVICE(0x04e8, 0x689a) },
-	/* The stick swithed into modem (by e.g. usb_modeswitch): */
+	/* The stick switched into modem (by e.g. usb_modeswitch): */
 	{ USB_DEVICE(0x04e8, 0x6889),
 		.driver_info = (unsigned long) &kalmia_info, },
 	{ /* EMPTY == end of list */} };
diff --git a/drivers/net/wireless/marvell/mwifiex/wmm.c b/drivers/net/wireless/marvell/mwifiex/wmm.c
index 28c2f6f..e4ff3b9 100644
--- a/drivers/net/wireless/marvell/mwifiex/wmm.c
+++ b/drivers/net/wireless/marvell/mwifiex/wmm.c
@@ -673,8 +673,8 @@ void mwifiex_update_ralist_tx_pause(struct mwifiex_private *priv, u8 *mac,
 	spin_unlock_irqrestore(&priv->wmm.ra_list_spinlock, flags);
 }
 
-/* This function update non-tdls peer ralist tx_pause while
- * tdls channel swithing
+/* This function updates non-tdls peer ralist tx_pause while
+ * tdls channel switching
  */
 void mwifiex_update_ralist_tx_pause_in_tdls_cs(struct mwifiex_private *priv,
 					       u8 *mac, u8 tx_pause)
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c
index 42120d9..ea13e75 100644
--- a/net/mac80211/mesh.c
+++ b/net/mac80211/mesh.c
@@ -685,7 +685,7 @@ ieee80211_mesh_build_beacon(struct ieee80211_if_mesh *ifmsh)
 		   2 + /* NULL SSID */
 		   /* Channel Switch Announcement */
 		   2 + sizeof(struct ieee80211_channel_sw_ie) +
-		   /* Mesh Channel Swith Parameters */
+		   /* Mesh Channel Switch Parameters */
 		   2 + sizeof(struct ieee80211_mesh_chansw_params_ie) +
 		   2 + 8 + /* supported rates */
 		   2 + 3; /* DS params */
diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl
index faac4b1..0b6002b 100755
--- a/scripts/recordmcount.pl
+++ b/scripts/recordmcount.pl
@@ -318,7 +318,7 @@ if ($arch eq "x86_64") {
     # instruction or the addiu one. herein, we record the address of the
     # first one, and then we can replace this instruction by a branch
     # instruction to jump over the profiling function to filter the
-    # indicated functions, or swith back to the lui instruction to trace
+    # indicated functions, or switch back to the lui instruction to trace
     # them, which means dynamic tracing.
     #
     #       c:	3c030000 	lui	v1,0x0
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 163c720..85e9efc 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -963,6 +963,10 @@ susbsystem||subsystem
 suspicously||suspiciously
 swaping||swapping
 switchs||switches
+swith||switch
+swithable||switchable
+swithed||switched
+swithing||switching
 symetric||symmetric
 synax||syntax
 synchonized||synchronized
diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c
index f4234ed..8cf0dc7 100644
--- a/sound/pci/ac97/ac97_patch.c
+++ b/sound/pci/ac97/ac97_patch.c
@@ -3093,7 +3093,7 @@ static int patch_cm9739(struct snd_ac97 * ac97)
 	/* set-up multi channel */
 	/* bit 14: 0 = SPDIF, 1 = EAPD */
 	/* bit 13: enable internal vref output for mic */
-	/* bit 12: disable center/lfe (swithable) */
+	/* bit 12: disable center/lfe (switchable) */
 	/* bit 10: disable surround/line (switchable) */
 	/* bit 9: mix 2 surround off */
 	/* bit 4: undocumented; 0 mutes the CM9739A, which defaults to 1 */
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 02/31] scripts/spelling.txt: add "swithc" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 01/31] scripts/spelling.txt: add "swith" pattern and fix typo instances Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 03/31] scripts/spelling.txt: add "an user" " Masahiro Yamada
                   ` (30 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  swithc||switch
  swithced||switched
  swithcing||switching

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/extcon/extcon-rt8973a.c                        | 2 +-
 drivers/media/i2c/adv7183_regs.h                       | 2 +-
 drivers/staging/rtl8192u/ieee80211/ieee80211.h         | 4 ++--
 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 2 +-
 scripts/spelling.txt                                   | 3 +++
 5 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/drivers/extcon/extcon-rt8973a.c b/drivers/extcon/extcon-rt8973a.c
index 3e882aa..eaa355e 100644
--- a/drivers/extcon/extcon-rt8973a.c
+++ b/drivers/extcon/extcon-rt8973a.c
@@ -537,7 +537,7 @@ static void rt8973a_init_dev_type(struct rt8973a_muic_info *info)
 		regmap_update_bits(info->regmap, reg, mask, val);
 	}
 
-	/* Check whether RT8973A is auto swithcing mode or not */
+	/* Check whether RT8973A is auto switching mode or not */
 	ret = regmap_read(info->regmap, RT8973A_REG_CONTROL1, &data);
 	if (ret) {
 		dev_err(info->dev,
diff --git a/drivers/media/i2c/adv7183_regs.h b/drivers/media/i2c/adv7183_regs.h
index b253d40..abe8599 100644
--- a/drivers/media/i2c/adv7183_regs.h
+++ b/drivers/media/i2c/adv7183_regs.h
@@ -87,7 +87,7 @@
 #define ADV7183_LETTERBOX_3        0x9D /* Letterbox 3 */
 #define ADV7183_CRC_EN             0xB2 /* CRC enable */
 #define ADV7183_ADC_SWITCH_1       0xC3 /* ADC switch 1 */
-#define ADV7183_ADC_SWITCH_2       0xC4 /* ADC swithc 2 */
+#define ADV7183_ADC_SWITCH_2       0xC4 /* ADC switch 2 */
 #define ADV7183_LETTERBOX_CTRL_1   0xDC /* Letterbox control 1 */
 #define ADV7183_LETTERBOX_CTRL_2   0xDD /* Letterbox control 2 */
 #define ADV7183_SD_OFFSET_CB       0xE1 /* SD offset Cb */
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211.h b/drivers/staging/rtl8192u/ieee80211/ieee80211.h
index 077ea13..17e985a 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211.h
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211.h
@@ -1943,7 +1943,7 @@ struct ieee80211_device {
 
 	/* ask to the driver to retune the radio .
 	 * This function can sleep. the driver should ensure
-	 * the radio has been swithced before return.
+	 * the radio has been switched before return.
 	 */
 	void (*set_chan)(struct net_device *dev, short ch);
 
@@ -1954,7 +1954,7 @@ struct ieee80211_device {
 	 * The syncro version is similar to the start_scan but
 	 * does not return until all channels has been scanned.
 	 * this is called in user context and should sleep,
-	 * it is called in a work_queue when swithcing to ad-hoc mode
+	 * it is called in a work_queue when switching to ad-hoc mode
 	 * or in behalf of iwlist scan when the card is associated
 	 * and root user ask for a scan.
 	 * the function stop_scan should stop both the syncro and
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
index d7d85b3..3781c10 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
@@ -2359,7 +2359,7 @@ static void ieee80211_start_ibss_wq(struct work_struct *work)
 //	if((IS_DOT11D_ENABLE(ieee)) && (ieee->state == IEEE80211_NOLINK))
 	if (ieee->state == IEEE80211_NOLINK)
 		ieee->current_network.channel = 6;
-	/* if not then the state is not linked. Maybe the user swithced to
+	/* if not then the state is not linked. Maybe the user switched to
 	 * ad-hoc mode just after being in monitor mode, or just after
 	 * being very few time in managed mode (so the card have had no
 	 * time to scan all the chans..) or we have just run up the iface
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 85e9efc..72aaf3d 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -965,6 +965,9 @@ swaping||swapping
 switchs||switches
 swith||switch
 swithable||switchable
+swithc||switch
+swithced||switched
+swithcing||switching
 swithed||switched
 swithing||switching
 symetric||symmetric
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 03/31] scripts/spelling.txt: add "an user" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 01/31] scripts/spelling.txt: add "swith" pattern and fix typo instances Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 02/31] scripts/spelling.txt: add "swithc" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 04/31] scripts/spelling.txt: add "an union" " Masahiro Yamada
                   ` (29 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  an user||a user
  an userspace||a userspace

I also added "userspace" to the list since it is a common word in
Linux.  I found some instances for "an userfaultfd", but I did not
add it to the list.  I felt it is endless to find words that start
with "user" such as "userland" etc., so must draw a line somewhere.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 Documentation/admin-guide/ras.rst             | 2 +-
 Documentation/devicetree/bindings/opp/opp.txt | 2 +-
 Documentation/filesystems/quota.txt           | 2 +-
 Documentation/kselftest.txt                   | 4 ++--
 Documentation/media/dvb-drivers/ci.rst        | 2 +-
 Documentation/networking/cdc_mbim.txt         | 4 ++--
 Documentation/vm/userfaultfd.txt              | 2 +-
 arch/Kconfig                                  | 2 +-
 arch/powerpc/xmon/ppc-opc.c                   | 2 +-
 arch/x86/kvm/mmu.c                            | 2 +-
 drivers/media/dvb-core/dvb_ringbuffer.h       | 4 ++--
 drivers/scsi/lpfc/lpfc_attr.c                 | 2 +-
 fs/userfaultfd.c                              | 6 +++---
 include/net/mac80211.h                        | 2 +-
 kernel/irq/manage.c                           | 2 +-
 net/bluetooth/hci_sock.c                      | 6 +++---
 net/netfilter/nfnetlink_cthelper.c            | 2 +-
 scripts/spelling.txt                          | 2 ++
 tools/perf/Documentation/tips.txt             | 2 +-
 19 files changed, 27 insertions(+), 25 deletions(-)

diff --git a/Documentation/admin-guide/ras.rst b/Documentation/admin-guide/ras.rst
index d71340e8..4fc255f 100644
--- a/Documentation/admin-guide/ras.rst
+++ b/Documentation/admin-guide/ras.rst
@@ -81,7 +81,7 @@ That defines some categories of errors:
   still run, eventually replacing the affected hardware by a hot spare,
   if available.
 
-  Also, when an error happens on an userspace process, it is also possible to
+  Also, when an error happens on a userspace process, it is also possible to
   kill such process and let userspace restart it.
 
 The mechanism for handling non-fatal errors is usually complex and may
diff --git a/Documentation/devicetree/bindings/opp/opp.txt b/Documentation/devicetree/bindings/opp/opp.txt
index 9f5ca44..ecdcfb7 100644
--- a/Documentation/devicetree/bindings/opp/opp.txt
+++ b/Documentation/devicetree/bindings/opp/opp.txt
@@ -136,7 +136,7 @@ Optional properties:
   larger OPP table, based on what version of the hardware we are running on. We
   still can't have multiple nodes with the same opp-hz value in OPP table.
 
-  It's an user defined array containing a hierarchy of hardware version numbers,
+  It's a user defined array containing a hierarchy of hardware version numbers,
   supported by the OPP. For example: a platform with hierarchy of three levels
   of versions (A, B and C), this field should be like <X Y Z>, where X
   corresponds to Version hierarchy A, Y corresponds to version hierarchy B and Z
diff --git a/Documentation/filesystems/quota.txt b/Documentation/filesystems/quota.txt
index 29fc015..32874b0 100644
--- a/Documentation/filesystems/quota.txt
+++ b/Documentation/filesystems/quota.txt
@@ -6,7 +6,7 @@ Quota subsystem allows system administrator to set limits on used space and
 number of used inodes (inode is a filesystem structure which is associated with
 each file or directory) for users and/or groups. For both used space and number
 of used inodes there are actually two limits. The first one is called softlimit
-and the second one hardlimit.  An user can never exceed a hardlimit for any
+and the second one hardlimit.  A user can never exceed a hardlimit for any
 resource (unless he has CAP_SYS_RESOURCE capability). User is allowed to exceed
 softlimit but only for limited period of time. This period is called "grace
 period" or "grace time". When grace time is over, user is not able to allocate
diff --git a/Documentation/kselftest.txt b/Documentation/kselftest.txt
index e5c7254..8b22ee5 100644
--- a/Documentation/kselftest.txt
+++ b/Documentation/kselftest.txt
@@ -59,14 +59,14 @@ Install selftests
 =================
 
 You can use kselftest_install.sh tool installs selftests in default
-location which is tools/testing/selftests/kselftest or an user specified
+location which is tools/testing/selftests/kselftest or a user specified
 location.
 
 To install selftests in default location:
    $ cd tools/testing/selftests
    $ ./kselftest_install.sh
 
-To install selftests in an user specified location:
+To install selftests in a user specified location:
    $ cd tools/testing/selftests
    $ ./kselftest_install.sh install_dir
 
diff --git a/Documentation/media/dvb-drivers/ci.rst b/Documentation/media/dvb-drivers/ci.rst
index 8124bf5..69b07e9 100644
--- a/Documentation/media/dvb-drivers/ci.rst
+++ b/Documentation/media/dvb-drivers/ci.rst
@@ -20,7 +20,7 @@ existing low level CI API.
 ca_zap
 ~~~~~~
 
-An userspace application, like ``ca_zap`` is required to handle encrypted
+A userspace application, like ``ca_zap`` is required to handle encrypted
 MPEG-TS streams.
 
 The ``ca_zap`` userland application is in charge of sending the
diff --git a/Documentation/networking/cdc_mbim.txt b/Documentation/networking/cdc_mbim.txt
index a15ea60..b9482ca 100644
--- a/Documentation/networking/cdc_mbim.txt
+++ b/Documentation/networking/cdc_mbim.txt
@@ -38,7 +38,7 @@ Basic usage
 ===========
 
 MBIM functions are inactive when unmanaged. The cdc_mbim driver only
-provides an userspace interface to the MBIM control channel, and will
+provides a userspace interface to the MBIM control channel, and will
 not participate in the management of the function. This implies that a
 userspace MBIM management application always is required to enable a
 MBIM function.
@@ -200,7 +200,7 @@ structure described in section 10.5.29 of [1].
 The DSS VLAN subdevices are used as a practical interface between the
 shared MBIM data channel and a MBIM DSS aware userspace application.
 It is not intended to be presented as-is to an end user. The
-assumption is that an userspace application initiating a DSS session
+assumption is that a userspace application initiating a DSS session
 also takes care of the necessary framing of the DSS data, presenting
 the stream to the end user in an appropriate way for the stream type.
 
diff --git a/Documentation/vm/userfaultfd.txt b/Documentation/vm/userfaultfd.txt
index 70a3c94..5a86192 100644
--- a/Documentation/vm/userfaultfd.txt
+++ b/Documentation/vm/userfaultfd.txt
@@ -129,7 +129,7 @@ migration thread in the QEMU running in the destination node will
 receive the page that triggered the userfault and it'll map it as
 usual with the UFFDIO_COPY|ZEROPAGE (without actually knowing if it
 was spontaneously sent by the source or if it was an urgent page
-requested through an userfault).
+requested through a userfault).
 
 By the time the userfaults start, the QEMU in the destination node
 doesn't need to keep any per-page state bitmap relative to the live
diff --git a/arch/Kconfig b/arch/Kconfig
index 13f27c1..7994a9d 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -29,7 +29,7 @@ config OPROFILE_EVENT_MULTIPLEX
 	  The number of hardware counters is limited. The multiplexing
 	  feature enables OProfile to gather more events than counters
 	  are provided by the hardware. This is realized by switching
-	  between events at an user specified time interval.
+	  between events at a user specified time interval.
 
 	  If unsure, say N.
 
diff --git a/arch/powerpc/xmon/ppc-opc.c b/arch/powerpc/xmon/ppc-opc.c
index 6845e91..954dbf8 100644
--- a/arch/powerpc/xmon/ppc-opc.c
+++ b/arch/powerpc/xmon/ppc-opc.c
@@ -1587,7 +1587,7 @@ extract_tbr (unsigned long insn,
 #define CTX(op, xop)   (OP (op) | (((unsigned long)(xop)) & 0x7))
 #define CTX_MASK CTX(0x3f, 0x7)
 
-/* An User Context form instruction.  */
+/* A User Context form instruction.  */
 #define UCTX(op, xop)  (OP (op) | (((unsigned long)(xop)) & 0x1f))
 #define UCTX_MASK UCTX(0x3f, 0x1f)
 
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 7012de4..e2fbdfe 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -3901,7 +3901,7 @@ static void update_permission_bitmask(struct kvm_vcpu *vcpu,
 				 * as a SMAP violation if all of the following
 				 * conditions are ture:
 				 *   - X86_CR4_SMAP is set in CR4
-				 *   - An user page is accessed
+				 *   - A user page is accessed
 				 *   - Page fault in kernel mode
 				 *   - if CPL = 3 or X86_EFLAGS_AC is clear
 				 *
diff --git a/drivers/media/dvb-core/dvb_ringbuffer.h b/drivers/media/dvb-core/dvb_ringbuffer.h
index bbe9487..8ed6bcc 100644
--- a/drivers/media/dvb-core/dvb_ringbuffer.h
+++ b/drivers/media/dvb-core/dvb_ringbuffer.h
@@ -136,7 +136,7 @@ extern void dvb_ringbuffer_flush_spinlock_wakeup(struct dvb_ringbuffer *rbuf);
 }
 
 /**
- * dvb_ringbuffer_read_user - Reads a buffer into an user pointer
+ * dvb_ringbuffer_read_user - Reads a buffer into a user pointer
  *
  * @rbuf: pointer to struct dvb_ringbuffer
  * @buf: pointer to the buffer where the data will be stored
@@ -193,7 +193,7 @@ extern ssize_t dvb_ringbuffer_write(struct dvb_ringbuffer *rbuf, const u8 *buf,
 				    size_t len);
 
 /**
- * dvb_ringbuffer_write_user - Writes a buffer received via an user pointer
+ * dvb_ringbuffer_write_user - Writes a buffer received via a user pointer
  *
  * @rbuf: pointer to struct dvb_ringbuffer
  * @buf: pointer to the buffer where the data will be read
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
index c847755..6452317 100644
--- a/drivers/scsi/lpfc/lpfc_attr.c
+++ b/drivers/scsi/lpfc/lpfc_attr.c
@@ -3315,7 +3315,7 @@ static DEVICE_ATTR(lpfc_static_vport, S_IRUGO,
  * @buf: Data buffer.
  * @count: Size of the data buffer.
  *
- * This function get called when an user write to the lpfc_stat_data_ctrl
+ * This function get called when a user write to the lpfc_stat_data_ctrl
  * sysfs file. This function parse the command written to the sysfs file
  * and take appropriate action. These commands are used for controlling
  * driver statistical data collection.
diff --git a/fs/userfaultfd.c b/fs/userfaultfd.c
index d96e2f3..9003258 100644
--- a/fs/userfaultfd.c
+++ b/fs/userfaultfd.c
@@ -1267,17 +1267,17 @@ static void init_once_userfaultfd_ctx(void *mem)
 }
 
 /**
- * userfaultfd_file_create - Creates an userfaultfd file pointer.
+ * userfaultfd_file_create - Creates a userfaultfd file pointer.
  * @flags: Flags for the userfaultfd file.
  *
- * This function creates an userfaultfd file pointer, w/out installing
+ * This function creates a userfaultfd file pointer, w/out installing
  * it into the fd table. This is useful when the userfaultfd file is
  * used during the initialization of data structures that require
  * extra setup after the userfaultfd creation. So the userfaultfd
  * creation is split into the file pointer creation phase, and the
  * file descriptor installation phase.  In this way races with
  * userspace closing the newly installed file descriptor can be
- * avoided.  Returns an userfaultfd file pointer, or a proper error
+ * avoided.  Returns a userfaultfd file pointer, or a proper error
  * pointer.
  */
 static struct file *userfaultfd_file_create(int flags)
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 5345d35..ebbbb1f 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -3403,7 +3403,7 @@ enum ieee80211_reconfig_type {
  *	since there won't be any time to beacon before the switch anyway.
  * @pre_channel_switch: This is an optional callback that is called
  *	before a channel switch procedure is started (ie. when a STA
- *	gets a CSA or an userspace initiated channel-switch), allowing
+ *	gets a CSA or a userspace initiated channel-switch), allowing
  *	the driver to prepare for the channel switch.
  * @post_channel_switch: This is an optional callback that is called
  *	after a channel switch procedure is completed, allowing the
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 6b66959..944d068 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -353,7 +353,7 @@ static int setup_affinity(struct irq_desc *desc, struct cpumask *mask)
 		return 0;
 
 	/*
-	 * Preserve the managed affinity setting and an userspace affinity
+	 * Preserve the managed affinity setting and a userspace affinity
 	 * setup, but make sure that one of the targets is online.
 	 */
 	if (irqd_affinity_is_managed(&desc->irq_data) ||
diff --git a/net/bluetooth/hci_sock.c b/net/bluetooth/hci_sock.c
index 48f9471..f64d656 100644
--- a/net/bluetooth/hci_sock.c
+++ b/net/bluetooth/hci_sock.c
@@ -851,7 +851,7 @@ static int hci_sock_release(struct socket *sock)
 
 	if (hdev) {
 		if (hci_pi(sk)->channel == HCI_CHANNEL_USER) {
-			/* When releasing an user channel exclusive access,
+			/* When releasing a user channel exclusive access,
 			 * call hci_dev_do_close directly instead of calling
 			 * hci_dev_close to ensure the exclusive access will
 			 * be released and the controller brought back down.
@@ -1172,7 +1172,7 @@ static int hci_sock_bind(struct socket *sock, struct sockaddr *addr,
 				/* In case the transport is already up and
 				 * running, clear the error here.
 				 *
-				 * This can happen when opening an user
+				 * This can happen when opening a user
 				 * channel and HCI_AUTO_OFF grace period
 				 * is still active.
 				 */
@@ -1190,7 +1190,7 @@ static int hci_sock_bind(struct socket *sock, struct sockaddr *addr,
 		if (!hci_sock_gen_cookie(sk)) {
 			/* In the case when a cookie has already been assigned,
 			 * this socket will transition from a raw socket into
-			 * an user channel socket. For a clean transition, send
+			 * a user channel socket. For a clean transition, send
 			 * the close notification first.
 			 */
 			skb = create_monitor_ctrl_close(sk);
diff --git a/net/netfilter/nfnetlink_cthelper.c b/net/netfilter/nfnetlink_cthelper.c
index 3b79f34..de87823 100644
--- a/net/netfilter/nfnetlink_cthelper.c
+++ b/net/netfilter/nfnetlink_cthelper.c
@@ -48,7 +48,7 @@ nfnl_userspace_cthelper(struct sk_buff *skb, unsigned int protoff,
 	if (helper == NULL)
 		return NF_DROP;
 
-	/* This is an user-space helper not yet configured, skip. */
+	/* This is a user-space helper not yet configured, skip. */
 	if ((helper->flags &
 	    (NF_CT_HELPER_F_USERSPACE | NF_CT_HELPER_F_CONFIGURED)) ==
 	     NF_CT_HELPER_F_USERSPACE)
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 72aaf3d..48fd639 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -84,6 +84,8 @@ alue||value
 ambigious||ambiguous
 amoung||among
 amout||amount
+an user||a user
+an userspace||a userspace
 analysator||analyzer
 ang||and
 anniversery||anniversary
diff --git a/tools/perf/Documentation/tips.txt b/tools/perf/Documentation/tips.txt
index 8a6479c..170b028 100644
--- a/tools/perf/Documentation/tips.txt
+++ b/tools/perf/Documentation/tips.txt
@@ -22,7 +22,7 @@ If you have debuginfo enabled, try: perf report -s sym,srcline
 For memory address profiling, try: perf mem record / perf mem report
 For tracepoint events, try: perf report -s trace_fields
 To record callchains for each sample: perf record -g
-To record every process run by an user: perf record -u <user>
+To record every process run by a user: perf record -u <user>
 Skip collecing build-id when recording: perf record -B
 To change sampling frequency to 100 Hz: perf record -F 100
 See assembly instructions with percentage: perf annotate <symbol>
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 04/31] scripts/spelling.txt: add "an union" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (2 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 03/31] scripts/spelling.txt: add "an user" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 05/31] scripts/spelling.txt: add "an one" " Masahiro Yamada
                   ` (28 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  an union||a union

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 Documentation/media/uapi/dvb/dvb-frontend-parameters.rst  | 4 ++--
 arch/x86/include/asm/desc_defs.h                          | 2 +-
 drivers/acpi/acpica/dbconvert.c                           | 2 +-
 drivers/acpi/acpica/nspredef.c                            | 2 +-
 drivers/acpi/acpica/nsxfeval.c                            | 4 ++--
 drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 2 +-
 include/linux/dcache.h                                    | 4 ++--
 include/media/v4l2-ctrls.h                                | 4 ++--
 include/xen/interface/grant_table.h                       | 2 +-
 scripts/spelling.txt                                      | 1 +
 sound/pci/ice1712/wm8766.c                                | 2 +-
 sound/pci/ice1712/wm8776.c                                | 2 +-
 tools/perf/util/probe-finder.c                            | 4 ++--
 tools/perf/util/sort.h                                    | 2 +-
 14 files changed, 19 insertions(+), 18 deletions(-)

diff --git a/Documentation/media/uapi/dvb/dvb-frontend-parameters.rst b/Documentation/media/uapi/dvb/dvb-frontend-parameters.rst
index bf31411..899fd5c 100644
--- a/Documentation/media/uapi/dvb/dvb-frontend-parameters.rst
+++ b/Documentation/media/uapi/dvb/dvb-frontend-parameters.rst
@@ -9,7 +9,7 @@ frontend parameters
 The kind of parameters passed to the frontend device for tuning depend
 on the kind of hardware you are using.
 
-The struct ``dvb_frontend_parameters`` uses an union with specific
+The struct ``dvb_frontend_parameters`` uses a union with specific
 per-system parameters. However, as newer delivery systems required more
 data, the structure size weren't enough to fit, and just extending its
 size would break the existing applications. So, those parameters were
@@ -23,7 +23,7 @@ So, newer applications should use
 instead, in order to be able to support the newer System Delivery like
 DVB-S2, DVB-T2, DVB-C2, ISDB, etc.
 
-All kinds of parameters are combined as an union in the
+All kinds of parameters are combined as a union in the
 FrontendParameters structure:
 
 
diff --git a/arch/x86/include/asm/desc_defs.h b/arch/x86/include/asm/desc_defs.h
index eb5deb4..4926534 100644
--- a/arch/x86/include/asm/desc_defs.h
+++ b/arch/x86/include/asm/desc_defs.h
@@ -15,7 +15,7 @@
  * FIXME: Accessing the desc_struct through its fields is more elegant,
  * and should be the one valid thing to do. However, a lot of open code
  * still touches the a and b accessors, and doing this allow us to do it
- * incrementally. We keep the signature as a struct, rather than an union,
+ * incrementally. We keep the signature as a struct, rather than a union,
  * so we can get rid of it transparently in the future -- glommer
  */
 /* 8 byte segment descriptor */
diff --git a/drivers/acpi/acpica/dbconvert.c b/drivers/acpi/acpica/dbconvert.c
index 147ce88..1bdecbb 100644
--- a/drivers/acpi/acpica/dbconvert.c
+++ b/drivers/acpi/acpica/dbconvert.c
@@ -242,7 +242,7 @@ acpi_status acpi_db_convert_to_package(char *string, union acpi_object *object)
  *
  * RETURN:      Status
  *
- * DESCRIPTION: Convert a typed and tokenized string to an union acpi_object. Typing:
+ * DESCRIPTION: Convert a typed and tokenized string to a union acpi_object. Typing:
  *              1) String objects were surrounded by quotes.
  *              2) Buffer objects were surrounded by parentheses.
  *              3) Package objects were surrounded by brackets "[]".
diff --git a/drivers/acpi/acpica/nspredef.c b/drivers/acpi/acpica/nspredef.c
index 6d78445..3131ed5 100644
--- a/drivers/acpi/acpica/nspredef.c
+++ b/drivers/acpi/acpica/nspredef.c
@@ -323,7 +323,7 @@ acpi_ns_check_reference(struct acpi_evaluate_info *info,
 
 	/*
 	 * Check the reference object for the correct reference type (opcode).
-	 * The only type of reference that can be converted to an union acpi_object is
+	 * The only type of reference that can be converted to a union acpi_object is
 	 * a reference to a named object (reference class: NAME)
 	 */
 	if (return_object->reference.class == ACPI_REFCLASS_NAME) {
diff --git a/drivers/acpi/acpica/nsxfeval.c b/drivers/acpi/acpica/nsxfeval.c
index d2a9b4f..ec44d2c 100644
--- a/drivers/acpi/acpica/nsxfeval.c
+++ b/drivers/acpi/acpica/nsxfeval.c
@@ -495,9 +495,9 @@ static void acpi_ns_resolve_references(struct acpi_evaluate_info *info)
 	/*
 	 * Two types of references are supported - those created by Index and
 	 * ref_of operators. A name reference (AML_NAMEPATH_OP) can be converted
-	 * to an union acpi_object, so it is not dereferenced here. A ddb_handle
+	 * to a union acpi_object, so it is not dereferenced here. A ddb_handle
 	 * (AML_LOAD_OP) cannot be dereferenced, nor can it be converted to
-	 * an union acpi_object.
+	 * a union acpi_object.
 	 */
 	switch (info->return_object->reference.class) {
 	case ACPI_REFCLASS_INDEX:
diff --git a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
index 65ce503..d9b8f8c 100644
--- a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
+++ b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
@@ -1704,7 +1704,7 @@ struct ost_lvb {
  *   lquota data structures
  */
 
-/* The lquota_id structure is an union of all the possible identifier types that
+/* The lquota_id structure is a union of all the possible identifier types that
  * can be used with quota, this includes:
  * - 64-bit user ID
  * - 64-bit group ID
diff --git a/include/linux/dcache.h b/include/linux/dcache.h
index c965e44..591b6c1 100644
--- a/include/linux/dcache.h
+++ b/include/linux/dcache.h
@@ -562,7 +562,7 @@ static inline struct dentry *d_backing_dentry(struct dentry *upper)
  * @inode: inode to select the dentry from multiple layers (can be NULL)
  * @flags: open flags to control copy-up behavior
  *
- * If dentry is on an union/overlay, then return the underlying, real dentry.
+ * If dentry is on a union/overlay, then return the underlying, real dentry.
  * Otherwise return the dentry itself.
  *
  * See also: Documentation/filesystems/vfs.txt
@@ -581,7 +581,7 @@ static inline struct dentry *d_real(struct dentry *dentry,
  * d_real_inode - Return the real inode
  * @dentry: The dentry to query
  *
- * If dentry is on an union/overlay, then return the underlying, real inode.
+ * If dentry is on a union/overlay, then return the underlying, real inode.
  * Otherwise return d_inode().
  */
 static inline struct inode *d_real_inode(const struct dentry *dentry)
diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h
index e1006b3..bee1404 100644
--- a/include/media/v4l2-ctrls.h
+++ b/include/media/v4l2-ctrls.h
@@ -174,10 +174,10 @@ typedef void (*v4l2_ctrl_notify_fnc)(struct v4l2_ctrl *ctrl, void *priv);
  *		not freed when the control is deleted. Should this be needed
  *		then a new internal bitfield can be added to tell the framework
  *		to free this pointer.
- * @p_cur:	The control's current value represented via an union with
+ * @p_cur:	The control's current value represented via a union with
  *		provides a standard way of accessing control types
  *		through a pointer.
- * @p_new:	The control's new value represented via an union with provides
+ * @p_new:	The control's new value represented via a union with provides
  *		a standard way of accessing control types
  *		through a pointer.
  */
diff --git a/include/xen/interface/grant_table.h b/include/xen/interface/grant_table.h
index 56806bc..7fb7112 100644
--- a/include/xen/interface/grant_table.h
+++ b/include/xen/interface/grant_table.h
@@ -181,7 +181,7 @@ struct grant_entry_header {
 };
 
 /*
- * Version 2 of the grant entry structure, here is an union because three
+ * Version 2 of the grant entry structure, here is a union because three
  * different types are suppotted: full_page, sub_page and transitive.
  */
 union grant_entry_v2 {
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 48fd639..fa11e37b 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -84,6 +84,7 @@ alue||value
 ambigious||ambiguous
 amoung||among
 amout||amount
+an union||a union
 an user||a user
 an userspace||a userspace
 analysator||analyzer
diff --git a/sound/pci/ice1712/wm8766.c b/sound/pci/ice1712/wm8766.c
index f7ac8d5..27c03e4 100644
--- a/sound/pci/ice1712/wm8766.c
+++ b/sound/pci/ice1712/wm8766.c
@@ -254,7 +254,7 @@ static int snd_wm8766_ctl_put(struct snd_kcontrol *kcontrol,
 	int n = kcontrol->private_value;
 	u16 val, regval1, regval2;
 
-	/* this also works for enum because value is an union */
+	/* this also works for enum because value is a union */
 	regval1 = ucontrol->value.integer.value[0];
 	regval2 = ucontrol->value.integer.value[1];
 	if (wm->ctl[n].flags & WM8766_FLAG_INVERT) {
diff --git a/sound/pci/ice1712/wm8776.c b/sound/pci/ice1712/wm8776.c
index ebd2fe4..553669b 100644
--- a/sound/pci/ice1712/wm8776.c
+++ b/sound/pci/ice1712/wm8776.c
@@ -528,7 +528,7 @@ static int snd_wm8776_ctl_put(struct snd_kcontrol *kcontrol,
 	int n = kcontrol->private_value;
 	u16 val, regval1, regval2;
 
-	/* this also works for enum because value is an union */
+	/* this also works for enum because value is a union */
 	regval1 = ucontrol->value.integer.value[0];
 	regval2 = ucontrol->value.integer.value[1];
 	if (wm->ctl[n].flags & WM8776_FLAG_INVERT) {
diff --git a/tools/perf/util/probe-finder.c b/tools/perf/util/probe-finder.c
index df4debe..5c4f8fd 100644
--- a/tools/perf/util/probe-finder.c
+++ b/tools/perf/util/probe-finder.c
@@ -464,7 +464,7 @@ static int convert_variable_fields(Dwarf_Die *vr_die, const char *varname,
 		/* Verify it is a data structure  */
 		tag = dwarf_tag(&type);
 		if (tag != DW_TAG_structure_type && tag != DW_TAG_union_type) {
-			pr_warning("%s is not a data structure nor an union.\n",
+			pr_warning("%s is not a data structure nor a union.\n",
 				   varname);
 			return -EINVAL;
 		}
@@ -479,7 +479,7 @@ static int convert_variable_fields(Dwarf_Die *vr_die, const char *varname,
 	} else {
 		/* Verify it is a data structure  */
 		if (tag != DW_TAG_structure_type && tag != DW_TAG_union_type) {
-			pr_warning("%s is not a data structure nor an union.\n",
+			pr_warning("%s is not a data structure nor a union.\n",
 				   varname);
 			return -EINVAL;
 		}
diff --git a/tools/perf/util/sort.h b/tools/perf/util/sort.h
index 7aff317..796c847 100644
--- a/tools/perf/util/sort.h
+++ b/tools/perf/util/sort.h
@@ -108,7 +108,7 @@ struct hist_entry {
 		/*
 		 * Since perf diff only supports the stdio output, TUI
 		 * fields are only accessed from perf report (or perf
-		 * top).  So make it an union to reduce memory usage.
+		 * top).  So make it a union to reduce memory usage.
 		 */
 		struct hist_entry_diff	diff;
 		struct /* for TUI */ {
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 05/31] scripts/spelling.txt: add "an one" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (3 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 04/31] scripts/spelling.txt: add "an union" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 06/31] scripts/spelling.txt: add "partiton" " Masahiro Yamada
                   ` (27 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

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.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 arch/s390/kernel/vtime.c             | 2 +-
 drivers/net/ethernet/sfc/mcdi_pcol.h | 2 +-
 drivers/usb/core/devio.c             | 2 +-
 scripts/spelling.txt                 | 1 +
 tools/perf/util/dso.c                | 2 +-
 5 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/arch/s390/kernel/vtime.c b/arch/s390/kernel/vtime.c
index 6b246aa..8bf370c 100644
--- a/arch/s390/kernel/vtime.c
+++ b/arch/s390/kernel/vtime.c
@@ -310,7 +310,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)
 {
diff --git a/drivers/net/ethernet/sfc/mcdi_pcol.h b/drivers/net/ethernet/sfc/mcdi_pcol.h
index 35cc3d4..573f9de 100644
--- a/drivers/net/ethernet/sfc/mcdi_pcol.h
+++ b/drivers/net/ethernet/sfc/mcdi_pcol.h
@@ -10832,7 +10832,7 @@
 
 /***********************************/
 /* 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)
  */
diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c
index 4016dae..0f487f3 100644
--- a/drivers/usb/core/devio.c
+++ b/drivers/usb/core/devio.c
@@ -2346,7 +2346,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.
 	 */
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index fa11e37b..dddcac9 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -87,6 +87,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
diff --git a/tools/perf/util/dso.c b/tools/perf/util/dso.c
index d2c6cdd..163ef31 100644
--- a/tools/perf/util/dso.c
+++ b/tools/perf/util/dso.c
@@ -925,7 +925,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))
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 06/31] scripts/spelling.txt: add "partiton" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (4 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 05/31] scripts/spelling.txt: add "an one" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 07/31] scripts/spelling.txt: add "aligment" " Masahiro Yamada
                   ` (26 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  partiton||partition

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 arch/arm/include/asm/mach/flash.h                   | 2 +-
 arch/ia64/sn/kernel/sn2/sn_hwperf.c                 | 2 +-
 arch/powerpc/boot/dts/fsl/mpc8569mds.dts            | 2 +-
 arch/powerpc/include/asm/book3s/64/mmu.h            | 2 +-
 arch/powerpc/include/asm/fsl_hcalls.h               | 2 +-
 arch/powerpc/platforms/pseries/iommu.c              | 2 +-
 arch/sparc/kernel/visemul.c                         | 2 +-
 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c | 2 +-
 drivers/watchdog/bcm2835_wdt.c                      | 6 +++---
 include/linux/mtd/qinfo.h                           | 2 +-
 include/linux/spi/flash.h                           | 2 +-
 scripts/spelling.txt                                | 1 +
 12 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/arch/arm/include/asm/mach/flash.h b/arch/arm/include/asm/mach/flash.h
index 4ca69fe..bada3f8 100644
--- a/arch/arm/include/asm/mach/flash.h
+++ b/arch/arm/include/asm/mach/flash.h
@@ -22,7 +22,7 @@ struct mtd_info;
  * set_vpp:	method called to enable or disable VPP
  * mmcontrol:	method called to enable or disable Sync. Burst Read in OneNAND
  * parts:	optional array of mtd_partitions for static partitioning
- * nr_parts:	number of mtd_partitions for static partitoning
+ * nr_parts:	number of mtd_partitions for static partitioning
  */
 struct flash_platform_data {
 	const char	*map_name;
diff --git a/arch/ia64/sn/kernel/sn2/sn_hwperf.c b/arch/ia64/sn/kernel/sn2/sn_hwperf.c
index b999257..ccbf33e 100644
--- a/arch/ia64/sn/kernel/sn2/sn_hwperf.c
+++ b/arch/ia64/sn/kernel/sn2/sn_hwperf.c
@@ -525,7 +525,7 @@ static int sn_topology_show(struct seq_file *s, void *d)
 				/* both ends local to this partition */
 				seq_puts(s, " local");
 			else if (SN_HWPERF_FOREIGN(p))
-				/* both ends of the link in foreign partiton */
+				/* both ends of the link in foreign partition */
 				seq_puts(s, " foreign");
 			else
 				/* link straddles a partition */
diff --git a/arch/powerpc/boot/dts/fsl/mpc8569mds.dts b/arch/powerpc/boot/dts/fsl/mpc8569mds.dts
index 8e94448..76b2bd6 100644
--- a/arch/powerpc/boot/dts/fsl/mpc8569mds.dts
+++ b/arch/powerpc/boot/dts/fsl/mpc8569mds.dts
@@ -55,7 +55,7 @@
 				label = "kernel";
 				reg = <0x01c00000 0x002e0000>;
 			};
-			partiton@1ee0000 {
+			partition@1ee0000 {
 				label = "dtb";
 				reg = <0x01ee0000 0x00020000>;
 			};
diff --git a/arch/powerpc/include/asm/book3s/64/mmu.h b/arch/powerpc/include/asm/book3s/64/mmu.h
index 8afb0e0..cc450fa 100644
--- a/arch/powerpc/include/asm/book3s/64/mmu.h
+++ b/arch/powerpc/include/asm/book3s/64/mmu.h
@@ -30,7 +30,7 @@ extern struct mmu_psize_def mmu_psize_defs[MMU_PAGE_COUNT];
 
 #ifndef __ASSEMBLY__
 /*
- * ISA 3.0 partiton and process table entry format
+ * ISA 3.0 partition and process table entry format
  */
 struct prtb_entry {
 	__be64 prtb0;
diff --git a/arch/powerpc/include/asm/fsl_hcalls.h b/arch/powerpc/include/asm/fsl_hcalls.h
index 3abb583..b889d13 100644
--- a/arch/powerpc/include/asm/fsl_hcalls.h
+++ b/arch/powerpc/include/asm/fsl_hcalls.h
@@ -109,7 +109,7 @@ static inline unsigned int fh_send_nmi(unsigned int vcpu_mask)
 #define FH_DTPROP_MAX_PROPLEN 32768
 
 /**
- * fh_partiton_get_dtprop - get a property from a guest device tree.
+ * fh_partition_get_dtprop - get a property from a guest device tree.
  * @handle: handle of partition whose device tree is to be accessed
  * @dtpath_addr: physical address of device tree path to access
  * @propname_addr: physical address of name of property
diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c
index 0024e45..4d757ea 100644
--- a/arch/powerpc/platforms/pseries/iommu.c
+++ b/arch/powerpc/platforms/pseries/iommu.c
@@ -1020,7 +1020,7 @@ static u64 enable_ddw(struct pci_dev *dev, struct device_node *pdn)
 	/* check largest block * page size > max memory hotplug addr */
 	max_addr = memory_hotplug_max();
 	if (query.largest_available_block < (max_addr >> page_shift)) {
-		dev_dbg(&dev->dev, "can't map partiton max 0x%llx with %u "
+		dev_dbg(&dev->dev, "can't map partition max 0x%llx with %u "
 			  "%llu-sized pages\n", max_addr,  query.largest_available_block,
 			  1ULL << page_shift);
 		goto out_failed;
diff --git a/arch/sparc/kernel/visemul.c b/arch/sparc/kernel/visemul.c
index c096c62..1d5ecbed 100644
--- a/arch/sparc/kernel/visemul.c
+++ b/arch/sparc/kernel/visemul.c
@@ -30,7 +30,7 @@
 /* 001001011 - two 32-bit merges */
 #define FPMERGE_OPF	0x04b
 
-/* 000110001 - 8-by-16-bit partitoned product  */
+/* 000110001 - 8-by-16-bit partitioned product  */
 #define FMUL8x16_OPF	0x031
 
 /* 000110011 - 8-by-16-bit upper alpha partitioned product  */
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
index bdbcd2b..d77845e 100644
--- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
+++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
@@ -178,7 +178,7 @@ const u32 qlcnic_83xx_reg_tbl[] = {
 	0x3540,		/* Device state, DRV_REG1 */
 	0x3544,		/* Driver state, DRV_REG2 */
 	0x3548,		/* Driver scratch, DRV_REG3 */
-	0x354C,		/* Device partiton info, DRV_REG4 */
+	0x354C,		/* Device partition info, DRV_REG4 */
 	0x3524,		/* Driver IDC ver, DRV_REG5 */
 	0x3550,		/* FW_VER_MAJOR */
 	0x3554,		/* FW_VER_MINOR */
diff --git a/drivers/watchdog/bcm2835_wdt.c b/drivers/watchdog/bcm2835_wdt.c
index 4dddd82..7a10817 100644
--- a/drivers/watchdog/bcm2835_wdt.c
+++ b/drivers/watchdog/bcm2835_wdt.c
@@ -37,9 +37,9 @@
 #define PM_RSTC_RESET			0x00000102
 
 /*
- * The Raspberry Pi firmware uses the RSTS register to know which partiton
- * to boot from. The partiton value is spread into bits 0, 2, 4, 6, 8, 10.
- * Partiton 63 is a special partition used by the firmware to indicate halt.
+ * The Raspberry Pi firmware uses the RSTS register to know which partition
+ * to boot from. The partition value is spread into bits 0, 2, 4, 6, 8, 10.
+ * Partition 63 is a special partition used by the firmware to indicate halt.
  */
 #define PM_RSTS_RASPBERRYPI_HALT	0x555
 
diff --git a/include/linux/mtd/qinfo.h b/include/linux/mtd/qinfo.h
index 7b3d487..b532ce5 100644
--- a/include/linux/mtd/qinfo.h
+++ b/include/linux/mtd/qinfo.h
@@ -14,7 +14,7 @@
  * @DevId - Chip Device ID
  * @qinfo - pointer to qinfo records describing the chip
  * @numchips - number of chips including virual RWW partitions
- * @chipshift - Chip/partiton size 2^chipshift
+ * @chipshift - Chip/partition size 2^chipshift
  * @chips - per-chip data structure
  */
 struct lpddr_private {
diff --git a/include/linux/spi/flash.h b/include/linux/spi/flash.h
index 3f22932..f4199e7 100644
--- a/include/linux/spi/flash.h
+++ b/include/linux/spi/flash.h
@@ -7,7 +7,7 @@ struct mtd_partition;
  * struct flash_platform_data: board-specific flash data
  * @name: optional flash device name (eg, as used with mtdparts=)
  * @parts: optional array of mtd_partitions for static partitioning
- * @nr_parts: number of mtd_partitions for static partitoning
+ * @nr_parts: number of mtd_partitions for static partitioning
  * @type: optional flash device type (e.g. m25p80 vs m25p64), for use
  *	with chips that can't be queried for JEDEC or other IDs
  *
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index dddcac9..00cd7bb 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -709,6 +709,7 @@ paramter||parameter
 paramters||parameters
 particuarly||particularly
 particularily||particularly
+partiton||partition
 pased||passed
 passin||passing
 pathes||paths
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 07/31] scripts/spelling.txt: add "aligment" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (5 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 06/31] scripts/spelling.txt: add "partiton" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 08/31] scripts/spelling.txt: add "algined" " Masahiro Yamada
                   ` (25 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  aligment||alignment

I did not touch the "N_BYTE_ALIGMENT" macro in
drivers/net/wireless/realtek/rtlwifi/wifi.h to avoid unpredictable
impact.

I fixed "_aligment_handler" in arch/openrisc/kernel/entry.S because
it is surrounded by #if 0 ... #endif.  It is surely safe and I
confirmed "_alignment_handler" is correct.

I also fixed the "controler" I found in the same hunk in
arch/openrisc/kernel/head.S.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 arch/arc/kernel/unwind.c                            | 4 ++--
 arch/openrisc/kernel/entry.S                        | 4 ++--
 arch/openrisc/kernel/head.S                         | 6 +++---
 arch/openrisc/kernel/vmlinux.lds.S                  | 4 ++--
 drivers/acpi/acpica/acmacros.h                      | 2 +-
 drivers/gpu/drm/amd/include/atombios.h              | 6 +++---
 drivers/gpu/drm/i915/i915_gem_render_state.c        | 2 +-
 drivers/gpu/drm/radeon/atombios.h                   | 4 ++--
 drivers/media/platform/exynos4-is/fimc-core.h       | 2 +-
 drivers/net/wireless/ath/ath9k/ani.c                | 4 ++--
 drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c | 4 ++--
 drivers/scsi/bfa/bfi_ms.h                           | 2 +-
 net/netfilter/x_tables.c                            | 2 +-
 scripts/spelling.txt                                | 1 +
 14 files changed, 24 insertions(+), 23 deletions(-)

diff --git a/arch/arc/kernel/unwind.c b/arch/arc/kernel/unwind.c
index 61fd1ce..b6e4f7a 100644
--- a/arch/arc/kernel/unwind.c
+++ b/arch/arc/kernel/unwind.c
@@ -1051,9 +1051,9 @@ int arc_unwind(struct unwind_frame_info *frame)
 		++ptr;
 	}
 	if (cie != NULL) {
-		/* get code aligment factor */
+		/* get code alignment factor */
 		state.codeAlign = get_uleb128(&ptr, end);
-		/* get data aligment factor */
+		/* get data alignment factor */
 		state.dataAlign = get_sleb128(&ptr, end);
 		if (state.codeAlign == 0 || state.dataAlign == 0 || ptr >= end)
 			cie = NULL;
diff --git a/arch/openrisc/kernel/entry.S b/arch/openrisc/kernel/entry.S
index aac0bde..ae61921 100644
--- a/arch/openrisc/kernel/entry.S
+++ b/arch/openrisc/kernel/entry.S
@@ -310,7 +310,7 @@ EXCEPTION_ENTRY(_timer_handler)
 	l.j    _ret_from_intr
 	 l.nop
 
-/* ---[ 0x600: Aligment exception ]-------------------------------------- */
+/* ---[ 0x600: Alignment exception ]-------------------------------------- */
 
 EXCEPTION_ENTRY(_alignment_handler)
 	/* r4: EA of fault (set by EXCEPTION_HANDLE) */
@@ -321,7 +321,7 @@ EXCEPTION_ENTRY(_alignment_handler)
 	 l.nop
 
 #if 0
-EXCEPTION_ENTRY(_aligment_handler)
+EXCEPTION_ENTRY(_alignment_handler)
 //        l.mfspr r2,r0,SPR_EEAR_BASE     /* Load the efective addres */
 	l.addi	r2,r4,0
 //        l.mfspr r5,r0,SPR_EPCR_BASE     /* Load the insn address */
diff --git a/arch/openrisc/kernel/head.S b/arch/openrisc/kernel/head.S
index f147933..aa9c455 100644
--- a/arch/openrisc/kernel/head.S
+++ b/arch/openrisc/kernel/head.S
@@ -324,7 +324,7 @@ _dispatch_do_ipage_fault:
     .org 0x500
 	EXCEPTION_HANDLE(_timer_handler)
 
-/* ---[ 0x600: Aligment exception ]-------------------------------------- */
+/* ---[ 0x600: Alignment exception ]-------------------------------------- */
     .org 0x600
 	EXCEPTION_HANDLE(_alignment_handler)
 
@@ -629,8 +629,8 @@ jump_start_kernel:
 
 /* ========================================[ cache ]=== */
 
-	/* aligment here so we don't change memory offsets with
-	 * memory controler defined
+	/* alignment here so we don't change memory offsets with
+	 * memory controller defined
 	 */
 	.align 0x2000
 
diff --git a/arch/openrisc/kernel/vmlinux.lds.S b/arch/openrisc/kernel/vmlinux.lds.S
index ef31fc2..514f474 100644
--- a/arch/openrisc/kernel/vmlinux.lds.S
+++ b/arch/openrisc/kernel/vmlinux.lds.S
@@ -19,8 +19,8 @@
 
 /* TODO
  *		- clean up __offset & stuff
- *		- change all 8192 aligment to PAGE !!!
- *		- recheck if all aligments are really needed
+ *		- change all 8192 alignment to PAGE !!!
+ *		- recheck if all alignments are really needed
  */
 
 #  define LOAD_OFFSET  PAGE_OFFSET
diff --git a/drivers/acpi/acpica/acmacros.h b/drivers/acpi/acpica/acmacros.h
index a3b9543..736672c 100644
--- a/drivers/acpi/acpica/acmacros.h
+++ b/drivers/acpi/acpica/acmacros.h
@@ -46,7 +46,7 @@
 
 /*
  * Extract data using a pointer. Any more than a byte and we
- * get into potential aligment issues -- see the STORE macros below.
+ * get into potential alignment issues -- see the STORE macros below.
  * Use with care.
  */
 #define ACPI_CAST8(ptr)                 ACPI_CAST_PTR (u8, (ptr))
diff --git a/drivers/gpu/drm/amd/include/atombios.h b/drivers/gpu/drm/amd/include/atombios.h
index 9f970b5..181a2c3 100644
--- a/drivers/gpu/drm/amd/include/atombios.h
+++ b/drivers/gpu/drm/amd/include/atombios.h
@@ -188,7 +188,7 @@
 #define HW_ASSISTED_I2C_STATUS_FAILURE     2
 #define HW_ASSISTED_I2C_STATUS_SUCCESS     1
 
-#pragma pack(1)                                       // BIOS data must use byte aligment
+#pragma pack(1)                                       // BIOS data must use byte alignment
 
 // Define offset to location of ROM header.
 #define OFFSET_TO_POINTER_TO_ATOM_ROM_HEADER         0x00000048L
@@ -9180,7 +9180,7 @@ typedef struct  _ATOM_POWERPLAY_INFO_V3
 
 /*********************************************************************************/
 
-#pragma pack() // BIOS data must use byte aligment
+#pragma pack() // BIOS data must use byte alignment
 
 #pragma pack(1)
 
@@ -9211,7 +9211,7 @@ typedef struct _ATOM_SERVICE_INFO
 
 
 
-#pragma pack() // BIOS data must use byte aligment
+#pragma pack() // BIOS data must use byte alignment
 
 //
 // AMD ACPI Table
diff --git a/drivers/gpu/drm/i915/i915_gem_render_state.c b/drivers/gpu/drm/i915/i915_gem_render_state.c
index 5af19b0..5cc7b6e 100644
--- a/drivers/gpu/drm/i915/i915_gem_render_state.c
+++ b/drivers/gpu/drm/i915/i915_gem_render_state.c
@@ -60,7 +60,7 @@ render_state_get_rodata(const struct intel_engine_cs *engine)
  * this is sufficient as the null state generator makes the final batch
  * with two passes to build command and state separately. At this point
  * the size of both are known and it compacts them by relocating the state
- * right after the commands taking care of aligment so we should sufficient
+ * right after the commands taking care of alignment so we should sufficient
  * space below them for adding new commands.
  */
 #define OUT_BATCH(batch, i, val)				\
diff --git a/drivers/gpu/drm/radeon/atombios.h b/drivers/gpu/drm/radeon/atombios.h
index 66a2642..4b86e8b 100644
--- a/drivers/gpu/drm/radeon/atombios.h
+++ b/drivers/gpu/drm/radeon/atombios.h
@@ -181,7 +181,7 @@
 #define HW_ASSISTED_I2C_STATUS_FAILURE          2
 #define HW_ASSISTED_I2C_STATUS_SUCCESS          1
 
-#pragma pack(1)                                       /* BIOS data must use byte aligment */
+#pragma pack(1)                                       /* BIOS data must use byte alignment */
 
 /*  Define offset to location of ROM header. */
 
@@ -7909,7 +7909,7 @@ typedef struct  _ATOM_POWERPLAY_INFO_V3
 
 /*********************************************************************************/
 
-#pragma pack() // BIOS data must use byte aligment
+#pragma pack() // BIOS data must use byte alignment
 
 //
 // AMD ACPI Table
diff --git a/drivers/media/platform/exynos4-is/fimc-core.h b/drivers/media/platform/exynos4-is/fimc-core.h
index 5615fef..c0373ae 100644
--- a/drivers/media/platform/exynos4-is/fimc-core.h
+++ b/drivers/media/platform/exynos4-is/fimc-core.h
@@ -358,7 +358,7 @@ struct fimc_pix_limit {
  * @pix_limit: pixel size constraints for the scaler
  * @min_inp_pixsize: minimum input pixel size
  * @min_out_pixsize: minimum output pixel size
- * @hor_offs_align: horizontal pixel offset aligment
+ * @hor_offs_align: horizontal pixel offset alignment
  * @min_vsize_align: minimum vertical pixel size alignment
  */
 struct fimc_variant {
diff --git a/drivers/net/wireless/ath/ath9k/ani.c b/drivers/net/wireless/ath/ath9k/ani.c
index 815efe9..5214dd7 100644
--- a/drivers/net/wireless/ath/ath9k/ani.c
+++ b/drivers/net/wireless/ath/ath9k/ani.c
@@ -59,13 +59,13 @@ static const struct ani_ofdm_level_entry ofdm_level_table[] = {
 /*
  * MRC (Maximal Ratio Combining) has always been used with multi-antenna ofdm.
  * With OFDM for single stream you just add up all antenna inputs, you're
- * only interested in what you get after FFT. Signal aligment is also not
+ * only interested in what you get after FFT. Signal alignment is also not
  * required for OFDM because any phase difference adds up in the frequency
  * domain.
  *
  * MRC requires extra work for use with CCK. You need to align the antenna
  * signals from the different antenna before you can add the signals together.
- * You need aligment of signals as CCK is in time domain, so addition can cancel
+ * You need alignment of signals as CCK is in time domain, so addition can cancel
  * your signal completely if phase is 180 degrees (think of adding sine waves).
  * You also need to remove noise before the addition and this is where ANI
  * MRC CCK comes into play. One of the antenna inputs may be stronger but
diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c b/drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c
index 32f9207..aeca750 100644
--- a/drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c
+++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c
@@ -467,7 +467,7 @@ static u32 _rtl92s_fill_h2c_cmd(struct sk_buff *skb, u32 h2cbufferlen,
 	u8 i = 0;
 
 	do {
-		/* 8 - Byte aligment */
+		/* 8 - Byte alignment */
 		len = H2C_TX_CMD_HDR_LEN + N_BYTE_ALIGMENT(pcmd_len[i], 8);
 
 		/* Buffer length is not enough */
@@ -516,7 +516,7 @@ static u32 _rtl92s_get_h2c_cmdlen(u32 h2cbufferlen, u32 cmd_num, u32 *pcmd_len)
 	u8 i = 0;
 
 	do {
-		/* 8 - Byte aligment */
+		/* 8 - Byte alignment */
 		len = H2C_TX_CMD_HDR_LEN + N_BYTE_ALIGMENT(pcmd_len[i], 8);
 
 		/* Buffer length is not enough */
diff --git a/drivers/scsi/bfa/bfi_ms.h b/drivers/scsi/bfa/bfi_ms.h
index ae5bfe0..ccbd9e3 100644
--- a/drivers/scsi/bfa/bfi_ms.h
+++ b/drivers/scsi/bfa/bfi_ms.h
@@ -680,7 +680,7 @@ struct bfi_ioim_req_s {
 
 	/*
 	 * SG elements array within the IO request must be double word
-	 * aligned. This aligment is required to optimize SGM setup for the IO.
+	 * aligned. This alignment is required to optimize SGM setup for the IO.
 	 */
 	struct bfi_sge_s	sges[BFI_SGE_INLINE_MAX];
 	u8	io_timeout;
diff --git a/net/netfilter/x_tables.c b/net/netfilter/x_tables.c
index 2ff4996..a011322 100644
--- a/net/netfilter/x_tables.c
+++ b/net/netfilter/x_tables.c
@@ -616,7 +616,7 @@ int xt_compat_check_entry_offsets(const void *base, const char *elems,
 	    COMPAT_XT_ALIGN(target_offset + sizeof(struct compat_xt_standard_target)) != next_offset)
 		return -EINVAL;
 
-	/* compat_xt_entry match has less strict aligment requirements,
+	/* compat_xt_entry match has less strict alignment requirements,
 	 * otherwise they are identical.  In case of padding differences
 	 * we need to add compat version of xt_check_entry_match.
 	 */
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 00cd7bb..0ba478f 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -69,6 +69,7 @@ algoritm||algorithm
 algoritms||algorithms
 algorrithm||algorithm
 algorritm||algorithm
+aligment||alignment
 allign||align
 allocatrd||allocated
 allocte||allocate
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 08/31] scripts/spelling.txt: add "algined" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (6 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 07/31] scripts/spelling.txt: add "aligment" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 09/31] scripts/spelling.txt: add "efective" " Masahiro Yamada
                   ` (24 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  algined||aligned

While we are here, fix the "appplication" in the touched line in
drivers/block/loop.c.  Also, fix the "may not naturally ..." to
"may not be naturally ..." in the touched line in mm/page_alloc.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/block/loop.c | 2 +-
 mm/page_alloc.c      | 2 +-
 scripts/spelling.txt | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/block/loop.c b/drivers/block/loop.c
index 4af8187..7ebe3ff 100644
--- a/drivers/block/loop.c
+++ b/drivers/block/loop.c
@@ -186,7 +186,7 @@ static void __loop_update_dio(struct loop_device *lo, bool dio)
 	 *
 	 * TODO: the above condition may be loosed in the future, and
 	 * direct I/O may be switched runtime at that time because most
-	 * of requests in sane appplications should be PAGE_SIZE algined
+	 * of requests in sane applications should be PAGE_SIZE aligned
 	 */
 	if (dio) {
 		if (queue_logical_block_size(lo->lo_queue) >= sb_bsize &&
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 2c6d5f6..0314cd7 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -5761,7 +5761,7 @@ static unsigned long __paginginit calc_memmap_size(unsigned long spanned_pages,
 	 * the zone and SPARSEMEM is in use. If there are holes within the
 	 * zone, each populated memory region may cost us one or two extra
 	 * memmap pages due to alignment because memmap pages for each
-	 * populated regions may not naturally algined on page boundary.
+	 * populated regions may not be naturally aligned on page boundary.
 	 * So the (present_pages >> 4) heuristic is a tradeoff for that.
 	 */
 	if (spanned_pages > present_pages + (present_pages >> 4) &&
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 0ba478f..462e99f 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -63,6 +63,7 @@ afecting||affecting
 agaist||against
 albumns||albums
 alegorical||allegorical
+algined||aligned
 algorith||algorithm
 algorithmical||algorithmically
 algoritm||algorithm
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 09/31] scripts/spelling.txt: add "efective" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (7 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 08/31] scripts/spelling.txt: add "algined" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-13 11:22   ` Geert Uytterhoeven
  2016-12-12 20:04 ` [PATCH 10/31] scripts/spelling.txt: add "varible" " Masahiro Yamada
                   ` (23 subsequent siblings)
  32 siblings, 1 reply; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  efective||effective

While we are here, fix the "addres" as well in the touched line in
arch/openrisc/kernel/entry.S.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 arch/m68k/ifpsp060/src/isp.S | 2 +-
 arch/openrisc/kernel/entry.S | 2 +-
 scripts/spelling.txt         | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/m68k/ifpsp060/src/isp.S b/arch/m68k/ifpsp060/src/isp.S
index 6dccda7..b865c1a 100644
--- a/arch/m68k/ifpsp060/src/isp.S
+++ b/arch/m68k/ifpsp060/src/isp.S
@@ -3814,7 +3814,7 @@ CAS2W2_FILLER:
 #	(3) Save current DFC/SFC (ASSUMED TO BE EQUAL!!!); Then set	#
 #	    SFC/DFC according to whether exception occurred in user or	#
 #	    supervisor mode.						#
-#	(4) Use "plpaw" instruction to pre-load ATC with efective	#
+#	(4) Use "plpaw" instruction to pre-load ATC with effective	#
 #	    address page(s). THIS SHOULD NOT FAULT!!! The relevant	#
 #	    page(s) should have been made resident prior to entering	#
 #	    this routine.						#
diff --git a/arch/openrisc/kernel/entry.S b/arch/openrisc/kernel/entry.S
index ae61921..3aa6b74 100644
--- a/arch/openrisc/kernel/entry.S
+++ b/arch/openrisc/kernel/entry.S
@@ -322,7 +322,7 @@ EXCEPTION_ENTRY(_alignment_handler)
 
 #if 0
 EXCEPTION_ENTRY(_alignment_handler)
-//        l.mfspr r2,r0,SPR_EEAR_BASE     /* Load the efective addres */
+//        l.mfspr r2,r0,SPR_EEAR_BASE     /* Load the effective address */
 	l.addi	r2,r4,0
 //        l.mfspr r5,r0,SPR_EPCR_BASE     /* Load the insn address */
 	l.lwz   r5,PT_PC(r1)
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 462e99f..6230094 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -375,6 +375,7 @@ easilly||easily
 ecspecially||especially
 edditable||editable
 editting||editing
+efective||effective
 efficently||efficiently
 ehther||ether
 eigth||eight
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 10/31] scripts/spelling.txt: add "varible" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (8 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 09/31] scripts/spelling.txt: add "efective" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 11/31] scripts/spelling.txt: add "embeded" " Masahiro Yamada
                   ` (22 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  varible||variable

While we are here, tidy up the comment blocks that fit in a single
line for drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c and
net/sctp/transport.c.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 Documentation/scsi/ChangeLog.megaraid_sas          | 2 +-
 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 4 +---
 drivers/net/wimax/i2400m/usb-fw.c                  | 2 +-
 kernel/torture.c                                   | 2 +-
 net/sctp/transport.c                               | 4 +---
 scripts/spelling.txt                               | 1 +
 6 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/Documentation/scsi/ChangeLog.megaraid_sas b/Documentation/scsi/ChangeLog.megaraid_sas
index 00ffdf18..234ddab 100644
--- a/Documentation/scsi/ChangeLog.megaraid_sas
+++ b/Documentation/scsi/ChangeLog.megaraid_sas
@@ -549,7 +549,7 @@ ii.	Reduced by 1 max cmds sent to FW from Driver to make the reply_q_sz same
 3 Older Version   : 00.00.03.02
 
 i.	Send stop adapter to FW & Dump pending FW cmds before declaring adapter dead.
-	New varible added to set dbg level.
+	New variable added to set dbg level.
 ii.	Disable interrupt made as fn pointer as they are different for 1068 / 1078
 iii.	Frame count optimization. Main frame can contain 2 SGE for 64 bit SGLs and
 	3 SGE for 32 bit SGL
diff --git a/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c b/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
index a6198b7..0fb899ef 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
@@ -849,9 +849,7 @@ static void i40e_free_vf_res(struct i40e_vf *vf)
 		wr32(hw, reg_idx, reg);
 		i40e_flush(hw);
 	}
-	/* reset some of the state varibles keeping
-	 * track of the resources
-	 */
+	/* reset some of the state variables keeping track of the resources */
 	vf->num_queue_pairs = 0;
 	vf->vf_states = 0;
 	clear_bit(I40E_VF_STAT_INIT, &vf->vf_states);
diff --git a/drivers/net/wimax/i2400m/usb-fw.c b/drivers/net/wimax/i2400m/usb-fw.c
index e74664b..502c346 100644
--- a/drivers/net/wimax/i2400m/usb-fw.c
+++ b/drivers/net/wimax/i2400m/usb-fw.c
@@ -237,7 +237,7 @@ void __i2400mu_bm_notif_cb(struct urb *urb)
  *
  * @i2400m: device descriptor
  * @urb: urb to use
- * @completion: completion varible to complete when done
+ * @completion: completion variable to complete when done
  *
  * Data is always read to i2400m->bm_ack_buf
  */
diff --git a/kernel/torture.c b/kernel/torture.c
index 0d887eb..01a9997 100644
--- a/kernel/torture.c
+++ b/kernel/torture.c
@@ -311,7 +311,7 @@ EXPORT_SYMBOL_GPL(torture_random);
 /*
  * Variables for shuffling.  The idea is to ensure that each CPU stays
  * idle for an extended period to test interactions with dyntick idle,
- * as well as interactions with any per-CPU varibles.
+ * as well as interactions with any per-CPU variables.
  */
 struct shuffle_task {
 	struct list_head st_l;
diff --git a/net/sctp/transport.c b/net/sctp/transport.c
index ce54dce..f7b6c1a 100644
--- a/net/sctp/transport.c
+++ b/net/sctp/transport.c
@@ -630,9 +630,7 @@ void sctp_transport_reset(struct sctp_transport *t)
 	t->srtt = 0;
 	t->rttvar = 0;
 
-	/* Reset these additional varibles so that we have a clean
-	 * slate.
-	 */
+	/* Reset these additional variables so that we have a clean slate. */
 	t->partial_bytes_acked = 0;
 	t->flight_size = 0;
 	t->error_count = 0;
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 6230094..cf480fb 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -1056,6 +1056,7 @@ vaid||valid
 vaild||valid
 valide||valid
 variantions||variations
+varible||variable
 varient||variant
 vaule||value
 verbse||verbose
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 11/31] scripts/spelling.txt: add "embeded" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (9 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 10/31] scripts/spelling.txt: add "varible" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 12/31] scripts/spelling.txt: add "againt" " Masahiro Yamada
                   ` (21 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  embeded||embedded

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 block/blk-throttle.c             | 2 +-
 drivers/nvme/host/rdma.c         | 2 +-
 drivers/scsi/osd/osd_initiator.c | 2 +-
 scripts/spelling.txt             | 1 +
 4 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/block/blk-throttle.c b/block/blk-throttle.c
index a6bb4fe..6f4c96e 100644
--- a/block/blk-throttle.c
+++ b/block/blk-throttle.c
@@ -185,7 +185,7 @@ static struct throtl_grp *sq_to_tg(struct throtl_service_queue *sq)
  * sq_to_td - return throtl_data the specified service queue belongs to
  * @sq: the throtl_service_queue of interest
  *
- * A service_queue can be embeded in either a throtl_grp or throtl_data.
+ * A service_queue can be embedded in either a throtl_grp or throtl_data.
  * Determine the associated throtl_data accordingly and return it.
  */
 static struct throtl_data *sq_to_td(struct throtl_service_queue *sq)
diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c
index f42ab70..25e3e7f 100644
--- a/drivers/nvme/host/rdma.c
+++ b/drivers/nvme/host/rdma.c
@@ -1044,7 +1044,7 @@ static int nvme_rdma_post_send(struct nvme_rdma_queue *queue,
 	 * sequencer is not allocated in our driver's tagset and it's
 	 * triggered to be freed by blk_cleanup_queue(). So we need to
 	 * always mark it as signaled to ensure that the "wr_cqe", which is
-	 * embeded in request's payload, is not freed when __ib_process_cq()
+	 * embedded in request's payload, is not freed when __ib_process_cq()
 	 * calls wr_cqe->done().
 	 */
 	if ((++queue->sig_count % 32) == 0 || flush)
diff --git a/drivers/scsi/osd/osd_initiator.c b/drivers/scsi/osd/osd_initiator.c
index ef99f62..2d2db99 100644
--- a/drivers/scsi/osd/osd_initiator.c
+++ b/drivers/scsi/osd/osd_initiator.c
@@ -1675,7 +1675,7 @@ int osd_finalize_request(struct osd_request *or,
 		}
 	} else {
 		/* TODO: I think that for the GET_ATTR command these 2 should
-		 * be reversed to keep them in execution order (for embeded
+		 * be reversed to keep them in execution order (for embedded
 		 * targets with low memory footprint)
 		 */
 		ret = _osd_req_finalize_set_attr_list(or);
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index cf480fb..d575c4e 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -380,6 +380,7 @@ efficently||efficiently
 ehther||ether
 eigth||eight
 eletronic||electronic
+embeded||embedded
 enabledi||enabled
 enchanced||enhanced
 encorporating||incorporating
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 12/31] scripts/spelling.txt: add "againt" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (10 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 11/31] scripts/spelling.txt: add "embeded" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 13/31] scripts/spelling.txt: add "neded" " Masahiro Yamada
                   ` (20 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  againt||against

While we are here, fix the "capabilites" as well in the touched hunk
in drivers/gpu/drm/drm_probe_helper.c.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/gpu/drm/drm_probe_helper.c | 4 ++--
 fs/ecryptfs/kthread.c              | 2 +-
 scripts/spelling.txt               | 1 +
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/drm_probe_helper.c b/drivers/gpu/drm/drm_probe_helper.c
index ac953f0..c8f36ac 100644
--- a/drivers/gpu/drm/drm_probe_helper.c
+++ b/drivers/gpu/drm/drm_probe_helper.c
@@ -204,8 +204,8 @@ drm_connector_detect(struct drm_connector *connector, bool force)
  *    - drm_mode_validate_basic() performs basic sanity checks
  *    - drm_mode_validate_size() filters out modes larger than @maxX and @maxY
  *      (if specified)
- *    - drm_mode_validate_flag() checks the modes againt basic connector
- *      capabilites (interlace_allowed,doublescan_allowed,stereo_allowed)
+ *    - drm_mode_validate_flag() checks the modes against basic connector
+ *      capabilities (interlace_allowed,doublescan_allowed,stereo_allowed)
  *    - the optional connector ->mode_valid() helper can perform driver and/or
  *      hardware specific checks
  *
diff --git a/fs/ecryptfs/kthread.c b/fs/ecryptfs/kthread.c
index 866bb18..e00d45a 100644
--- a/fs/ecryptfs/kthread.c
+++ b/fs/ecryptfs/kthread.c
@@ -123,7 +123,7 @@ void ecryptfs_destroy_kthread(void)
  * @lower_dentry: Lower dentry for file to open
  * @lower_mnt: Lower vfsmount for file to open
  *
- * This function gets a r/w file opened againt the lower dentry.
+ * This function gets a r/w file opened against the lower dentry.
  *
  * Returns zero on success; non-zero otherwise
  */
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index d575c4e..3892e84 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -60,6 +60,7 @@ adress||address
 adresses||addresses
 adviced||advised
 afecting||affecting
+againt||against
 agaist||against
 albumns||albums
 alegorical||allegorical
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 13/31] scripts/spelling.txt: add "neded" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (11 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 12/31] scripts/spelling.txt: add "againt" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 14/31] scripts/spelling.txt: add "unneded" " Masahiro Yamada
                   ` (19 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  neded||needed

While we are here, fix the "overriden", "wont", and "etc" in the
same hunk in drivers/media/usb/tm6000/tm6000-input.c.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/media/usb/gspca/t613.c          | 6 +++---
 drivers/media/usb/tm6000/tm6000-input.c | 2 +-
 scripts/spelling.txt                    | 1 +
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/drivers/media/usb/gspca/t613.c b/drivers/media/usb/gspca/t613.c
index bb52fc1..4907e64 100644
--- a/drivers/media/usb/gspca/t613.c
+++ b/drivers/media/usb/gspca/t613.c
@@ -574,9 +574,9 @@ static void setfreq(struct gspca_dev *gspca_dev, s32 val)
 /* this function is called at probe and resume time */
 static int sd_init(struct gspca_dev *gspca_dev)
 {
-	/* some of this registers are not really neded, because
-	 * they are overriden by setbrigthness, setcontrast, etc,
-	 * but wont hurt anyway, and can help someone with similar webcam
+	/* some of this registers are not really needed, because
+	 * they are overridden by setbrigthness, setcontrast, etc.,
+	 * but won't hurt anyway, and can help someone with similar webcam
 	 * to see the initial parameters.*/
 	struct sd *sd = (struct sd *) gspca_dev;
 	const struct additional_sensor_data *sensor;
diff --git a/drivers/media/usb/tm6000/tm6000-input.c b/drivers/media/usb/tm6000/tm6000-input.c
index 26b2ebb..7fe00a5 100644
--- a/drivers/media/usb/tm6000/tm6000-input.c
+++ b/drivers/media/usb/tm6000/tm6000-input.c
@@ -442,7 +442,7 @@ int tm6000_ir_init(struct tm6000_core *dev)
 
 	/* input setup */
 	rc->allowed_protocols = RC_BIT_RC5 | RC_BIT_NEC;
-	/* Neded, in order to support NEC remotes with 24 or 32 bits */
+	/* Needed, in order to support NEC remotes with 24 or 32 bits */
 	rc->scancode_mask = 0xffff;
 	rc->priv = ir;
 	rc->change_protocol = tm6000_ir_change_protocol;
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 3892e84..ba0b81f 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -658,6 +658,7 @@ neccecary||necessary
 neccesary||necessary
 neccessary||necessary
 necesary||necessary
+neded||needed
 negaive||negative
 negoitation||negotiation
 negotation||negotiation
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 14/31] scripts/spelling.txt: add "unneded" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (12 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 13/31] scripts/spelling.txt: add "neded" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 15/31] scripts/spelling.txt: add "intialization" " Masahiro Yamada
                   ` (18 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  unneded||unneeded

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 fs/ocfs2/dlm/dlmmaster.c   | 2 +-
 scripts/spelling.txt       | 1 +
 sound/soc/codecs/wm_hubs.c | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c
index ae05b93..9b41842 100644
--- a/fs/ocfs2/dlm/dlmmaster.c
+++ b/fs/ocfs2/dlm/dlmmaster.c
@@ -2946,7 +2946,7 @@ static int dlm_mark_lockres_migrating(struct dlm_ctxt *dlm,
 	/*
 	 * if target is down, we need to clear DLM_LOCK_RES_BLOCK_DIRTY for
 	 * another try; otherwise, we are sure the MIGRATING state is there,
-	 * drop the unneded state which blocked threads trying to DIRTY
+	 * drop the unneeded state which blocked threads trying to DIRTY
 	 */
 	spin_lock(&res->spinlock);
 	BUG_ON(!(res->state & DLM_LOCK_RES_BLOCK_DIRTY));
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index ba0b81f..78196a5 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -1035,6 +1035,7 @@ unintialized||uninitialized
 unknonw||unknown
 unknow||unknown
 unkown||unknown
+unneded||unneeded
 unneedingly||unnecessarily
 unresgister||unregister
 unsinged||unsigned
diff --git a/sound/soc/codecs/wm_hubs.c b/sound/soc/codecs/wm_hubs.c
index 624b3b9..63b2745 100644
--- a/sound/soc/codecs/wm_hubs.c
+++ b/sound/soc/codecs/wm_hubs.c
@@ -1269,7 +1269,7 @@ void wm_hubs_set_bias_level(struct snd_soc_codec *codec,
 		break;
 
 	case SND_SOC_BIAS_ON:
-		/* Turn off any unneded single ended outputs */
+		/* Turn off any unneeded single ended outputs */
 		val = 0;
 		mask = 0;
 
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 15/31] scripts/spelling.txt: add "intialization" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (13 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 14/31] scripts/spelling.txt: add "unneded" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 16/31] scripts/spelling.txt: add "initialiazation" " Masahiro Yamada
                   ` (17 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  intialization||initialization

The "inintialization" in drivers/acpi/spcr.c is a different pattern
but I fixed it as well in this commit.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 arch/arm/mach-omap2/omap_twl.c               |  2 +-
 drivers/acpi/spcr.c                          |  2 +-
 drivers/firewire/core-device.c               |  4 ++--
 drivers/mmc/host/mmci_qcom_dml.c             |  2 +-
 drivers/net/wireless/intel/ipw2x00/ipw2100.c |  4 ++--
 drivers/net/wireless/intel/ipw2x00/ipw2200.c |  2 +-
 drivers/net/wireless/ti/wlcore/init.c        |  2 +-
 drivers/power/avs/smartreflex.c              |  6 +++---
 drivers/scsi/ipr.c                           |  2 +-
 drivers/scsi/lpfc/lpfc_sli.c                 | 14 +++++++-------
 drivers/scsi/scsi_transport_sas.c            |  2 +-
 drivers/scsi/storvsc_drv.c                   |  2 +-
 drivers/usb/gadget/udc/fsl_udc_core.c        |  4 ++--
 scripts/spelling.txt                         |  1 +
 sound/soc/qcom/lpass.h                       |  2 +-
 sound/soc/soc-topology.c                     |  4 ++--
 16 files changed, 28 insertions(+), 27 deletions(-)

diff --git a/arch/arm/mach-omap2/omap_twl.c b/arch/arm/mach-omap2/omap_twl.c
index 6bf6267..1346b3a 100644
--- a/arch/arm/mach-omap2/omap_twl.c
+++ b/arch/arm/mach-omap2/omap_twl.c
@@ -1,5 +1,5 @@
 /**
- * OMAP and TWL PMIC specific intializations.
+ * OMAP and TWL PMIC specific initializations.
  *
  * Copyright (C) 2010 Texas Instruments Incorporated.
  * Thara Gopinath
diff --git a/drivers/acpi/spcr.c b/drivers/acpi/spcr.c
index e8d7bc7..90aa749 100644
--- a/drivers/acpi/spcr.c
+++ b/drivers/acpi/spcr.c
@@ -26,7 +26,7 @@
  * console is registered and if @earlycon is true, earlycon is set up.
  *
  * When CONFIG_ACPI_SPCR_TABLE is defined, this function should be called
- * from arch inintialization code as soon as the DT/ACPI decision is made.
+ * from arch initialization code as soon as the DT/ACPI decision is made.
  *
  */
 int __init parse_spcr(bool earlycon)
diff --git a/drivers/firewire/core-device.c b/drivers/firewire/core-device.c
index f9e3aee..7c2eed7 100644
--- a/drivers/firewire/core-device.c
+++ b/drivers/firewire/core-device.c
@@ -1068,7 +1068,7 @@ static void fw_device_init(struct work_struct *work)
 
 	/*
 	 * Transition the device to running state.  If it got pulled
-	 * out from under us while we did the intialization work, we
+	 * out from under us while we did the initialization work, we
 	 * have to shut down the device again here.  Normally, though,
 	 * fw_node_event will be responsible for shutting it down when
 	 * necessary.  We have to use the atomic cmpxchg here to avoid
@@ -1231,7 +1231,7 @@ void fw_node_event(struct fw_card *card, struct fw_node *node, int event)
 			break;
 
 		/*
-		 * Do minimal intialization of the device here, the
+		 * Do minimal initialization of the device here, the
 		 * rest will happen in fw_device_init().
 		 *
 		 * Attention:  A lot of things, even fw_device_get(),
diff --git a/drivers/mmc/host/mmci_qcom_dml.c b/drivers/mmc/host/mmci_qcom_dml.c
index 2b7fc37..00750c9 100644
--- a/drivers/mmc/host/mmci_qcom_dml.c
+++ b/drivers/mmc/host/mmci_qcom_dml.c
@@ -170,7 +170,7 @@ int dml_hw_init(struct mmci_host *host, struct device_node *np)
 	writel_relaxed(producer_id | (consumer_id << CONSUMER_PIPE_ID_SHFT),
 		       base + DML_PIPE_ID);
 
-	/* Make sure dml intialization is finished */
+	/* Make sure dml initialization is finished */
 	mb();
 
 	return 0;
diff --git a/drivers/net/wireless/intel/ipw2x00/ipw2100.c b/drivers/net/wireless/intel/ipw2x00/ipw2100.c
index 6417609..68aab2c 100644
--- a/drivers/net/wireless/intel/ipw2x00/ipw2100.c
+++ b/drivers/net/wireless/intel/ipw2x00/ipw2100.c
@@ -1238,7 +1238,7 @@ static int ipw2100_get_hw_features(struct ipw2100_priv *priv)
 }
 
 /*
- * Start firmware execution after power on and intialization
+ * Start firmware execution after power on and initialization
  * The sequence is:
  *  1. Release ARC
  *  2. Wait for f/w initialization completes;
@@ -1277,7 +1277,7 @@ static int ipw2100_start_adapter(struct ipw2100_priv *priv)
 	/* Release ARC - clear reset bit */
 	write_register(priv->net_dev, IPW_REG_RESET_REG, 0);
 
-	/* wait for f/w intialization complete */
+	/* wait for f/w initialization complete */
 	IPW_DEBUG_FW("Waiting for f/w initialization to complete...\n");
 	i = 5000;
 	do {
diff --git a/drivers/net/wireless/intel/ipw2x00/ipw2200.c b/drivers/net/wireless/intel/ipw2x00/ipw2200.c
index ef9af8a..c09215d 100644
--- a/drivers/net/wireless/intel/ipw2x00/ipw2200.c
+++ b/drivers/net/wireless/intel/ipw2x00/ipw2200.c
@@ -5196,7 +5196,7 @@ static void ipw_rx_queue_restock(struct ipw_priv *priv)
  * Move all used packet from rx_used to rx_free, allocating a new SKB for each.
  * Also restock the Rx queue via ipw_rx_queue_restock.
  *
- * This is called as a scheduled work item (except for during intialization)
+ * This is called as a scheduled work item (except for during initialization)
  */
 static void ipw_rx_queue_replenish(void *data)
 {
diff --git a/drivers/net/wireless/ti/wlcore/init.c b/drivers/net/wireless/ti/wlcore/init.c
index d0b7734..58898b9 100644
--- a/drivers/net/wireless/ti/wlcore/init.c
+++ b/drivers/net/wireless/ti/wlcore/init.c
@@ -544,7 +544,7 @@ static int wl12xx_init_sta_role(struct wl1271 *wl, struct wl12xx_vif *wlvif)
 	return 0;
 }
 
-/* vif-specific intialization */
+/* vif-specific initialization */
 static int wl12xx_init_ap_role(struct wl1271 *wl, struct wl12xx_vif *wlvif)
 {
 	int ret;
diff --git a/drivers/power/avs/smartreflex.c b/drivers/power/avs/smartreflex.c
index fa0f19b..974fd68 100644
--- a/drivers/power/avs/smartreflex.c
+++ b/drivers/power/avs/smartreflex.c
@@ -195,7 +195,7 @@ static void sr_stop_vddautocomp(struct omap_sr *sr)
 }
 
 /*
- * This function handles the intializations which have to be done
+ * This function handles the initializations which have to be done
  * only when both sr device and class driver regiter has
  * completed. This will be attempted to be called from both sr class
  * driver register and sr device intializtion API's. Only one call
@@ -671,7 +671,7 @@ int sr_register_class(struct omap_sr_class_data *class_data)
 	sr_class = class_data;
 
 	/*
-	 * Call into late init to do intializations that require
+	 * Call into late init to do initializations that require
 	 * both sr driver and sr class driver to be initiallized.
 	 */
 	list_for_each_entry(sr_info, &sr_list, node)
@@ -899,7 +899,7 @@ static int __init omap_sr_probe(struct platform_device *pdev)
 	list_add(&sr_info->node, &sr_list);
 
 	/*
-	 * Call into late init to do intializations that require
+	 * Call into late init to do initializations that require
 	 * both sr driver and sr class driver to be initiallized.
 	 */
 	if (sr_class) {
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index 835c59c..b29afaf 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -9330,7 +9330,7 @@ static pci_ers_result_t ipr_pci_error_detected(struct pci_dev *pdev,
  * ipr_probe_ioa_part2 - Initializes IOAs found in ipr_probe_ioa(..)
  * @ioa_cfg:	ioa cfg struct
  *
- * Description: This is the second phase of adapter intialization
+ * Description: This is the second phase of adapter initialization
  * This function takes care of initilizing the adapter to the point
  * where it can accept new commands.
 
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index 4faa767..5c671bd 100644
--- a/drivers/scsi/lpfc/lpfc_sli.c
+++ b/drivers/scsi/lpfc/lpfc_sli.c
@@ -4508,7 +4508,7 @@ lpfc_sli4_rb_setup(struct lpfc_hba *phba)
  * @phba: Pointer to HBA context object.
  * @sli_mode: sli mode - 2/3
  *
- * This function is called by the sli intialization code path
+ * This function is called by the sli initialization code path
  * to issue config_port mailbox command. This function restarts the
  * HBA firmware and issues a config_port mailbox command to configure
  * the SLI interface in the sli mode specified by sli_mode
@@ -4648,11 +4648,11 @@ lpfc_sli_config_port(struct lpfc_hba *phba, int sli_mode)
 
 
 /**
- * lpfc_sli_hba_setup - SLI intialization function
+ * lpfc_sli_hba_setup - SLI initialization function
  * @phba: Pointer to HBA context object.
  *
- * This function is the main SLI intialization function. This function
- * is called by the HBA intialization code, HBA reset code and HBA
+ * This function is the main SLI initialization function. This function
+ * is called by the HBA initialization code, HBA reset code and HBA
  * error attention handler code. Caller is not required to hold any
  * locks. This function issues config_port mailbox command to configure
  * the SLI, setup iocb rings and HBQ rings. In the end the function
@@ -6314,11 +6314,11 @@ lpfc_set_host_data(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox)
 }
 
 /**
- * lpfc_sli4_hba_setup - SLI4 device intialization PCI function
+ * lpfc_sli4_hba_setup - SLI4 device initialization PCI function
  * @phba: Pointer to HBA context object.
  *
- * This function is the main SLI4 device intialization PCI function. This
- * function is called by the HBA intialization code, HBA reset code and
+ * This function is the main SLI4 device initialization PCI function. This
+ * function is called by the HBA initialization code, HBA reset code and
  * HBA error attention handler code. Caller is not required to hold any
  * locks.
  **/
diff --git a/drivers/scsi/scsi_transport_sas.c b/drivers/scsi/scsi_transport_sas.c
index 60b651b..7b53ad0 100644
--- a/drivers/scsi/scsi_transport_sas.c
+++ b/drivers/scsi/scsi_transport_sas.c
@@ -1462,7 +1462,7 @@ static void sas_end_device_release(struct device *dev)
 }
 
 /**
- * sas_rphy_initialize - common rphy intialization
+ * sas_rphy_initialize - common rphy initialization
  * @rphy:	rphy to initialise
  *
  * Used by both sas_end_device_alloc() and sas_expander_alloc() to
diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c
index 05526b7..877e2d1 100644
--- a/drivers/scsi/storvsc_drv.c
+++ b/drivers/scsi/storvsc_drv.c
@@ -278,7 +278,7 @@ static const struct vmstor_protocol vmstor_protocols[] = {
 
 
 /*
- * This structure is sent during the intialization phase to get the different
+ * This structure is sent during the initialization phase to get the different
  * properties of the channel.
  */
 
diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c b/drivers/usb/gadget/udc/fsl_udc_core.c
index 71094e4..2714c36 100644
--- a/drivers/usb/gadget/udc/fsl_udc_core.c
+++ b/drivers/usb/gadget/udc/fsl_udc_core.c
@@ -520,7 +520,7 @@ static void struct_ep_qh_setup(struct fsl_udc *udc, unsigned char ep_num,
 /* Setup qh structure and ep register for ep0. */
 static void ep0_setup(struct fsl_udc *udc)
 {
-	/* the intialization of an ep includes: fields in QH, Regs,
+	/* the initialization of an ep includes: fields in QH, Regs,
 	 * fsl_ep struct */
 	struct_ep_qh_setup(udc, 0, USB_RECV, USB_ENDPOINT_XFER_CONTROL,
 			USB_MAX_CTRL_PAYLOAD, 0, 0);
@@ -2343,7 +2343,7 @@ static int struct_ep_setup(struct fsl_udc *udc, unsigned char index,
 }
 
 /* Driver probe function
- * all intialization operations implemented here except enabling usb_intr reg
+ * all initialization operations implemented here except enabling usb_intr reg
  * board setup should have been done in the platform code
  */
 static int fsl_udc_probe(struct platform_device *pdev)
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 78196a5..c05dd94 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -562,6 +562,7 @@ interruptted||interrupted
 interupted||interrupted
 interupt||interrupt
 intial||initial
+intialization||initialization
 intialized||initialized
 intialize||initialize
 intregral||integral
diff --git a/sound/soc/qcom/lpass.h b/sound/soc/qcom/lpass.h
index 924971b..9b03135 100644
--- a/sound/soc/qcom/lpass.h
+++ b/sound/soc/qcom/lpass.h
@@ -82,7 +82,7 @@ struct lpass_variant {
 	 **/
 	u32	dmactl_audif_start;
 	u32	wrdma_channel_start;
-	/* SOC specific intialization like clocks */
+	/* SOC specific initialization like clocks */
 	int (*init)(struct platform_device *pdev);
 	int (*exit)(struct platform_device *pdev);
 	int (*alloc_dma_channel)(struct lpass_data *data, int direction);
diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c
index 11feb19..abcb3c3 100644
--- a/sound/soc/soc-topology.c
+++ b/sound/soc/soc-topology.c
@@ -344,7 +344,7 @@ static int soc_tplg_widget_load(struct soc_tplg *tplg,
 	return 0;
 }
 
-/* pass DAI configurations to component driver for extra intialization */
+/* pass DAI configurations to component driver for extra initialization */
 static int soc_tplg_dai_load(struct soc_tplg *tplg,
 	struct snd_soc_dai_driver *dai_drv)
 {
@@ -354,7 +354,7 @@ static int soc_tplg_dai_load(struct soc_tplg *tplg,
 	return 0;
 }
 
-/* pass link configurations to component driver for extra intialization */
+/* pass link configurations to component driver for extra initialization */
 static int soc_tplg_dai_link_load(struct soc_tplg *tplg,
 	struct snd_soc_dai_link *link)
 {
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 16/31] scripts/spelling.txt: add "initialiazation" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (14 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 15/31] scripts/spelling.txt: add "intialization" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 17/31] scripts/spelling.txt: add "intialise(d)" " Masahiro Yamada
                   ` (16 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  initialiazation||initialization

While we are here, fix the "overriden" in the touched line in
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/char/sonypi.c                            | 2 +-
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 2 +-
 scripts/spelling.txt                             | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c
index 719c5b4..31c8553 100644
--- a/drivers/char/sonypi.c
+++ b/drivers/char/sonypi.c
@@ -603,7 +603,7 @@ static void sonypi_type3_srs(void)
 	u16 v16;
 	u8  v8;
 
-	/* This model type uses the same initialiazation of
+	/* This model type uses the same initialization of
 	 * the embedded controller as the type2 models. */
 	sonypi_type2_srs();
 
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
index 05356ef..b209b7f 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
@@ -6957,7 +6957,7 @@ int bnx2x_link_update(struct link_params *params, struct link_vars *vars)
 			 * hence its link is expected to be down
 			 * - SECOND_PHY means that first phy should not be able
 			 * to link up by itself (using configuration)
-			 * - DEFAULT should be overriden during initialiazation
+			 * - DEFAULT should be overridden during initialization
 			 */
 				DP(NETIF_MSG_LINK, "Invalid link indication"
 					   "mpc=0x%x. DISABLING LINK !!!\n",
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index c05dd94..8ebda27 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -534,6 +534,7 @@ initalise||initialize
 initalize||initialize
 initation||initiation
 initators||initiators
+initialiazation||initialization
 initializiation||initialization
 initialzed||initialized
 initilization||initialization
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 17/31] scripts/spelling.txt: add "intialise(d)" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (15 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 16/31] scripts/spelling.txt: add "initialiazation" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 18/31] scripts/spelling.txt: add "comsume(r)" " Masahiro Yamada
                   ` (15 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  intialisation||initialisation
  intialised||initialised
  intialise||initialise

This commit does not intend to change the British spelling itself.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 certs/blacklist.c                               | 2 +-
 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c | 8 ++++----
 drivers/video/fbdev/intelfb/intelfbdrv.c        | 2 +-
 fs/inode.c                                      | 2 +-
 fs/xfs/xfs_log_recover.c                        | 2 +-
 scripts/spelling.txt                            | 3 +++
 6 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/certs/blacklist.c b/certs/blacklist.c
index 3eddce0..3a507b9 100644
--- a/certs/blacklist.c
+++ b/certs/blacklist.c
@@ -140,7 +140,7 @@ int is_hash_blacklisted(const u8 *hash, size_t hash_len, const char *type)
 EXPORT_SYMBOL_GPL(is_hash_blacklisted);
 
 /*
- * Intialise the blacklist
+ * Initialise the blacklist
  */
 static int __init blacklist_init(void)
 {
diff --git a/drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c b/drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c
index cddcff5..5365d71 100644
--- a/drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c
+++ b/drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c
@@ -387,7 +387,7 @@ static void sxgbe_free_rx_buffers(struct net_device *dev,
 /**
  * init_tx_ring - init the TX descriptor ring
  * @dev: net device structure
- * @tx_ring: ring to be intialised
+ * @tx_ring: ring to be initialised
  * @tx_rsize: ring size
  * Description:  this function initializes the DMA TX descriptor
  */
@@ -437,7 +437,7 @@ static int init_tx_ring(struct device *dev, u8 queue_no,
 /**
  * free_rx_ring - free the RX descriptor ring
  * @dev: net device structure
- * @rx_ring: ring to be intialised
+ * @rx_ring: ring to be initialised
  * @rx_rsize: ring size
  * Description:  this function initializes the DMA RX descriptor
  */
@@ -453,7 +453,7 @@ static void free_rx_ring(struct device *dev, struct sxgbe_rx_queue *rx_ring,
 /**
  * init_rx_ring - init the RX descriptor ring
  * @dev: net device structure
- * @rx_ring: ring to be intialised
+ * @rx_ring: ring to be initialised
  * @rx_rsize: ring size
  * Description:  this function initializes the DMA RX descriptor
  */
@@ -539,7 +539,7 @@ static int init_rx_ring(struct net_device *dev, u8 queue_no,
 /**
  * free_tx_ring - free the TX descriptor ring
  * @dev: net device structure
- * @tx_ring: ring to be intialised
+ * @tx_ring: ring to be initialised
  * @tx_rsize: ring size
  * Description:  this function initializes the DMA TX descriptor
  */
diff --git a/drivers/video/fbdev/intelfb/intelfbdrv.c b/drivers/video/fbdev/intelfb/intelfbdrv.c
index ff2a5d2..6b444400 100644
--- a/drivers/video/fbdev/intelfb/intelfbdrv.c
+++ b/drivers/video/fbdev/intelfb/intelfbdrv.c
@@ -934,7 +934,7 @@ static __inline__ int var_to_refresh(const struct fb_var_screeninfo *var)
 }
 
 /***************************************************************
- *                Various intialisation functions              *
+ *                Various initialisation functions             *
  ***************************************************************/
 
 static void get_initial_mode(struct intelfb_info *dinfo)
diff --git a/fs/inode.c b/fs/inode.c
index 88110fd..0b3ee89 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -119,7 +119,7 @@ static int no_open(struct inode *inode, struct file *file)
 }
 
 /**
- * inode_init_always - perform inode structure intialisation
+ * inode_init_always - perform inode structure initialisation
  * @sb: superblock inode belongs to
  * @inode: inode to initialise
  *
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c
index 4a98762..cd0b077 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -3796,7 +3796,7 @@ xlog_recover_bud_pass2(
  * This routine is called when an inode create format structure is found in a
  * committed transaction in the log.  It's purpose is to initialise the inodes
  * being allocated on disk. This requires us to get inode cluster buffers that
- * match the range to be intialised, stamped with inode templates and written
+ * match the range to be initialised, stamped with inode templates and written
  * by delayed write so that subsequent modifications will hit the cached buffer
  * and only need writing out at the end of recovery.
  */
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 8ebda27..443c581 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -563,6 +563,9 @@ interruptted||interrupted
 interupted||interrupted
 interupt||interrupt
 intial||initial
+intialisation||initialisation
+intialised||initialised
+intialise||initialise
 intialization||initialization
 intialized||initialized
 intialize||initialize
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 18/31] scripts/spelling.txt: add "comsume(r)" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (16 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 17/31] scripts/spelling.txt: add "intialise(d)" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 19/31] scripts/spelling.txt: add "disble(d)" " Masahiro Yamada
                   ` (14 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  comsume||consume
  comsumer||consumer
  comsuming||consuming

I see some variable names with this pattern, but this commit is only
touching comment blocks to avoid unexpected impact.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/hid/hid-kye.c                   | 2 +-
 drivers/misc/vmw_vmci/vmci_queue_pair.c | 2 +-
 drivers/net/ethernet/sis/sis900.c       | 2 +-
 drivers/scsi/lpfc/lpfc_sli.c            | 4 ++--
 drivers/tty/serial/ioc4_serial.c        | 2 +-
 fs/ext4/extents_status.c                | 2 +-
 mm/page-writeback.c                     | 2 +-
 scripts/spelling.txt                    | 3 +++
 8 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/drivers/hid/hid-kye.c b/drivers/hid/hid-kye.c
index 0dd1167..9c113f6 100644
--- a/drivers/hid/hid-kye.c
+++ b/drivers/hid/hid-kye.c
@@ -487,7 +487,7 @@ static __u8 *kye_consumer_control_fixup(struct hid_device *hdev, __u8 *rdesc,
 		unsigned int *rsize, int offset, const char *device_name) {
 	/*
 	 * the fixup that need to be done:
-	 *   - change Usage Maximum in the Comsumer Control
+	 *   - change Usage Maximum in the Consumer Control
 	 *     (report ID 3) to a reasonable value
 	 */
 	if (*rsize >= offset + 31 &&
diff --git a/drivers/misc/vmw_vmci/vmci_queue_pair.c b/drivers/misc/vmw_vmci/vmci_queue_pair.c
index f84a427..498c085 100644
--- a/drivers/misc/vmw_vmci/vmci_queue_pair.c
+++ b/drivers/misc/vmw_vmci/vmci_queue_pair.c
@@ -2928,7 +2928,7 @@ int vmci_qpair_get_produce_indexes(const struct vmci_qp *qpair,
 EXPORT_SYMBOL_GPL(vmci_qpair_get_produce_indexes);
 
 /*
- * vmci_qpair_get_consume_indexes() - Retrieves the indexes of the comsumer.
+ * vmci_qpair_get_consume_indexes() - Retrieves the indexes of the consumer.
  * @qpair:      Pointer to the queue pair struct.
  * @consumer_tail:      Reference used for storing consumer tail index.
  * @producer_head:      Reference used for storing the producer head index.
diff --git a/drivers/net/ethernet/sis/sis900.c b/drivers/net/ethernet/sis/sis900.c
index 39fca6c..dbc6f9d 100644
--- a/drivers/net/ethernet/sis/sis900.c
+++ b/drivers/net/ethernet/sis/sis900.c
@@ -176,7 +176,7 @@ struct sis900_private {
 
 	u32 msg_enable;
 
-	unsigned int cur_rx, dirty_rx; /* producer/comsumer pointers for Tx/Rx ring */
+	unsigned int cur_rx, dirty_rx; /* producer/consumer pointers for Tx/Rx ring */
 	unsigned int cur_tx, dirty_tx;
 
 	/* The saved address of a sent/receive-in-place packet buffer */
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index 5c671bd..537e42d 100644
--- a/drivers/scsi/lpfc/lpfc_sli.c
+++ b/drivers/scsi/lpfc/lpfc_sli.c
@@ -12068,7 +12068,7 @@ lpfc_sli4_sp_handle_els_wcqe(struct lpfc_hba *phba, struct lpfc_queue *cq,
  * @phba: Pointer to HBA context object.
  * @wcqe: Pointer to work-queue completion queue entry.
  *
- * This routine handles slow-path WQ entry comsumed event by invoking the
+ * This routine handles slow-path WQ entry consumed event by invoking the
  * proper WQ release routine to the slow-path WQ.
  **/
 static void
@@ -12440,7 +12440,7 @@ lpfc_sli4_fp_handle_fcp_wcqe(struct lpfc_hba *phba, struct lpfc_queue *cq,
  * @cq: Pointer to completion queue.
  * @wcqe: Pointer to work-queue completion queue entry.
  *
- * This routine handles an fast-path WQ entry comsumed event by invoking the
+ * This routine handles an fast-path WQ entry consumed event by invoking the
  * proper WQ release routine to the slow-path WQ.
  **/
 static void
diff --git a/drivers/tty/serial/ioc4_serial.c b/drivers/tty/serial/ioc4_serial.c
index 3be051abb..c004da4 100644
--- a/drivers/tty/serial/ioc4_serial.c
+++ b/drivers/tty/serial/ioc4_serial.c
@@ -210,7 +210,7 @@
 #define IOC4_SSCR_PAUSE_STATE   0x40000000  /* Sets when PAUSE takes effect */
 #define IOC4_SSCR_RESET	        0x80000000  /* Reset DMA channels */
 
-/* All producer/comsumer pointers are the same bitfield */
+/* All producer/consumer pointers are the same bitfield */
 #define IOC4_PROD_CONS_PTR_4K   0x00000ff8	/* For 4K buffers */
 #define IOC4_PROD_CONS_PTR_1K   0x000003f8	/* For 1K buffers */
 #define IOC4_PROD_CONS_PTR_OFF           3
diff --git a/fs/ext4/extents_status.c b/fs/ext4/extents_status.c
index 37e0592..e7f12a2 100644
--- a/fs/ext4/extents_status.c
+++ b/fs/ext4/extents_status.c
@@ -84,7 +84,7 @@
  *   --	writeout
  *	Writeout looks up whole page cache to see if a buffer is
  *	mapped, If there are not very many delayed buffers, then it is
- *	time comsuming.
+ *	time consuming.
  *
  * With extent status tree implementation, FIEMAP, SEEK_HOLE/DATA,
  * bigalloc and writeout can figure out if a block or a range of
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index 290e8b7..b67c240 100644
--- a/mm/page-writeback.c
+++ b/mm/page-writeback.c
@@ -1797,7 +1797,7 @@ static void balance_dirty_pages(struct address_space *mapping,
 		 * pages exceeds dirty_thresh, give the other good wb's a pipe
 		 * to go through, so that tasks on them still remain responsive.
 		 *
-		 * In theory 1 page is enough to keep the comsumer-producer
+		 * In theory 1 page is enough to keep the consumer-producer
 		 * pipe going: the flusher cleans 1 page => the task dirties 1
 		 * more page. However wb_dirty has accounting errors.  So use
 		 * the larger and more IO friendly wb_stat_error.
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 443c581..cfdc15b 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -241,6 +241,9 @@ commited||committed
 commiting||committing
 committ||commit
 commoditiy||commodity
+comsume||consume
+comsumer||consumer
+comsuming||consuming
 compability||compatibility
 compaibility||compatibility
 compatability||compatibility
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 19/31] scripts/spelling.txt: add "disble(d)" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (17 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 18/31] scripts/spelling.txt: add "comsume(r)" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 20/31] scripts/spelling.txt: add "overide" " Masahiro Yamada
                   ` (13 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  disble||disable
  disbled||disabled

I kept the TSL2563_INT_DISBLED in /drivers/iio/light/tsl2563.c
untouched.  The macro is not referenced at all, but this commit is
touching only comment blocks just in case.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 Documentation/dev-tools/kcov.rst        | 2 +-
 arch/cris/arch-v32/drivers/cryptocop.c  | 2 +-
 arch/x86/kernel/ftrace.c                | 2 +-
 drivers/crypto/ux500/cryp/cryp.c        | 2 +-
 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c  | 2 +-
 drivers/hv/channel.c                    | 2 +-
 drivers/isdn/hisax/st5481_b.c           | 2 +-
 drivers/mtd/spi-nor/spi-nor.c           | 2 +-
 drivers/net/can/flexcan.c               | 2 +-
 drivers/net/ethernet/qlogic/qlge/qlge.h | 2 +-
 drivers/scsi/aic7xxx/aic79xx_core.c     | 2 +-
 drivers/usb/gadget/legacy/inode.c       | 3 +--
 drivers/usb/host/xhci.c                 | 4 ++--
 include/linux/regulator/machine.h       | 2 +-
 kernel/cgroup.c                         | 2 +-
 kernel/events/core.c                    | 2 +-
 scripts/spelling.txt                    | 2 ++
 sound/soc/amd/acp-pcm-dma.c             | 2 +-
 18 files changed, 20 insertions(+), 19 deletions(-)

diff --git a/Documentation/dev-tools/kcov.rst b/Documentation/dev-tools/kcov.rst
index 2c41b71..44886c9 100644
--- a/Documentation/dev-tools/kcov.rst
+++ b/Documentation/dev-tools/kcov.rst
@@ -10,7 +10,7 @@ Note that kcov does not aim to collect as much coverage as possible. It aims
 to collect more or less stable coverage that is function of syscall inputs.
 To achieve this goal it does not collect coverage in soft/hard interrupts
 and instrumentation of some inherently non-deterministic parts of kernel is
-disbled (e.g. scheduler, locking).
+disabled (e.g. scheduler, locking).
 
 Usage
 -----
diff --git a/arch/cris/arch-v32/drivers/cryptocop.c b/arch/cris/arch-v32/drivers/cryptocop.c
index 0068fd4..8cbe152 100644
--- a/arch/cris/arch-v32/drivers/cryptocop.c
+++ b/arch/cris/arch-v32/drivers/cryptocop.c
@@ -2086,7 +2086,7 @@ static void cryptocop_job_queue_close(void)
 		dma_in_cfg.en = regk_dma_no;
 		REG_WR(dma, IN_DMA_INST, rw_cfg, dma_in_cfg);
 
-		/* Disble the cryptocop. */
+		/* Disable the cryptocop. */
 		rw_cfg = REG_RD(strcop, regi_strcop, rw_cfg);
 		rw_cfg.en = 0;
 		REG_WR(strcop, regi_strcop, rw_cfg, rw_cfg);
diff --git a/arch/x86/kernel/ftrace.c b/arch/x86/kernel/ftrace.c
index 8639bb2..8f3d9cf 100644
--- a/arch/x86/kernel/ftrace.c
+++ b/arch/x86/kernel/ftrace.c
@@ -535,7 +535,7 @@ static void run_sync(void)
 {
 	int enable_irqs = irqs_disabled();
 
-	/* We may be called with interrupts disbled (on bootup). */
+	/* We may be called with interrupts disabled (on bootup). */
 	if (enable_irqs)
 		local_irq_enable();
 	on_each_cpu(do_sync_core, NULL, 1);
diff --git a/drivers/crypto/ux500/cryp/cryp.c b/drivers/crypto/ux500/cryp/cryp.c
index 43a0c8a..00a16ab 100644
--- a/drivers/crypto/ux500/cryp/cryp.c
+++ b/drivers/crypto/ux500/cryp/cryp.c
@@ -82,7 +82,7 @@ void cryp_activity(struct cryp_device_data *device_data,
 void cryp_flush_inoutfifo(struct cryp_device_data *device_data)
 {
 	/*
-	 * We always need to disble the hardware before trying to flush the
+	 * We always need to disable the hardware before trying to flush the
 	 * FIFO. This is something that isn't written in the design
 	 * specification, but we have been informed by the hardware designers
 	 * that this must be done.
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
index 1170a64..f5c36c4 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
@@ -782,7 +782,7 @@ static int sdma_v3_0_start(struct amdgpu_device *adev)
 		}
 	}
 
-	/* disble sdma engine before programing it */
+	/* disable sdma engine before programing it */
 	sdma_v3_0_ctx_switch_enable(adev, false);
 	sdma_v3_0_enable(adev, false);
 
diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c
index 5fb4c6d..4b3d9bd 100644
--- a/drivers/hv/channel.c
+++ b/drivers/hv/channel.c
@@ -529,7 +529,7 @@ static int vmbus_close_internal(struct vmbus_channel *channel)
 	/*
 	 * In case a device driver's probe() fails (e.g.,
 	 * util_probe() -> vmbus_open() returns -ENOMEM) and the device is
-	 * rescinded later (e.g., we dynamically disble an Integrated Service
+	 * rescinded later (e.g., we dynamically disable an Integrated Service
 	 * in Hyper-V Manager), the driver's remove() invokes vmbus_close():
 	 * here we should skip most of the below cleanup work.
 	 */
diff --git a/drivers/isdn/hisax/st5481_b.c b/drivers/isdn/hisax/st5481_b.c
index 4098491..f64a360 100644
--- a/drivers/isdn/hisax/st5481_b.c
+++ b/drivers/isdn/hisax/st5481_b.c
@@ -239,7 +239,7 @@ static void st5481B_mode(struct st5481_bcs *bcs, int mode)
 			}
 		}
 	} else {
-		// Disble B channel interrupts
+		// Disable B channel interrupts
 		st5481_usb_device_ctrl_msg(adapter, FFMSK_B1+(bcs->channel * 2), 0, NULL, NULL);
 
 		// Disable B channel FIFOs
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index da7cd69..25a1bcf 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -176,7 +176,7 @@ static inline int write_enable(struct spi_nor *nor)
 }
 
 /*
- * Send write disble instruction to the chip.
+ * Send write disable instruction to the chip.
  */
 static inline int write_disable(struct spi_nor *nor)
 {
diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c
index 16f7cad..157094c 100644
--- a/drivers/net/can/flexcan.c
+++ b/drivers/net/can/flexcan.c
@@ -189,7 +189,7 @@
  */
 #define FLEXCAN_QUIRK_BROKEN_ERR_STATE	BIT(1) /* [TR]WRN_INT not connected */
 #define FLEXCAN_QUIRK_DISABLE_RXFG	BIT(2) /* Disable RX FIFO Global mask */
-#define FLEXCAN_QUIRK_DISABLE_MECR	BIT(3) /* Disble Memory error detection */
+#define FLEXCAN_QUIRK_DISABLE_MECR	BIT(3) /* Disable Memory error detection */
 
 /* Structure of the message buffer */
 struct flexcan_mb {
diff --git a/drivers/net/ethernet/qlogic/qlge/qlge.h b/drivers/net/ethernet/qlogic/qlge/qlge.h
index 6d31f92..90b3b46 100644
--- a/drivers/net/ethernet/qlogic/qlge/qlge.h
+++ b/drivers/net/ethernet/qlogic/qlge/qlge.h
@@ -1163,7 +1163,7 @@ struct ib_mac_iocb_rsp {
 	u8 opcode;		/* 0x20 */
 	u8 flags1;
 #define IB_MAC_IOCB_RSP_OI	0x01	/* Overide intr delay */
-#define IB_MAC_IOCB_RSP_I	0x02	/* Disble Intr Generation */
+#define IB_MAC_IOCB_RSP_I	0x02	/* Disable Intr Generation */
 #define IB_MAC_CSUM_ERR_MASK 0x1c	/* A mask to use for csum errs */
 #define IB_MAC_IOCB_RSP_TE	0x04	/* Checksum error */
 #define IB_MAC_IOCB_RSP_NU	0x08	/* No checksum rcvd */
diff --git a/drivers/scsi/aic7xxx/aic79xx_core.c b/drivers/scsi/aic7xxx/aic79xx_core.c
index 109e2c9..95d8f25 100644
--- a/drivers/scsi/aic7xxx/aic79xx_core.c
+++ b/drivers/scsi/aic7xxx/aic79xx_core.c
@@ -6278,7 +6278,7 @@ ahd_reset(struct ahd_softc *ahd, int reinit)
 		 * does not disable its parity logic prior to
 		 * the start of the reset.  This may cause a
 		 * parity error to be detected and thus a
-		 * spurious SERR or PERR assertion.  Disble
+		 * spurious SERR or PERR assertion.  Disable
 		 * PERR and SERR responses during the CHIPRST.
 		 */
 		mod_cmd = cmd & ~(PCIM_CMD_PERRESPEN|PCIM_CMD_SERRESPEN);
diff --git a/drivers/usb/gadget/legacy/inode.c b/drivers/usb/gadget/legacy/inode.c
index 10b2576..abf4552 100644
--- a/drivers/usb/gadget/legacy/inode.c
+++ b/drivers/usb/gadget/legacy/inode.c
@@ -84,8 +84,7 @@ static int ep_open(struct inode *, struct file *);
 
 /* /dev/gadget/$CHIP represents ep0 and the whole device */
 enum ep0_state {
-	/* DISBLED is the initial state.
-	 */
+	/* DISABLED is the initial state. */
 	STATE_DEV_DISABLED = 0,
 
 	/* Only one open() of /dev/gadget/$CHIP; only one file tracks
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index 1cd5641..7ec2ede 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -868,7 +868,7 @@ static void xhci_disable_port_wake_on_bits(struct xhci_hcd *xhci)
 
 	spin_lock_irqsave(&xhci->lock, flags);
 
-	/* disble usb3 ports Wake bits*/
+	/* disable usb3 ports Wake bits */
 	port_index = xhci->num_usb3_ports;
 	port_array = xhci->usb3_ports;
 	while (port_index--) {
@@ -879,7 +879,7 @@ static void xhci_disable_port_wake_on_bits(struct xhci_hcd *xhci)
 			writel(t2, port_array[port_index]);
 	}
 
-	/* disble usb2 ports Wake bits*/
+	/* disable usb2 ports Wake bits */
 	port_index = xhci->num_usb2_ports;
 	port_array = xhci->usb2_ports;
 	while (port_index--) {
diff --git a/include/linux/regulator/machine.h b/include/linux/regulator/machine.h
index ad3e515..c9f795e 100644
--- a/include/linux/regulator/machine.h
+++ b/include/linux/regulator/machine.h
@@ -65,7 +65,7 @@ struct regulator_state {
 	int uV;	/* suspend voltage */
 	unsigned int mode; /* suspend regulator operating mode */
 	int enabled; /* is regulator enabled in this suspend state */
-	int disabled; /* is the regulator disbled in this suspend state */
+	int disabled; /* is the regulator disabled in this suspend state */
 };
 
 /**
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 2ee9ec3..9c8ae0b 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -3244,7 +3244,7 @@ static bool css_visible(struct cgroup_subsys_state *css)
  *
  * Returns 0 on success, -errno on failure.  On failure, csses which have
  * been processed already aren't cleaned up.  The caller is responsible for
- * cleaning up with cgroup_apply_control_disble().
+ * cleaning up with cgroup_apply_control_disable().
  */
 static int cgroup_apply_control_enable(struct cgroup *cgrp)
 {
diff --git a/kernel/events/core.c b/kernel/events/core.c
index ab15509..f359dc0 100644
--- a/kernel/events/core.c
+++ b/kernel/events/core.c
@@ -1005,7 +1005,7 @@ list_update_cgroup_event(struct perf_event *event,
  */
 #define PERF_CPU_HRTIMER (1000 / HZ)
 /*
- * function must be called with interrupts disbled
+ * function must be called with interrupts disabled
  */
 static enum hrtimer_restart perf_mux_hrtimer_handler(struct hrtimer *hr)
 {
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index cfdc15b..d181c25 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -359,6 +359,8 @@ direectly||directly
 disapear||disappear
 disapeared||disappeared
 disappared||disappeared
+disble||disable
+disbled||disabled
 disconnet||disconnect
 discontinous||discontinuous
 dispertion||dispersion
diff --git a/sound/soc/amd/acp-pcm-dma.c b/sound/soc/amd/acp-pcm-dma.c
index 504c7cd..df52cb0 100644
--- a/sound/soc/amd/acp-pcm-dma.c
+++ b/sound/soc/amd/acp-pcm-dma.c
@@ -89,7 +89,7 @@ static void acp_reg_write(u32 val, void __iomem *acp_mmio, u32 reg)
 	writel(val, acp_mmio + (reg * 4));
 }
 
-/* Configure a given dma channel parameters - enable/disble,
+/* Configure a given dma channel parameters - enable/disable,
  * number of descriptors, priority
  */
 static void config_acp_dma_channel(void __iomem *acp_mmio, u8 ch_num,
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 20/31] scripts/spelling.txt: add "overide" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (18 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 19/31] scripts/spelling.txt: add "disble(d)" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 21/31] scripts/spelling.txt: add "overrided" " Masahiro Yamada
                   ` (12 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  overide||override

While we are here, fix the doubled "address" in the touched line
Documentation/devicetree/bindings/regulator/ti-abb-regulator.txt.

Also, fix the comment block style in the touched hunks in
drivers/media/dvb-frontends/drx39xyj/drx_driver.h.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 Documentation/devicetree/bindings/regulator/ti-abb-regulator.txt | 2 +-
 drivers/block/paride/pcd.c                                       | 2 +-
 drivers/block/paride/pd.c                                        | 2 +-
 drivers/block/paride/pf.c                                        | 2 +-
 drivers/block/paride/pg.c                                        | 2 +-
 drivers/block/paride/pt.c                                        | 2 +-
 drivers/media/dvb-frontends/drx39xyj/drx_driver.h                | 8 +++-----
 drivers/net/ethernet/qlogic/qlge/qlge.h                          | 2 +-
 include/dt-bindings/sound/cs42l42.h                              | 2 +-
 include/net/irda/timer.h                                         | 2 +-
 kernel/trace/trace_stack.c                                       | 2 +-
 scripts/spelling.txt                                             | 1 +
 tools/lguest/lguest.c                                            | 2 +-
 tools/lib/bpf/Makefile                                           | 2 +-
 tools/lib/traceevent/Makefile                                    | 2 +-
 tools/lib/traceevent/event-parse.h                               | 2 +-
 16 files changed, 18 insertions(+), 19 deletions(-)

diff --git a/Documentation/devicetree/bindings/regulator/ti-abb-regulator.txt b/Documentation/devicetree/bindings/regulator/ti-abb-regulator.txt
index c3f6546..6a23ad9 100644
--- a/Documentation/devicetree/bindings/regulator/ti-abb-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/ti-abb-regulator.txt
@@ -45,7 +45,7 @@ Required Properties:
 Optional Properties:
 - reg-names: In addition to the required properties, the following are optional
   - "efuse-address"	- Contains efuse base address used to pick up ABB info.
-  - "ldo-address"	- Contains address of ABB LDO overide register address.
+  - "ldo-address"	- Contains address of ABB LDO override register.
 	"efuse-address" is required for this.
 - ti,ldovbb-vset-mask	- Required if ldo-address is set, mask for LDO override
 	register to provide override vset value.
diff --git a/drivers/block/paride/pcd.c b/drivers/block/paride/pcd.c
index 9336236..e5b4ac4 100644
--- a/drivers/block/paride/pcd.c
+++ b/drivers/block/paride/pcd.c
@@ -50,7 +50,7 @@
                         the slower the port i/o.  In some cases, setting
                         this to zero will speed up the device. (default -1)
                         
-            major       You may use this parameter to overide the
+            major       You may use this parameter to override the
                         default major number (46) that this driver
                         will use.  Be sure to change the device
                         name as well.
diff --git a/drivers/block/paride/pd.c b/drivers/block/paride/pd.c
index 78a39f7..c00c3c6 100644
--- a/drivers/block/paride/pd.c
+++ b/drivers/block/paride/pd.c
@@ -61,7 +61,7 @@
                         first drive found.
 			
 
-            major       You may use this parameter to overide the
+            major       You may use this parameter to override the
                         default major number (45) that this driver
                         will use.  Be sure to change the device
                         name as well.
diff --git a/drivers/block/paride/pf.c b/drivers/block/paride/pf.c
index 7a7d977..e26a987 100644
--- a/drivers/block/paride/pf.c
+++ b/drivers/block/paride/pf.c
@@ -59,7 +59,7 @@
                         the slower the port i/o.  In some cases, setting
                         this to zero will speed up the device. (default -1)
 
-	    major	You may use this parameter to overide the
+	    major	You may use this parameter to override the
 			default major number (47) that this driver
 			will use.  Be sure to change the device
 			name as well.
diff --git a/drivers/block/paride/pg.c b/drivers/block/paride/pg.c
index bfbd4c8..e4054e3 100644
--- a/drivers/block/paride/pg.c
+++ b/drivers/block/paride/pg.c
@@ -84,7 +84,7 @@
 			the slower the port i/o.  In some cases, setting
 			this to zero will speed up the device. (default -1)
 
-	    major	You may use this parameter to overide the
+	    major	You may use this parameter to override the
 			default major number (97) that this driver
 			will use.  Be sure to change the device
 			name as well.
diff --git a/drivers/block/paride/pt.c b/drivers/block/paride/pt.c
index 216a94f..30661d2 100644
--- a/drivers/block/paride/pt.c
+++ b/drivers/block/paride/pt.c
@@ -61,7 +61,7 @@
                         the slower the port i/o.  In some cases, setting
                         this to zero will speed up the device. (default -1)
 
-	    major	You may use this parameter to overide the
+	    major	You may use this parameter to override the
 			default major number (96) that this driver
 			will use.  Be sure to change the device
 			name as well.
diff --git a/drivers/media/dvb-frontends/drx39xyj/drx_driver.h b/drivers/media/dvb-frontends/drx39xyj/drx_driver.h
index 9076bf2..bc052ea 100644
--- a/drivers/media/dvb-frontends/drx39xyj/drx_driver.h
+++ b/drivers/media/dvb-frontends/drx39xyj/drx_driver.h
@@ -256,8 +256,7 @@ int drxbsp_tuner_default_i2c_write_read(struct tuner_instance *tuner,
 *
 * The actual DAP implementation may be restricted to only one of the modes.
 * A compiler warning or error will be generated if the DAP implementation
-* overides or cannot handle the mode defined below.
-*
+* overrides or cannot handle the mode defined below.
 */
 #ifndef DRXDAP_SINGLE_MASTER
 #define DRXDAP_SINGLE_MASTER 1
@@ -272,7 +271,7 @@ int drxbsp_tuner_default_i2c_write_read(struct tuner_instance *tuner,
 *
 * This maximum size may be restricted by the actual DAP implementation.
 * A compiler warning or error will be generated if the DAP implementation
-* overides or cannot handle the chunksize defined below.
+* overrides or cannot handle the chunksize defined below.
 *
 * Beware that the DAP uses  DRXDAP_MAX_WCHUNKSIZE to create a temporary data
 * buffer. Do not undefine or choose too large, unless your system is able to
@@ -292,8 +291,7 @@ int drxbsp_tuner_default_i2c_write_read(struct tuner_instance *tuner,
 *
 * This maximum size may be restricted by the actual DAP implementation.
 * A compiler warning or error will be generated if the DAP implementation
-* overides or cannot handle the chunksize defined below.
-*
+* overrides or cannot handle the chunksize defined below.
 */
 #ifndef DRXDAP_MAX_RCHUNKSIZE
 #define  DRXDAP_MAX_RCHUNKSIZE 60
diff --git a/drivers/net/ethernet/qlogic/qlge/qlge.h b/drivers/net/ethernet/qlogic/qlge/qlge.h
index 90b3b46..84ac50f 100644
--- a/drivers/net/ethernet/qlogic/qlge/qlge.h
+++ b/drivers/net/ethernet/qlogic/qlge/qlge.h
@@ -1162,7 +1162,7 @@ struct ob_mac_tso_iocb_rsp {
 struct ib_mac_iocb_rsp {
 	u8 opcode;		/* 0x20 */
 	u8 flags1;
-#define IB_MAC_IOCB_RSP_OI	0x01	/* Overide intr delay */
+#define IB_MAC_IOCB_RSP_OI	0x01	/* Override intr delay */
 #define IB_MAC_IOCB_RSP_I	0x02	/* Disable Intr Generation */
 #define IB_MAC_CSUM_ERR_MASK 0x1c	/* A mask to use for csum errs */
 #define IB_MAC_IOCB_RSP_TE	0x04	/* Checksum error */
diff --git a/include/dt-bindings/sound/cs42l42.h b/include/dt-bindings/sound/cs42l42.h
index 399a123..db69d84 100644
--- a/include/dt-bindings/sound/cs42l42.h
+++ b/include/dt-bindings/sound/cs42l42.h
@@ -20,7 +20,7 @@
 #define CS42L42_HPOUT_LOAD_1NF		0
 #define CS42L42_HPOUT_LOAD_10NF		1
 
-/* HPOUT Clamp to GND Overide */
+/* HPOUT Clamp to GND Override */
 #define CS42L42_HPOUT_CLAMP_EN		0
 #define CS42L42_HPOUT_CLAMP_DIS		1
 
diff --git a/include/net/irda/timer.h b/include/net/irda/timer.h
index cb2615c..d784f24 100644
--- a/include/net/irda/timer.h
+++ b/include/net/irda/timer.h
@@ -59,7 +59,7 @@ struct lap_cb;
  *  Slot timer must never exceed 85 ms, and must always be at least 25 ms, 
  *  suggested to  75-85 msec by IrDA lite. This doesn't work with a lot of
  *  devices, and other stackes uses a lot more, so it's best we do it as well
- *  (Note : this is the default value and sysctl overides it - Jean II)
+ *  (Note : this is the default value and sysctl overrides it - Jean II)
  */
 #define SLOT_TIMEOUT            (90*HZ/1000)
 
diff --git a/kernel/trace/trace_stack.c b/kernel/trace/trace_stack.c
index 2a1abba..93a88d5 100644
--- a/kernel/trace/trace_stack.c
+++ b/kernel/trace/trace_stack.c
@@ -64,7 +64,7 @@ void stack_trace_print(void)
 }
 
 /*
- * When arch-specific code overides this function, the following
+ * When arch-specific code overrides this function, the following
  * data should be filled up, assuming stack_trace_max_lock is held to
  * prevent concurrent updates.
  *     stack_trace_index[]
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index d181c25..341df2b 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -706,6 +706,7 @@ ouput||output
 overaall||overall
 overhread||overhead
 overlaping||overlapping
+overide||override
 overriden||overridden
 overun||overrun
 pacakge||package
diff --git a/tools/lguest/lguest.c b/tools/lguest/lguest.c
index 11c8d9b..5d19fdf 100644
--- a/tools/lguest/lguest.c
+++ b/tools/lguest/lguest.c
@@ -1387,7 +1387,7 @@ static bool pci_data_iowrite(u16 port, u32 mask, u32 val)
 		/* Allow writing to any other BAR, or expansion ROM */
 		iowrite(portoff, val, mask, &d->config_words[reg]);
 		return true;
-		/* We let them overide latency timer and cacheline size */
+		/* We let them override latency timer and cacheline size */
 	} else if (&d->config_words[reg] == (void *)&d->config.cacheline_size) {
 		/* Only let them change the first two fields. */
 		if (mask == 0xFFFFFFFF)
diff --git a/tools/lib/bpf/Makefile b/tools/lib/bpf/Makefile
index 62d89d5..1902caf 100644
--- a/tools/lib/bpf/Makefile
+++ b/tools/lib/bpf/Makefile
@@ -132,7 +132,7 @@ else
   Q = @
 endif
 
-# Disable command line variables (CFLAGS) overide from top
+# Disable command line variables (CFLAGS) override from top
 # level Makefile (perf), otherwise build Makefile will get
 # the same command line setup.
 MAKEOVERRIDES=
diff --git a/tools/lib/traceevent/Makefile b/tools/lib/traceevent/Makefile
index c76012e..187a334 100644
--- a/tools/lib/traceevent/Makefile
+++ b/tools/lib/traceevent/Makefile
@@ -135,7 +135,7 @@ else
   Q = @
 endif
 
-# Disable command line variables (CFLAGS) overide from top
+# Disable command line variables (CFLAGS) override from top
 # level Makefile (perf), otherwise build Makefile will get
 # the same command line setup.
 MAKEOVERRIDES=
diff --git a/tools/lib/traceevent/event-parse.h b/tools/lib/traceevent/event-parse.h
index 7aae746..891168f 100644
--- a/tools/lib/traceevent/event-parse.h
+++ b/tools/lib/traceevent/event-parse.h
@@ -140,7 +140,7 @@ struct pevent_plugin_option {
  *   struct pevent_plugin_option PEVENT_PLUGIN_OPTIONS[] = {
  *	{
  *		.name = "option-name",
- *		.plugin_alias = "overide-file-name", (optional)
+ *		.plugin_alias = "override-file-name", (optional)
  *		.description = "description of option to show users",
  *	},
  *	{
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 21/31] scripts/spelling.txt: add "overrided" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (19 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 20/31] scripts/spelling.txt: add "overide" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 22/31] scripts/spelling.txt: add "configuartion" " Masahiro Yamada
                   ` (11 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  overrided||overridden

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 Documentation/acpi/method-customizing.txt           | 2 +-
 arch/powerpc/platforms/powernv/pci-ioda.c           | 2 +-
 drivers/acpi/resource.c                             | 2 +-
 drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h | 2 +-
 drivers/net/ethernet/broadcom/bcm63xx_enet.c        | 2 +-
 drivers/net/ethernet/micrel/ksz884x.c               | 8 ++++----
 drivers/pinctrl/bcm/Kconfig                         | 2 +-
 scripts/spelling.txt                                | 1 +
 tools/lib/bpf/bpf.c                                 | 2 +-
 9 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/Documentation/acpi/method-customizing.txt b/Documentation/acpi/method-customizing.txt
index 5f55373..a3f598e 100644
--- a/Documentation/acpi/method-customizing.txt
+++ b/Documentation/acpi/method-customizing.txt
@@ -57,7 +57,7 @@ Note: To get the ACPI debug object output (Store (AAAA, Debug)),
 3. undo your changes
    The "undo" operation is not supported for a new inserted method
    right now, i.e. we can not remove a method currently.
-   For an overrided method, in order to undo your changes, please
+   For an overridden method, in order to undo your changes, please
    save a copy of the method original ASL code in step c) section 1,
    and redo step c) ~ g) to override the method with the original one.
 
diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/arch/powerpc/platforms/powernv/pci-ioda.c
index b07680c..76ca260 100644
--- a/arch/powerpc/platforms/powernv/pci-ioda.c
+++ b/arch/powerpc/platforms/powernv/pci-ioda.c
@@ -3031,7 +3031,7 @@ static void pnv_ioda_setup_pe_res(struct pnv_ioda_pe *pe,
 /*
  * This function is supposed to be called on basis of PE from top
  * to bottom style. So the the I/O or MMIO segment assigned to
- * parent PE could be overrided by its child PEs if necessary.
+ * parent PE could be overridden by its child PEs if necessary.
  */
 static void pnv_ioda_setup_pe_seg(struct pnv_ioda_pe *pe)
 {
diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index cb57962..5b62d43 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -393,7 +393,7 @@ static void acpi_dev_get_irqresource(struct resource *res, u32 gsi,
 	}
 
 	/*
-	 * In IO-APIC mode, use overrided attribute. Two reasons:
+	 * In IO-APIC mode, use overridden attribute. Two reasons:
 	 * 1. BIOS bug in DSDT
 	 * 2. BIOS uses IO-APIC mode Interrupt Source Override
 	 *
diff --git a/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h b/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h
index 2612997..80ed659 100644
--- a/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h
+++ b/drivers/gpu/drm/amd/powerplay/inc/hardwaremanager.h
@@ -89,7 +89,7 @@ enum phm_platform_caps {
 	PHM_PlatformCaps_EnableSideportControl,                 /* indicates Sideport can be controlled */
 	PHM_PlatformCaps_VideoPlaybackEEUNotification,          /* indicates EEU notification of video start/stop is required */
 	PHM_PlatformCaps_TurnOffPll_ASPML1,                     /* PCIE Turn Off PLL in ASPM L1 */
-	PHM_PlatformCaps_EnableHTLinkControl,                   /* indicates HT Link can be controlled by ACPI or CLMC overrided/automated mode. */
+	PHM_PlatformCaps_EnableHTLinkControl,                   /* indicates HT Link can be controlled by ACPI or CLMC overridden/automated mode. */
 	PHM_PlatformCaps_PerformanceStateOnly,                  /* indicates only performance power state to be used on current system. */
 	PHM_PlatformCaps_ExclusiveModeAlwaysHigh,               /* In Exclusive (3D) mode always stay in High state. */
 	PHM_PlatformCaps_DisableMGClockGating,                  /* to disable Medium Grain Clock Gating or not */
diff --git a/drivers/net/ethernet/broadcom/bcm63xx_enet.c b/drivers/net/ethernet/broadcom/bcm63xx_enet.c
index 3b14d51..1ad9046 100644
--- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c
+++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.c
@@ -817,7 +817,7 @@ static void bcm_enet_adjust_phy_link(struct net_device *dev)
 			rx_pause_en = 1;
 			tx_pause_en = 1;
 		} else if (!priv->pause_auto) {
-			/* pause setting overrided by user */
+			/* pause setting overridden by user */
 			rx_pause_en = priv->pause_rx;
 			tx_pause_en = priv->pause_tx;
 		} else {
diff --git a/drivers/net/ethernet/micrel/ksz884x.c b/drivers/net/ethernet/micrel/ksz884x.c
index 97f6ef1..6a5f0c9 100644
--- a/drivers/net/ethernet/micrel/ksz884x.c
+++ b/drivers/net/ethernet/micrel/ksz884x.c
@@ -1251,10 +1251,10 @@ struct ksz_port_info {
  * @tx_size:		Transmit data size.  Used for TX optimization.
  * 			The maximum is defined by MAX_TX_HELD_SIZE.
  * @perm_addr:		Permanent MAC address.
- * @override_addr:	Overrided MAC address.
+ * @override_addr:	Overridden MAC address.
  * @address:		Additional MAC address entries.
  * @addr_list_size:	Additional MAC address list size.
- * @mac_override:	Indication of MAC address overrided.
+ * @mac_override:	Indication of MAC address overridden.
  * @promiscuous:	Counter to keep track of promiscuous mode set.
  * @all_multi:		Counter to keep track of all multicast mode set.
  * @multi_list:		Multicast address entries.
@@ -4042,7 +4042,7 @@ static int empty_addr(u8 *addr)
  * @hw: 	The hardware instance.
  *
  * This routine programs the MAC address of the hardware when the address is
- * overrided.
+ * overridden.
  */
 static void hw_set_addr(struct ksz_hw *hw)
 {
@@ -7029,7 +7029,7 @@ static int pcidev_init(struct pci_dev *pdev, const struct pci_device_id *id)
 	if (macaddr[0] != ':')
 		get_mac_addr(hw_priv, macaddr, MAIN_PORT);
 
-	/* Read MAC address and initialize override address if not overrided. */
+	/* Read MAC address and initialize override address if not overridden. */
 	hw_read_addr(hw);
 
 	/* Multiple device interfaces mode requires a second MAC address. */
diff --git a/drivers/pinctrl/bcm/Kconfig b/drivers/pinctrl/bcm/Kconfig
index 8968dd7..e8c4e4f 100644
--- a/drivers/pinctrl/bcm/Kconfig
+++ b/drivers/pinctrl/bcm/Kconfig
@@ -70,7 +70,7 @@ config PINCTRL_CYGNUS_MUX
 
 	  The Broadcom Cygnus IOMUX driver supports group based IOMUX
 	  configuration, with the exception that certain individual pins
-	  can be overrided to GPIO function
+	  can be overridden to GPIO function
 
 config PINCTRL_NSP_GPIO
 	bool "Broadcom NSP GPIO (with PINCONF) driver"
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 341df2b..68bf9b2 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -707,6 +707,7 @@ overaall||overall
 overhread||overhead
 overlaping||overlapping
 overide||override
+overrided||overridden
 overriden||overridden
 overun||overrun
 pacakge||package
diff --git a/tools/lib/bpf/bpf.c b/tools/lib/bpf/bpf.c
index 8143536..268d4c0 100644
--- a/tools/lib/bpf/bpf.c
+++ b/tools/lib/bpf/bpf.c
@@ -27,7 +27,7 @@
 #include "bpf.h"
 
 /*
- * When building perf, unistd.h is overrided. __NR_bpf is
+ * When building perf, unistd.h is overridden. __NR_bpf is
  * required to be defined explicitly.
  */
 #ifndef __NR_bpf
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 22/31] scripts/spelling.txt: add "configuartion" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (20 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 21/31] scripts/spelling.txt: add "overrided" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 23/31] scripts/spelling.txt: add "applys" " Masahiro Yamada
                   ` (10 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  configuartion||configuration

While we are here, fix the "ouput" as well in the touched hunk in
drivers/media/dvb-frontends/drx39xyj/drx_driver.h.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/media/dvb-frontends/drx39xyj/drx_driver.h |  4 ++--
 drivers/media/dvb-frontends/drx39xyj/drxj.c       | 16 ++++++++--------
 drivers/media/dvb-frontends/drx39xyj/drxj.h       |  4 ++--
 drivers/media/dvb-frontends/drxk_hard.c           |  2 +-
 drivers/net/wireless/ti/wl18xx/main.c             |  2 +-
 scripts/spelling.txt                              |  1 +
 6 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/drivers/media/dvb-frontends/drx39xyj/drx_driver.h b/drivers/media/dvb-frontends/drx39xyj/drx_driver.h
index bc052ea..4442e47 100644
--- a/drivers/media/dvb-frontends/drx39xyj/drx_driver.h
+++ b/drivers/media/dvb-frontends/drx39xyj/drx_driver.h
@@ -1315,9 +1315,9 @@ struct drx_version_list {
 		DRX_MPEG_STR_WIDTH_8
 	};
 
-/* CTRL CFG MPEG ouput */
+/* CTRL CFG MPEG output */
 /**
-* \struct struct drx_cfg_mpeg_output * \brief Configuartion parameters for MPEG output control.
+* \struct struct drx_cfg_mpeg_output * \brief Configuration parameters for MPEG output control.
 *
 * Used by DRX_CFG_MPEG_OUTPUT, in combination with DRX_CTRL_SET_CFG and
 * DRX_CTRL_GET_CFG.
diff --git a/drivers/media/dvb-frontends/drx39xyj/drxj.c b/drivers/media/dvb-frontends/drx39xyj/drxj.c
index f1c3e3b..daeaf96 100644
--- a/drivers/media/dvb-frontends/drx39xyj/drxj.c
+++ b/drivers/media/dvb-frontends/drx39xyj/drxj.c
@@ -601,7 +601,7 @@ static struct drxj_data drxj_data_g = {
 	0,			/* hi_cfg_wake_up_key    */
 	0,			/* hi_cfg_ctrl         */
 	0,			/* HICfgTimeout      */
-	/* UIO configuartion */
+	/* UIO configuration */
 	DRX_UIO_MODE_DISABLE,	/* uio_sma_rx_mode      */
 	DRX_UIO_MODE_DISABLE,	/* uio_sma_tx_mode      */
 	DRX_UIO_MODE_DISABLE,	/* uioASELMode       */
@@ -619,7 +619,7 @@ static struct drxj_data drxj_data_g = {
 /*   false,                  * flagHDevSet       */
 /*   (u16) 0xFFF,          * rdsLastCount      */
 
-	/* ATV configuartion */
+	/* ATV configuration */
 	0UL,			/* flags cfg changes */
 	/* shadow of ATV_TOP_EQU0__A */
 	{-5,
@@ -3352,7 +3352,7 @@ ctrl_set_cfg_mpeg_output(struct drx_demod_instance *demod, struct drx_cfg_mpeg_o
 /*----------------------------------------------------------------------------*/
 
 /*----------------------------------------------------------------------------*/
-/* miscellaneous configuartions - begin                           */
+/* miscellaneous configurations - begin                           */
 /*----------------------------------------------------------------------------*/
 
 /**
@@ -3515,7 +3515,7 @@ static int set_mpeg_start_width(struct drx_demod_instance *demod)
 }
 
 /*----------------------------------------------------------------------------*/
-/* miscellaneous configuartions - end                             */
+/* miscellaneous configurations - end                             */
 /*----------------------------------------------------------------------------*/
 
 /*----------------------------------------------------------------------------*/
@@ -10952,7 +10952,7 @@ ctrl_set_standard(struct drx_demod_instance *demod, enum drx_standard *standard)
 
 static void drxj_reset_mode(struct drxj_data *ext_attr)
 {
-	/* Initialize default AFE configuartion for QAM */
+	/* Initialize default AFE configuration for QAM */
 	if (ext_attr->has_lna) {
 		/* IF AGC off, PGA active */
 #ifndef DRXJ_VSB_ONLY
@@ -10996,7 +10996,7 @@ static void drxj_reset_mode(struct drxj_data *ext_attr)
 	ext_attr->qam_pre_saw_cfg.reference = 0x07;
 	ext_attr->qam_pre_saw_cfg.use_pre_saw = true;
 #endif
-	/* Initialize default AFE configuartion for VSB */
+	/* Initialize default AFE configuration for VSB */
 	ext_attr->vsb_rf_agc_cfg.standard = DRX_STANDARD_8VSB;
 	ext_attr->vsb_rf_agc_cfg.ctrl_mode = DRX_AGC_CTRL_AUTO;
 	ext_attr->vsb_rf_agc_cfg.min_output_level = 0;
@@ -11072,9 +11072,9 @@ ctrl_power_mode(struct drx_demod_instance *demod, enum drx_power_mode *mode)
 	}
 
 	if ((*mode == DRX_POWER_UP)) {
-		/* Restore analog & pin configuartion */
+		/* Restore analog & pin configuration */
 
-		/* Initialize default AFE configuartion for VSB */
+		/* Initialize default AFE configuration for VSB */
 		drxj_reset_mode(ext_attr);
 	} else {
 		/* Power down to requested mode */
diff --git a/drivers/media/dvb-frontends/drx39xyj/drxj.h b/drivers/media/dvb-frontends/drx39xyj/drxj.h
index 55ad535..6c5b8f7 100644
--- a/drivers/media/dvb-frontends/drx39xyj/drxj.h
+++ b/drivers/media/dvb-frontends/drx39xyj/drxj.h
@@ -447,7 +447,7 @@ struct drxj_cfg_atv_output {
 		u16 hi_cfg_ctrl;	  /**< HI Configure() parameter 5                       */
 		u16 hi_cfg_transmit;	  /**< HI Configure() parameter 6                       */
 
-		/* UIO configuartion */
+		/* UIO configuration */
 		enum drxuio_mode uio_sma_rx_mode;/**< current mode of SmaRx pin                        */
 		enum drxuio_mode uio_sma_tx_mode;/**< current mode of SmaTx pin                        */
 		enum drxuio_mode uio_gpio_mode; /**< current mode of ASEL pin                         */
@@ -459,7 +459,7 @@ struct drxj_cfg_atv_output {
 		/* IQM RC frequecy shift */
 		u32 iqm_rc_rate_ofs;	   /**< frequency shifter setting after setchannel      */
 
-		/* ATV configuartion */
+		/* ATV configuration */
 		u32 atv_cfg_changed_flags; /**< flag: flags cfg changes */
 		s16 atv_top_equ0[DRXJ_COEF_IDX_MAX];	     /**< shadow of ATV_TOP_EQU0__A */
 		s16 atv_top_equ1[DRXJ_COEF_IDX_MAX];	     /**< shadow of ATV_TOP_EQU1__A */
diff --git a/drivers/media/dvb-frontends/drxk_hard.c b/drivers/media/dvb-frontends/drxk_hard.c
index 146edf3..d780f27 100644
--- a/drivers/media/dvb-frontends/drxk_hard.c
+++ b/drivers/media/dvb-frontends/drxk_hard.c
@@ -1630,7 +1630,7 @@ static int ctrl_power_mode(struct drxk_state *state, enum drx_power_mode *mode)
 	}
 
 	if (*mode == DRX_POWER_UP) {
-		/* Restore analog & pin configuartion */
+		/* Restore analog & pin configuration */
 	} else {
 		/* Power down to requested mode */
 		/* Backup some register settings */
diff --git a/drivers/net/wireless/ti/wl18xx/main.c b/drivers/net/wireless/ti/wl18xx/main.c
index 5bdf7a0..d1aa3ee 100644
--- a/drivers/net/wireless/ti/wl18xx/main.c
+++ b/drivers/net/wireless/ti/wl18xx/main.c
@@ -178,7 +178,7 @@ static struct wlcore_conf wl18xx_conf = {
 	.sg = {
 		.params = {
 			[WL18XX_CONF_SG_PARAM_0] = 0,
-			/* Configuartion Parameters */
+			/* Configuration Parameters */
 			[WL18XX_CONF_SG_ANTENNA_CONFIGURATION] = 0,
 			[WL18XX_CONF_SG_ZIGBEE_COEX] = 0,
 			[WL18XX_CONF_SG_TIME_SYNC] = 0,
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 68bf9b2..3ae1645 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -264,6 +264,7 @@ comunication||communication
 conbination||combination
 conditionaly||conditionally
 conected||connected
+configuartion||configuration
 configuratoin||configuration
 configuraton||configuration
 configuretion||configuration
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 23/31] scripts/spelling.txt: add "applys" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (21 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 22/31] scripts/spelling.txt: add "configuartion" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 24/31] scripts/spelling.txt: add "explictely" " Masahiro Yamada
                   ` (9 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  applys||applies

The "applyes" in drivers/video/fbdev/aty/radeon_monitor.c is a
different pattern but it was fixed in this commit.
The "This functions" in the same line was fixed as well.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/media/v4l2-core/tuner-core.c           | 4 ++--
 drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c | 2 +-
 drivers/video/fbdev/aty/radeon_monitor.c       | 2 +-
 scripts/spelling.txt                           | 1 +
 4 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/drivers/media/v4l2-core/tuner-core.c b/drivers/media/v4l2-core/tuner-core.c
index 05b5c66..e48b7c0 100644
--- a/drivers/media/v4l2-core/tuner-core.c
+++ b/drivers/media/v4l2-core/tuner-core.c
@@ -245,7 +245,7 @@ static const struct analog_demod_ops tuner_analog_ops = {
  * @tuner_callback:	an optional function to be called when switching
  *			to analog mode
  *
- * This function applys the tuner config to tuner specified
+ * This function applies the tuner config to tuner specified
  * by tun_setup structure. It contains several per-tuner initialization "magic"
  */
 static void set_type(struct i2c_client *c, unsigned int type,
@@ -463,7 +463,7 @@ static void set_type(struct i2c_client *c, unsigned int type,
  * @sd:		subdev descriptor
  * @tun_setup:	type to be associated to a given tuner i2c address
  *
- * This function applys the tuner config to tuner specified
+ * This function applies the tuner config to tuner specified
  * by tun_setup structure.
  * If tuner I2C address is UNSET, then it will only set the device
  * if the tuner supports the mode specified in the call.
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
index e00aaeb..2d6568e 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
@@ -1451,7 +1451,7 @@ do { \
  *  @atr_input: input bitstream to compute the hash on
  *  @input_mask: mask for the input bitstream
  *
- *  This function serves two main purposes.  First it applys the input_mask
+ *  This function serves two main purposes.  First it applies the input_mask
  *  to the atr_input resulting in a cleaned up atr_input data stream.
  *  Secondly it computes the hash and stores it in the bkt_hash field at
  *  the end of the input byte stream.  This way it will be available for
diff --git a/drivers/video/fbdev/aty/radeon_monitor.c b/drivers/video/fbdev/aty/radeon_monitor.c
index 278b421..dd823f5 100644
--- a/drivers/video/fbdev/aty/radeon_monitor.c
+++ b/drivers/video/fbdev/aty/radeon_monitor.c
@@ -646,7 +646,7 @@ void radeon_probe_screens(struct radeonfb_info *rinfo,
 
 
 /*
- * This functions applyes any arch/model/machine specific fixups
+ * This function applies any arch/model/machine specific fixups
  * to the panel info. It may eventually alter EDID block as
  * well or whatever is specific to a given model and not probed
  * properly by the default code
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 3ae1645..b2dfe7d 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -103,6 +103,7 @@ appearence||appearance
 applicaion||application
 appliction||application
 applictions||applications
+applys||applies
 appplications||applications
 appropiate||appropriate
 appropriatly||appropriately
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 24/31] scripts/spelling.txt: add "explictely" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (22 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 23/31] scripts/spelling.txt: add "applys" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 25/31] scripts/spelling.txt: add "omited" " Masahiro Yamada
                   ` (8 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  explictely||explicitly

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 Documentation/device-mapper/dm-raid.txt | 2 +-
 drivers/char/pcmcia/cm4000_cs.c         | 2 +-
 scripts/spelling.txt                    | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/device-mapper/dm-raid.txt b/Documentation/device-mapper/dm-raid.txt
index 5e3786f..a8cf694 100644
--- a/Documentation/device-mapper/dm-raid.txt
+++ b/Documentation/device-mapper/dm-raid.txt
@@ -307,7 +307,7 @@ Version History
 1.5.2   'mismatch_cnt' is zero unless [last_]sync_action is "check".
 1.6.0   Add discard support (and devices_handle_discard_safely module param).
 1.7.0   Add support for MD RAID0 mappings.
-1.8.0   Explictely check for compatible flags in the superblock metadata
+1.8.0   Explicitly check for compatible flags in the superblock metadata
 	and reject to start the raid set if any are set by a newer
 	target version, thus avoiding data corruption on a raid set
 	with a reshape in progress.
diff --git a/drivers/char/pcmcia/cm4000_cs.c b/drivers/char/pcmcia/cm4000_cs.c
index e051fc8..4eb6097 100644
--- a/drivers/char/pcmcia/cm4000_cs.c
+++ b/drivers/char/pcmcia/cm4000_cs.c
@@ -655,7 +655,7 @@ static void terminate_monitor(struct cm4000_dev *dev)
  * monitor the card every 50msec. as a side-effect, retrieve the
  * atr once a card is inserted. another side-effect of retrieving the
  * atr is that the card will be powered on, so there is no need to
- * power on the card explictely from the application: the driver
+ * power on the card explicitly from the application: the driver
  * is already doing that for you.
  */
 
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index b2dfe7d..df509dc 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -424,6 +424,7 @@ expecially||especially
 explicite||explicit
 explicitely||explicitly
 explict||explicit
+explictely||explicitly
 explictly||explicitly
 expresion||expression
 exprimental||experimental
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 25/31] scripts/spelling.txt: add "omited" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (23 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 24/31] scripts/spelling.txt: add "explictely" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 26/31] scripts/spelling.txt: add "disassocation" " Masahiro Yamada
                   ` (7 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  omited||omitted
  omiting||omitting

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c | 2 +-
 drivers/nfc/pn533/pn533.c                          | 2 +-
 drivers/scsi/fcoe/fcoe_ctlr.c                      | 2 +-
 scripts/spelling.txt                               | 2 ++
 4 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
index acc2312..f6e739d 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
+++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
@@ -1416,7 +1416,7 @@ static unsigned int xdigit2int(unsigned char c)
  * <pattern data>[/<pattern mask>][@<anchor>]
  *
  * Up to 2 filter patterns can be specified.  If 2 are supplied the first one
- * must be anchored at 0.  An omited mask is taken as a mask of 1s, an omitted
+ * must be anchored at 0.  An omitted mask is taken as a mask of 1s, an omitted
  * anchor is taken as 0.
  */
 static ssize_t mps_trc_write(struct file *file, const char __user *buf,
diff --git a/drivers/nfc/pn533/pn533.c b/drivers/nfc/pn533/pn533.c
index d9c5583..a966c6a 100644
--- a/drivers/nfc/pn533/pn533.c
+++ b/drivers/nfc/pn533/pn533.c
@@ -487,7 +487,7 @@ static int pn533_send_cmd_async(struct pn533 *dev, u8 cmd_code,
 /*
  * pn533_send_cmd_direct_async
  *
- * The function sends a piority cmd directly to the chip omiting the cmd
+ * The function sends a piority cmd directly to the chip omitting the cmd
  * queue. It's intended to be used by chaining mechanism of received responses
  * where the host has to request every single chunk of data before scheduling
  * next cmd from the queue.
diff --git a/drivers/scsi/fcoe/fcoe_ctlr.c b/drivers/scsi/fcoe/fcoe_ctlr.c
index cea57e2..656463f 100644
--- a/drivers/scsi/fcoe/fcoe_ctlr.c
+++ b/drivers/scsi/fcoe/fcoe_ctlr.c
@@ -1387,7 +1387,7 @@ static void fcoe_ctlr_recv_clr_vlink(struct fcoe_ctlr *fip,
 	/*
 	 * Actually need to subtract 'sizeof(*mp) - sizeof(*wp)' from 'rlen'
 	 * before determining max Vx_Port descriptor but a buggy FCF could have
-	 * omited either or both MAC Address and Name Identifier descriptors
+	 * omitted either or both MAC Address and Name Identifier descriptors
 	 */
 	num_vlink_desc = rlen / sizeof(*vp);
 	if (num_vlink_desc)
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index df509dc..b0054dc 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -693,6 +693,8 @@ occurence||occurrence
 occure||occurred
 occuring||occurring
 offet||offset
+omited||omitted
+omiting||omitting
 omitt||omit
 ommiting||omitting
 ommitted||omitted
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 26/31] scripts/spelling.txt: add "disassocation" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (24 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 25/31] scripts/spelling.txt: add "omited" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:04 ` [PATCH 27/31] scripts/spelling.txt: add "deintialize(d)" " Masahiro Yamada
                   ` (6 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  disassocation||disassociation

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/net/wireless/intel/ipw2x00/ipw2100.c | 2 +-
 drivers/net/wireless/intel/ipw2x00/ipw2200.c | 2 +-
 include/net/cfg80211.h                       | 2 +-
 scripts/spelling.txt                         | 1 +
 4 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/net/wireless/intel/ipw2x00/ipw2100.c b/drivers/net/wireless/intel/ipw2x00/ipw2100.c
index 68aab2c..d2cc968 100644
--- a/drivers/net/wireless/intel/ipw2x00/ipw2100.c
+++ b/drivers/net/wireless/intel/ipw2x00/ipw2100.c
@@ -5652,7 +5652,7 @@ static void shim__set_security(struct net_device *dev,
 
 /* As a temporary work around to enable WPA until we figure out why
  * wpa_supplicant toggles the security capability of the driver, which
- * forces a disassocation with force_update...
+ * forces a disassociation with force_update...
  *
  *	if (force_update || !(priv->status & STATUS_ASSOCIATED))*/
 	if (!(priv->status & (STATUS_ASSOCIATED | STATUS_ASSOCIATING)))
diff --git a/drivers/net/wireless/intel/ipw2x00/ipw2200.c b/drivers/net/wireless/intel/ipw2x00/ipw2200.c
index c09215d..5ef3c5c 100644
--- a/drivers/net/wireless/intel/ipw2x00/ipw2200.c
+++ b/drivers/net/wireless/intel/ipw2x00/ipw2200.c
@@ -3974,7 +3974,7 @@ static void ipw_send_disassociate(struct ipw_priv *priv, int quiet)
 		return;
 	}
 
-	IPW_DEBUG_ASSOC("Disassocation attempt from %pM "
+	IPW_DEBUG_ASSOC("Disassociation attempt from %pM "
 			"on channel %d.\n",
 			priv->assoc_request.bssid,
 			priv->assoc_request.channel);
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 814be4b..11ddd1d 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1887,7 +1887,7 @@ struct cfg80211_deauth_request {
  * struct cfg80211_disassoc_request - Disassociation request data
  *
  * This structure provides information needed to complete IEEE 802.11
- * disassocation.
+ * disassociation.
  *
  * @bss: the BSS to disassociate from
  * @ie: Extra IEs to add to Disassociation frame or %NULL
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index b0054dc..a4d0a42 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -358,6 +358,7 @@ differrence||difference
 difinition||definition
 diplay||display
 direectly||directly
+disassocation||disassociation
 disapear||disappear
 disapeared||disappeared
 disappared||disappeared
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 27/31] scripts/spelling.txt: add "deintialize(d)" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (25 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 26/31] scripts/spelling.txt: add "disassocation" " Masahiro Yamada
@ 2016-12-12 20:04 ` Masahiro Yamada
  2016-12-12 20:05 ` [PATCH 28/31] scripts/spelling.txt: add "overwritting" " Masahiro Yamada
                   ` (5 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:04 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  deintializing||deinitializing
  deintialize||deinitialize
  deintialized||deinitialized

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/crypto/caam/ctrl.c                        | 2 +-
 drivers/net/wireless/rsi/rsi_91x_usb.c            | 2 +-
 drivers/staging/wilc1000/linux_wlan.c             | 2 +-
 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +-
 scripts/spelling.txt                              | 3 +++
 sound/soc/amd/acp-pcm-dma.c                       | 2 +-
 6 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c
index 7551098..568ad2e 100644
--- a/drivers/crypto/caam/ctrl.c
+++ b/drivers/crypto/caam/ctrl.c
@@ -270,7 +270,7 @@ static int deinstantiate_rng(struct device *ctrldev, int state_handle_mask)
 		/*
 		 * If the corresponding bit is set, then it means the state
 		 * handle was initialized by us, and thus it needs to be
-		 * deintialized as well
+		 * deinitialized as well
 		 */
 		if ((1 << sh_idx) & state_handle_mask) {
 			/*
diff --git a/drivers/net/wireless/rsi/rsi_91x_usb.c b/drivers/net/wireless/rsi/rsi_91x_usb.c
index ef5d394..cc8deec 100644
--- a/drivers/net/wireless/rsi/rsi_91x_usb.c
+++ b/drivers/net/wireless/rsi/rsi_91x_usb.c
@@ -516,7 +516,7 @@ static int rsi_probe(struct usb_interface *pfunction,
 
 /**
  * rsi_disconnect() - This function performs the reverse of the probe function,
- *		      it deintialize the driver structure.
+ *		      it deinitialize the driver structure.
  * @pfunction: Pointer to the USB interface structure.
  *
  * Return: None.
diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c
index 3775706..e59cab5 100644
--- a/drivers/staging/wilc1000/linux_wlan.c
+++ b/drivers/staging/wilc1000/linux_wlan.c
@@ -213,7 +213,7 @@ static void deinit_irq(struct net_device *dev)
 	vif = netdev_priv(dev);
 	wilc = vif->wilc;
 
-	/* Deintialize IRQ */
+	/* Deinitialize IRQ */
 	if (wilc->dev_irq_num) {
 		free_irq(wilc->dev_irq_num, wilc);
 		gpio_free(wilc->gpio);
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index c1a24f7..e11803b 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -2347,7 +2347,7 @@ int wilc_deinit_host_int(struct net_device *net)
 		del_timer_sync(&wilc_during_ip_timer);
 
 	if (s32Error)
-		netdev_err(net, "Error while deintializing host interface\n");
+		netdev_err(net, "Error while deinitializing host interface\n");
 
 	return s32Error;
 }
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index a4d0a42..c639876 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -317,6 +317,9 @@ defintion||definition
 defintions||definitions
 defualt||default
 defult||default
+deintializing||deinitializing
+deintialize||deinitialize
+deintialized||deinitialized
 deivce||device
 delared||declared
 delare||declare
diff --git a/sound/soc/amd/acp-pcm-dma.c b/sound/soc/amd/acp-pcm-dma.c
index df52cb0..79a7064 100644
--- a/sound/soc/amd/acp-pcm-dma.c
+++ b/sound/soc/amd/acp-pcm-dma.c
@@ -506,7 +506,7 @@ static int acp_init(void __iomem *acp_mmio)
 	return 0;
 }
 
-/* Deintialize ACP */
+/* Deinitialize ACP */
 static int acp_deinit(void __iomem *acp_mmio)
 {
 	u32 val;
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 28/31] scripts/spelling.txt: add "overwritting" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (26 preceding siblings ...)
  2016-12-12 20:04 ` [PATCH 27/31] scripts/spelling.txt: add "deintialize(d)" " Masahiro Yamada
@ 2016-12-12 20:05 ` Masahiro Yamada
  2016-12-12 20:05 ` [PATCH 29/31] scripts/spelling.txt: add "overwriten" " Masahiro Yamada
                   ` (4 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:05 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  overwritting||overwriting

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 arch/arm64/lib/copy_template.S             | 2 +-
 drivers/net/ethernet/adi/bfin_mac.c        | 2 +-
 drivers/net/ethernet/intel/igb/e1000_phy.c | 2 +-
 drivers/scsi/mpt3sas/mpt3sas_ctl.c         | 2 +-
 drivers/scsi/mpt3sas/mpt3sas_ctl.h         | 2 +-
 drivers/usb/usbip/usbip_common.c           | 2 +-
 scripts/spelling.txt                       | 1 +
 7 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/arch/arm64/lib/copy_template.S b/arch/arm64/lib/copy_template.S
index 410fbdb..f5b9210 100644
--- a/arch/arm64/lib/copy_template.S
+++ b/arch/arm64/lib/copy_template.S
@@ -62,7 +62,7 @@ D_h	.req	x14
 	sub	count, count, tmp2
 	/*
 	* Copy the leading memory data from src to dst in an increasing
-	* address order.By this way,the risk of overwritting the source
+	* address order.By this way,the risk of overwriting the source
 	* memory data is eliminated when the distance between src and
 	* dst is less than 16. The memory accesses here are alignment.
 	*/
diff --git a/drivers/net/ethernet/adi/bfin_mac.c b/drivers/net/ethernet/adi/bfin_mac.c
index 8816452..34e42407 100644
--- a/drivers/net/ethernet/adi/bfin_mac.c
+++ b/drivers/net/ethernet/adi/bfin_mac.c
@@ -1206,7 +1206,7 @@ static void bfin_mac_rx(struct bfin_mac_local *lp)
 	/* reserve 2 bytes for RXDWA padding */
 	skb_reserve(new_skb, NET_IP_ALIGN);
 	/* Invalidate the data cache of skb->data range when it is write back
-	 * cache. It will prevent overwritting the new data from DMA
+	 * cache. It will prevent overwriting the new data from DMA
 	 */
 	blackfin_dcache_invalidate_range((unsigned long)new_skb->head,
 					 (unsigned long)new_skb->end);
diff --git a/drivers/net/ethernet/intel/igb/e1000_phy.c b/drivers/net/ethernet/intel/igb/e1000_phy.c
index 5b54254..26c0041 100644
--- a/drivers/net/ethernet/intel/igb/e1000_phy.c
+++ b/drivers/net/ethernet/intel/igb/e1000_phy.c
@@ -290,7 +290,7 @@ s32 igb_write_phy_reg_i2c(struct e1000_hw *hw, u32 offset, u16 data)
 	u32 i, i2ccmd = 0;
 	u16 phy_data_swapped;
 
-	/* Prevent overwritting SFP I2C EEPROM which is at A0 address.*/
+	/* Prevent overwriting SFP I2C EEPROM which is at A0 address.*/
 	if ((hw->phy.addr == 0) || (hw->phy.addr > 7)) {
 		hw_dbg("PHY I2C Address %d is out of range.\n",
 			  hw->phy.addr);
diff --git a/drivers/scsi/mpt3sas/mpt3sas_ctl.c b/drivers/scsi/mpt3sas/mpt3sas_ctl.c
index 050bd78..7dc1172 100644
--- a/drivers/scsi/mpt3sas/mpt3sas_ctl.c
+++ b/drivers/scsi/mpt3sas/mpt3sas_ctl.c
@@ -1923,7 +1923,7 @@ mpt3sas_send_diag_release(struct MPT3SAS_ADAPTER *ioc, u8 buffer_type,
  *
  * This allows ownership of the specified buffer to returned to the driver,
  * allowing an application to read the buffer without fear that firmware is
- * overwritting information in the buffer.
+ * overwriting information in the buffer.
  */
 static long
 _ctl_diag_release(struct MPT3SAS_ADAPTER *ioc, void __user *arg)
diff --git a/drivers/scsi/mpt3sas/mpt3sas_ctl.h b/drivers/scsi/mpt3sas/mpt3sas_ctl.h
index f3e17a8..a44046c 100644
--- a/drivers/scsi/mpt3sas/mpt3sas_ctl.h
+++ b/drivers/scsi/mpt3sas/mpt3sas_ctl.h
@@ -390,7 +390,7 @@ struct mpt3_diag_query {
  *
  * This allows ownership of the specified buffer to returned to the driver,
  * allowing an application to read the buffer without fear that firmware is
- * overwritting information in the buffer.
+ * overwriting information in the buffer.
  */
 struct mpt3_diag_release {
 	struct mpt3_ioctl_header hdr;
diff --git a/drivers/usb/usbip/usbip_common.c b/drivers/usb/usbip/usbip_common.c
index 8b23229..1a6f78d 100644
--- a/drivers/usb/usbip/usbip_common.c
+++ b/drivers/usb/usbip/usbip_common.c
@@ -707,7 +707,7 @@ void usbip_pad_iso(struct usbip_device *ud, struct urb *urb)
 		return;
 
 	/*
-	 * loop over all packets from last to first (to prevent overwritting
+	 * loop over all packets from last to first (to prevent overwriting
 	 * memory when padding) and move them into the proper place
 	 */
 	for (i = np-1; i > 0; i--) {
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index c639876..ae32639 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -719,6 +719,7 @@ overide||override
 overrided||overridden
 overriden||overridden
 overun||overrun
+overwritting||overwriting
 pacakge||package
 pachage||package
 packacge||package
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 29/31] scripts/spelling.txt: add "overwriten" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (27 preceding siblings ...)
  2016-12-12 20:05 ` [PATCH 28/31] scripts/spelling.txt: add "overwritting" " Masahiro Yamada
@ 2016-12-12 20:05 ` Masahiro Yamada
  2016-12-12 20:05 ` [PATCH 30/31] scripts/spelling.txt: add "therfore" " Masahiro Yamada
                   ` (3 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:05 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  overwrien||overwritten

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/infiniband/hw/qib/qib_iba6120.c  | 2 +-
 drivers/infiniband/hw/qib/qib_iba7220.c  | 2 +-
 drivers/infiniband/hw/qib/qib_iba7322.c  | 2 +-
 drivers/isdn/hardware/mISDN/mISDNipac.c  | 2 +-
 drivers/parport/parport_pc.c             | 2 +-
 scripts/spelling.txt                     | 1 +
 sound/pci/cs46xx/cs46xx_dsp_task_types.h | 2 +-
 7 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/drivers/infiniband/hw/qib/qib_iba6120.c b/drivers/infiniband/hw/qib/qib_iba6120.c
index a3733f2..ec06036 100644
--- a/drivers/infiniband/hw/qib/qib_iba6120.c
+++ b/drivers/infiniband/hw/qib/qib_iba6120.c
@@ -707,7 +707,7 @@ static void qib_6120_clear_freeze(struct qib_devdata *dd)
 	/* disable error interrupts, to avoid confusion */
 	qib_write_kreg(dd, kr_errmask, 0ULL);
 
-	/* also disable interrupts; errormask is sometimes overwriten */
+	/* also disable interrupts; errormask is sometimes overwritten */
 	qib_6120_set_intr_state(dd, 0);
 
 	qib_cancel_sends(dd->pport);
diff --git a/drivers/infiniband/hw/qib/qib_iba7220.c b/drivers/infiniband/hw/qib/qib_iba7220.c
index 00b2af2..c2ac884 100644
--- a/drivers/infiniband/hw/qib/qib_iba7220.c
+++ b/drivers/infiniband/hw/qib/qib_iba7220.c
@@ -1259,7 +1259,7 @@ static void qib_7220_clear_freeze(struct qib_devdata *dd)
 	/* disable error interrupts, to avoid confusion */
 	qib_write_kreg(dd, kr_errmask, 0ULL);
 
-	/* also disable interrupts; errormask is sometimes overwriten */
+	/* also disable interrupts; errormask is sometimes overwritten */
 	qib_7220_set_intr_state(dd, 0);
 
 	qib_cancel_sends(dd->pport);
diff --git a/drivers/infiniband/hw/qib/qib_iba7322.c b/drivers/infiniband/hw/qib/qib_iba7322.c
index ded2717..cfcdeca 100644
--- a/drivers/infiniband/hw/qib/qib_iba7322.c
+++ b/drivers/infiniband/hw/qib/qib_iba7322.c
@@ -2053,7 +2053,7 @@ static void qib_7322_clear_freeze(struct qib_devdata *dd)
 			qib_write_kreg_port(dd->pport + pidx, krp_errmask,
 					    0ULL);
 
-	/* also disable interrupts; errormask is sometimes overwriten */
+	/* also disable interrupts; errormask is sometimes overwritten */
 	qib_7322_set_intr_state(dd, 0);
 
 	/* clear the freeze, and be sure chip saw it */
diff --git a/drivers/isdn/hardware/mISDN/mISDNipac.c b/drivers/isdn/hardware/mISDN/mISDNipac.c
index 8d338ba..77dec28 100644
--- a/drivers/isdn/hardware/mISDN/mISDNipac.c
+++ b/drivers/isdn/hardware/mISDN/mISDNipac.c
@@ -1625,7 +1625,7 @@ mISDNipac_init(struct ipac_hw *ipac, void *hw)
 		ipac->hscx[i].bch.hw = hw;
 		ipac->hscx[i].ip = ipac;
 		/* default values for IOM time slots
-		 * can be overwriten by card */
+		 * can be overwritten by card */
 		ipac->hscx[i].slot = (i == 0) ? 0x2f : 0x03;
 	}
 
diff --git a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c
index 78530d1..3e56e7d 100644
--- a/drivers/parport/parport_pc.c
+++ b/drivers/parport/parport_pc.c
@@ -902,7 +902,7 @@ static size_t parport_pc_ecp_write_block_pio(struct parport *port,
  *	******************************************
  */
 
-/* GCC is not inlining extern inline function later overwriten to non-inline,
+/* GCC is not inlining extern inline function later overwritten to non-inline,
    so we use outlined_ variants here.  */
 static const struct parport_operations parport_pc_ops = {
 	.write_data	= parport_pc_write_data,
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index ae32639..b840f20 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -720,6 +720,7 @@ overrided||overridden
 overriden||overridden
 overun||overrun
 overwritting||overwriting
+overwriten||overwritten
 pacakge||package
 pachage||package
 packacge||package
diff --git a/sound/pci/cs46xx/cs46xx_dsp_task_types.h b/sound/pci/cs46xx/cs46xx_dsp_task_types.h
index 5cf920b..be56947 100644
--- a/sound/pci/cs46xx/cs46xx_dsp_task_types.h
+++ b/sound/pci/cs46xx/cs46xx_dsp_task_types.h
@@ -203,7 +203,7 @@ struct dsp_task_tree_context_block {
 
 	u32	  saverfe;					
 
-	/* Value may be overwriten by stack save algorithm.
+	/* Value may be overwritten by stack save algorithm.
 	   Retain the size of the stack data saved here if used */
 	___DSP_DUAL_16BIT_ALLOC(
              reserved1,	
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 30/31] scripts/spelling.txt: add "therfore" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (28 preceding siblings ...)
  2016-12-12 20:05 ` [PATCH 29/31] scripts/spelling.txt: add "overwriten" " Masahiro Yamada
@ 2016-12-12 20:05 ` Masahiro Yamada
  2016-12-12 20:05 ` [PATCH 31/31] scripts/spelling.txt: add "followings" " Masahiro Yamada
                   ` (2 subsequent siblings)
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:05 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  therfore||therefore

Besides, tidy up comment blocks for 80-col wrapping.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/infiniband/sw/rdmavt/mad.c                            | 6 +++---
 drivers/scsi/aacraid/linit.c                                  | 2 +-
 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 4 ++--
 scripts/spelling.txt                                          | 1 +
 4 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/drivers/infiniband/sw/rdmavt/mad.c b/drivers/infiniband/sw/rdmavt/mad.c
index f6e9977..bba241f 100644
--- a/drivers/infiniband/sw/rdmavt/mad.c
+++ b/drivers/infiniband/sw/rdmavt/mad.c
@@ -74,9 +74,9 @@ int rvt_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num,
 		    u16 *out_mad_pkey_index)
 {
 	/*
-	 * MAD processing is quite different between hfi1 and qib. Therfore this
-	 * is expected to be provided by the driver. Other drivers in the future
-	 * may chose to implement this but it should not be made into a
+	 * MAD processing is quite different between hfi1 and qib. Therefore
+	 * this is expected to be provided by the driver. Other drivers in the
+	 * future may choose to implement this but it should not be made into a
 	 * requirement.
 	 */
 	if (ibport_num_to_idx(ibdev, port_num) < 0)
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c
index 3ecbf20..cc66a15 100644
--- a/drivers/scsi/aacraid/linit.c
+++ b/drivers/scsi/aacraid/linit.c
@@ -1418,7 +1418,7 @@ static int aac_acquire_resources(struct aac_dev *dev)
 
 	if (!dev->sync_mode) {
 		/* After EEH recovery or suspend resume, max_msix count
-		 * may change, therfore updating in init as well.
+		 * may change, therefore updating in init as well.
 		 */
 		dev->init->Sa_MSIXVectors = cpu_to_le32(dev->max_msix);
 		aac_adapter_start(dev);
diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
index 0d98789..610e0d6 100644
--- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
+++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
@@ -1863,8 +1863,8 @@ vchiq_arm_init_state(VCHIQ_STATE_T *state, VCHIQ_ARM_STATE_T *arm_state)
 **
 ** VC_RESUME_IDLE - Initialise the resume completion at the same time.  The
 **			resume completion is in it's 'done' state whenever
-**			videcore is running.  Therfore, the VC_RESUME_IDLE state
-**			implies that videocore is suspended.
+**			videcore is running.  Therefore, the VC_RESUME_IDLE
+**			state implies that videocore is suspended.
 **			Hence, any thread which needs to wait until videocore is
 **			running can wait on this completion - it will only block
 **			if videocore is suspended.
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index b840f20..5fb27d2 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -1019,6 +1019,7 @@ targetting||targeting
 teh||the
 temorary||temporary
 temproarily||temporarily
+therfore||therefore
 thier||their
 threds||threads
 threshhold||threshold
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* [PATCH 31/31] scripts/spelling.txt: add "followings" pattern and fix typo instances
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (29 preceding siblings ...)
  2016-12-12 20:05 ` [PATCH 30/31] scripts/spelling.txt: add "therfore" " Masahiro Yamada
@ 2016-12-12 20:05 ` Masahiro Yamada
  2016-12-12 20:14 ` [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Kees Cook
  2016-12-12 20:24 ` Joe Perches
  32 siblings, 0 replies; 35+ messages in thread
From: Masahiro Yamada @ 2016-12-12 20:05 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches, Yoshihiro Shimoda,
	Geert Uytterhoeven, Masahiro Yamada, linux-kernel

Fix typos and add the following to the scripts/spelling.txt:

  followings||following

While we are here, add a missing colon in the boilerplate in DT
binding documents.  The "you SoC" in allwinner,sunxi-pinctrl.txt
was fixed as well.

I reworded "as the followings:" to "as follows:" for
drivers/usb/gadget/udc/renesas_usb3.c.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 Documentation/DocBook/libata.tmpl                                     | 2 +-
 Documentation/acpi/method-tracing.txt                                 | 2 +-
 Documentation/blockdev/mflash.txt                                     | 2 +-
 Documentation/devicetree/bindings/net/marvell-armada-370-neta.txt     | 2 +-
 Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt | 2 +-
 Documentation/devicetree/bindings/soc/rockchip/grf.txt                | 4 ++--
 Documentation/devicetree/bindings/sound/rockchip-i2s.txt              | 4 ++--
 Documentation/devicetree/bindings/sound/sun4i-codec.txt               | 2 +-
 Documentation/devicetree/bindings/sound/sun4i-i2s.txt                 | 4 ++--
 Documentation/memory-hotplug.txt                                      | 4 ++--
 Documentation/sound/hd-audio/notes.rst                                | 2 +-
 drivers/ata/libata-eh.c                                               | 2 +-
 drivers/atm/iphase.c                                                  | 2 +-
 drivers/atm/iphase.h                                                  | 2 +-
 drivers/devfreq/devfreq.c                                             | 2 +-
 drivers/hwmon/g762.c                                                  | 2 +-
 drivers/isdn/hardware/eicon/debug.c                                   | 2 +-
 drivers/pci/quirks.c                                                  | 2 +-
 drivers/staging/gs_fpgaboot/gs_fpgaboot.h                             | 2 +-
 drivers/usb/gadget/udc/renesas_usb3.c                                 | 4 ++--
 include/linux/kconfig.h                                               | 2 +-
 mm/percpu.c                                                           | 2 +-
 scripts/spelling.txt                                                  | 1 +
 sound/pci/hda/patch_ca0132.c                                          | 2 +-
 sound/ppc/snd_ps3.c                                                   | 2 +-
 sound/soc/fsl/fsl_asrc.c                                              | 2 +-
 26 files changed, 31 insertions(+), 30 deletions(-)

diff --git a/Documentation/DocBook/libata.tmpl b/Documentation/DocBook/libata.tmpl
index d7fcdc5..0320910 100644
--- a/Documentation/DocBook/libata.tmpl
+++ b/Documentation/DocBook/libata.tmpl
@@ -1020,7 +1020,7 @@ and other resources, etc.
 	</itemizedlist>
 
 	<para>
-	Of errors detected as above, the followings are not ATA/ATAPI
+	Of errors detected as above, the following are not ATA/ATAPI
 	device errors but ATA bus errors and should be handled
 	according to <xref linkend="excatATAbusErr"/>.
 	</para>
diff --git a/Documentation/acpi/method-tracing.txt b/Documentation/acpi/method-tracing.txt
index c2505ee..0aba14c 100644
--- a/Documentation/acpi/method-tracing.txt
+++ b/Documentation/acpi/method-tracing.txt
@@ -152,7 +152,7 @@ tracing facility.
 	Users can enable/disable this debug tracing feature by executing
 	the following command:
 	    # echo string > /sys/module/acpi/parameters/trace_state
-	Where "string" should be one of the followings:
+	Where "string" should be one of the following:
 	"disable"
 	    Disable the method tracing feature.
 	"enable"
diff --git a/Documentation/blockdev/mflash.txt b/Documentation/blockdev/mflash.txt
index 1f610ec..f7e0505 100644
--- a/Documentation/blockdev/mflash.txt
+++ b/Documentation/blockdev/mflash.txt
@@ -17,7 +17,7 @@ driver and currently works well under standard IDE subsystem. Actually it's
 one chip SSD. IO mode is ATA-like custom mode for the host that doesn't have
 IDE interface.
 
-Followings are brief descriptions about IO mode.
+Following are brief descriptions about IO mode.
 A. IO mode based on ATA protocol and uses some custom command. (read confirm,
 write confirm)
 B. IO mode uses SRAM bus interface.
diff --git a/Documentation/devicetree/bindings/net/marvell-armada-370-neta.txt b/Documentation/devicetree/bindings/net/marvell-armada-370-neta.txt
index 7aa840c..ae4234c 100644
--- a/Documentation/devicetree/bindings/net/marvell-armada-370-neta.txt
+++ b/Documentation/devicetree/bindings/net/marvell-armada-370-neta.txt
@@ -1,7 +1,7 @@
 * Marvell Armada 370 / Armada XP / Armada 3700 Ethernet Controller (NETA)
 
 Required properties:
-- compatible: could be one of the followings
+- compatible: could be one of the following:
 	"marvell,armada-370-neta"
 	"marvell,armada-xp-neta"
 	"marvell,armada-3700-neta"
diff --git a/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt
index de1378b..c931fb1 100644
--- a/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt
+++ b/Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt
@@ -6,7 +6,7 @@ the first two functions being GPIO in and out. The configuration on
 the pins includes drive strength and pull-up.
 
 Required properties:
-- compatible: Should be one of the followings (depending on you SoC):
+- compatible: Should be one of the following (depending on your SoC):
   "allwinner,sun4i-a10-pinctrl"
   "allwinner,sun5i-a10s-pinctrl"
   "allwinner,sun5i-a13-pinctrl"
diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.txt b/Documentation/devicetree/bindings/soc/rockchip/grf.txt
index 013e71a..76d6ccf6 100644
--- a/Documentation/devicetree/bindings/soc/rockchip/grf.txt
+++ b/Documentation/devicetree/bindings/soc/rockchip/grf.txt
@@ -9,14 +9,14 @@ From RK3368 SoCs, the GRF is divided into two sections,
 
 Required Properties:
 
-- compatible: GRF should be one of the followings
+- compatible: GRF should be one of the following:
    - "rockchip,rk3066-grf", "syscon": for rk3066
    - "rockchip,rk3188-grf", "syscon": for rk3188
    - "rockchip,rk3228-grf", "syscon": for rk3228
    - "rockchip,rk3288-grf", "syscon": for rk3288
    - "rockchip,rk3368-grf", "syscon": for rk3368
    - "rockchip,rk3399-grf", "syscon": for rk3399
-- compatible: PMUGRF should be one of the followings
+- compatible: PMUGRF should be one of the following:
    - "rockchip,rk3368-pmugrf", "syscon": for rk3368
    - "rockchip,rk3399-pmugrf", "syscon": for rk3399
 - reg: physical base address of the controller and length of memory mapped
diff --git a/Documentation/devicetree/bindings/sound/rockchip-i2s.txt b/Documentation/devicetree/bindings/sound/rockchip-i2s.txt
index 4ea29aa..a6600f6 100644
--- a/Documentation/devicetree/bindings/sound/rockchip-i2s.txt
+++ b/Documentation/devicetree/bindings/sound/rockchip-i2s.txt
@@ -5,7 +5,7 @@ audio data transfer between devices in the system.
 
 Required properties:
 
-- compatible: should be one of the followings
+- compatible: should be one of the following:
    - "rockchip,rk3066-i2s": for rk3066
    - "rockchip,rk3188-i2s", "rockchip,rk3066-i2s": for rk3188
    - "rockchip,rk3288-i2s", "rockchip,rk3066-i2s": for rk3288
@@ -17,7 +17,7 @@ Required properties:
 	Documentation/devicetree/bindings/dma/dma.txt
 - dma-names: should include "tx" and "rx".
 - clocks: a list of phandle + clock-specifer pairs, one for each entry in clock-names.
-- clock-names: should contain followings:
+- clock-names: should contain the following:
    - "i2s_hclk": clock for I2S BUS
    - "i2s_clk" : clock for I2S controller
 - rockchip,playback-channels: max playback channels, if not set, 8 channels default.
diff --git a/Documentation/devicetree/bindings/sound/sun4i-codec.txt b/Documentation/devicetree/bindings/sound/sun4i-codec.txt
index 3033bd8..3863531 100644
--- a/Documentation/devicetree/bindings/sound/sun4i-codec.txt
+++ b/Documentation/devicetree/bindings/sound/sun4i-codec.txt
@@ -14,7 +14,7 @@ Required properties:
 - dma-names: should include "tx" and "rx".
 - clocks: a list of phandle + clock-specifer pairs, one for each entry
   in clock-names.
-- clock-names: should contain followings:
+- clock-names: should contain the following:
    - "apb": the parent APB clock for this controller
    - "codec": the parent module clock
 
diff --git a/Documentation/devicetree/bindings/sound/sun4i-i2s.txt b/Documentation/devicetree/bindings/sound/sun4i-i2s.txt
index 7b526ec..7a2c094 100644
--- a/Documentation/devicetree/bindings/sound/sun4i-i2s.txt
+++ b/Documentation/devicetree/bindings/sound/sun4i-i2s.txt
@@ -5,7 +5,7 @@ audio data transfer between devices in the system.
 
 Required properties:
 
-- compatible: should be one of the followings
+- compatible: should be one of the following:
    - "allwinner,sun4i-a10-i2s"
 - reg: physical base address of the controller and length of memory mapped
   region.
@@ -14,7 +14,7 @@ Required properties:
 	Documentation/devicetree/bindings/dma/dma.txt
 - dma-names: should include "tx" and "rx".
 - clocks: a list of phandle + clock-specifer pairs, one for each entry in clock-names.
-- clock-names: should contain followings:
+- clock-names: should contain the following:
    - "apb" : clock for the I2S bus interface
    - "mod" : module clock for the I2S controller
 - #sound-dai-cells : Must be equal to 0
diff --git a/Documentation/memory-hotplug.txt b/Documentation/memory-hotplug.txt
index 5de846d..670f3de 100644
--- a/Documentation/memory-hotplug.txt
+++ b/Documentation/memory-hotplug.txt
@@ -114,11 +114,11 @@ config options.
     Memory model -> Sparse Memory  (CONFIG_SPARSEMEM)
     Allow for memory hot-add       (CONFIG_MEMORY_HOTPLUG)
 
-- To enable memory removal, the followings are also necessary
+- To enable memory removal, the following are also necessary
     Allow for memory hot remove    (CONFIG_MEMORY_HOTREMOVE)
     Page Migration                 (CONFIG_MIGRATION)
 
-- For ACPI memory hotplug, the followings are also necessary
+- For ACPI memory hotplug, the following are also necessary
     Memory hotplug (under ACPI Support menu) (CONFIG_ACPI_HOTPLUG_MEMORY)
     This option can be kernel module.
 
diff --git a/Documentation/sound/hd-audio/notes.rst b/Documentation/sound/hd-audio/notes.rst
index 168d0cf..9eeb9b4 100644
--- a/Documentation/sound/hd-audio/notes.rst
+++ b/Documentation/sound/hd-audio/notes.rst
@@ -697,7 +697,7 @@ If it's a regression, at best, send alsa-info outputs of both working
 and non-working kernels.  This is really helpful because we can
 compare the codec registers directly.
 
-Send a bug report either the followings:
+Send a bug report either the following:
 
 kernel-bugzilla
     https://bugzilla.kernel.org/
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index 0e1ec37..01ba149 100644
--- a/drivers/ata/libata-eh.c
+++ b/drivers/ata/libata-eh.c
@@ -2033,7 +2033,7 @@ static int speed_down_verdict_cb(struct ata_ering_entry *ent, void *void_arg)
  *	This is to expedite speed down decisions right after device is
  *	initially configured.
  *
- *	The followings are speed down rules.  #1 and #2 deal with
+ *	The following are speed down rules.  #1 and #2 deal with
  *	DUBIOUS errors.
  *
  *	1. If more than one DUBIOUS_ATA_BUS or DUBIOUS_TOUT_HSM errors
diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c
index b275676..b3ae034 100644
--- a/drivers/atm/iphase.c
+++ b/drivers/atm/iphase.c
@@ -21,7 +21,7 @@
       supports a variety of varients of Interphase ATM PCI (i)Chip adapter 
       card family (See www.iphase.com/products/ClassSheet.cfm?ClassID=ATM) 
       in terms of PHY type, the size of control memory and the size of 
-      packet memory. The followings are the change log and history:
+      packet memory. The following are the change log and history:
      
           Bugfix the Mona's UBR driver.
           Modify the basic memory allocation and dma logic.
diff --git a/drivers/atm/iphase.h b/drivers/atm/iphase.h
index 53ecac5..2beacf2 100644
--- a/drivers/atm/iphase.h
+++ b/drivers/atm/iphase.h
@@ -21,7 +21,7 @@
       supports a variety of varients of Interphase ATM PCI (i)Chip adapter 
       card family (See www.iphase.com/products/ClassSheet.cfm?ClassID=ATM) 
       in terms of PHY type, the size of control memory and the size of 
-      packet memory. The followings are the change log and history:
+      packet memory. The following are the change log and history:
      
           Bugfix the Mona's UBR driver.
           Modify the basic memory allocation and dma logic.
diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c
index a324801..97b0a91 100644
--- a/drivers/devfreq/devfreq.c
+++ b/drivers/devfreq/devfreq.c
@@ -1208,7 +1208,7 @@ static int __init devfreq_init(void)
 subsys_initcall(devfreq_init);
 
 /*
- * The followings are helper functions for devfreq user device drivers with
+ * The following are helper functions for devfreq user device drivers with
  * OPP framework.
  */
 
diff --git a/drivers/hwmon/g762.c b/drivers/hwmon/g762.c
index b96a2a9..1dbc336 100644
--- a/drivers/hwmon/g762.c
+++ b/drivers/hwmon/g762.c
@@ -858,7 +858,7 @@ static ssize_t set_fan_pulses(struct device *dev,
  * (i.e. closed or open-loop).
  *
  * Following documentation about hwmon's sysfs interface, a pwm1_enable node
- * should accept followings:
+ * should accept the following:
  *
  *  0 : no fan speed control (i.e. fan at full speed)
  *  1 : manual fan speed control enabled (use pwm[1-*]) (open-loop)
diff --git a/drivers/isdn/hardware/eicon/debug.c b/drivers/isdn/hardware/eicon/debug.c
index 576b7b4..8bc2791 100644
--- a/drivers/isdn/hardware/eicon/debug.c
+++ b/drivers/isdn/hardware/eicon/debug.c
@@ -2049,7 +2049,7 @@ static int diva_dbg_cmp_key(const char *ref, const char *key) {
 /*
   In case trace filter starts with "C" character then
   all following characters are interpreted as command.
-  Followings commands are available:
+  Following commands are available:
   - single, trace single call at time, independent from CPN/CiPN
 */
 static int diva_mnt_cmp_nmbr(const char *nmbr) {
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 9236e40..0512fdd 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -3606,7 +3606,7 @@ static int __init pci_apply_final_quirks(void)
 fs_initcall_sync(pci_apply_final_quirks);
 
 /*
- * Followings are device-specific reset methods which can be used to
+ * Following are device-specific reset methods which can be used to
  * reset a single function if other methods (e.g. FLR, PM D0->D3) are
  * not available.
  */
diff --git a/drivers/staging/gs_fpgaboot/gs_fpgaboot.h b/drivers/staging/gs_fpgaboot/gs_fpgaboot.h
index 7b8cc3a..cd1eb2c 100644
--- a/drivers/staging/gs_fpgaboot/gs_fpgaboot.h
+++ b/drivers/staging/gs_fpgaboot/gs_fpgaboot.h
@@ -39,7 +39,7 @@ struct fpgaimage {
 	const struct	firmware	*fw_entry;
 
 	/*
-	 * the followings can be read from bitstream,
+	 * the following can be read from bitstream,
 	 * but other image format should have as well
 	 */
 	char	filename[MAX_STR];
diff --git a/drivers/usb/gadget/udc/renesas_usb3.c b/drivers/usb/gadget/udc/renesas_usb3.c
index fb8fc34..2218f91 100644
--- a/drivers/usb/gadget/udc/renesas_usb3.c
+++ b/drivers/usb/gadget/udc/renesas_usb3.c
@@ -1791,7 +1791,7 @@ static int renesas_usb3_init_ep(struct renesas_usb3 *usb3, struct device *dev,
 
 	dev_dbg(dev, "%s: num_usb3_eps = %d\n", __func__, usb3->num_usb3_eps);
 	/*
-	 * This driver prepares pipes as the followings:
+	 * This driver prepares pipes as follows:
 	 *  - odd pipes = IN pipe
 	 *  - even pipes = OUT pipe (except pipe 0)
 	 */
@@ -1841,7 +1841,7 @@ static void renesas_usb3_init_ram(struct renesas_usb3 *usb3, struct device *dev,
 	memset(basead, 0, sizeof(basead));
 
 	/*
-	 * This driver prepares pipes as the followings:
+	 * This driver prepares pipes as follows:
 	 *  - all pipes = the same size as "ramsize_per_pipe"
 	 * Please refer to the "Method of Specifying RAM Mapping"
 	 */
diff --git a/include/linux/kconfig.h b/include/linux/kconfig.h
index 8f2e059..4d74860 100644
--- a/include/linux/kconfig.h
+++ b/include/linux/kconfig.h
@@ -8,7 +8,7 @@
 
 /*
  * The use of "&&" / "||" is limited in certain expressions.
- * The followings enable to calculate "and" / "or" with macro expansion only.
+ * The following enable to calculate "and" / "or" with macro expansion only.
  */
 #define __and(x, y)			___and(x, y)
 #define ___and(x, y)			____and(__ARG_PLACEHOLDER_##x, y)
diff --git a/mm/percpu.c b/mm/percpu.c
index 0686f56..5696039 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -43,7 +43,7 @@
  * Chunks can be determined from the address using the index field
  * in the page struct. The index field contains a pointer to the chunk.
  *
- * To use this allocator, arch code should do the followings.
+ * To use this allocator, arch code should do the following:
  *
  * - define __addr_to_pcpu_ptr() and __pcpu_ptr_to_addr() to translate
  *   regular address to percpu pointer and back if they need to be
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index 5fb27d2..78406db 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -457,6 +457,7 @@ finsih||finish
 flusing||flushing
 folloing||following
 followign||following
+followings||following
 follwing||following
 forseeable||foreseeable
 forse||force
diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c
index 11b9b2f..bd7c29f 100644
--- a/sound/pci/hda/patch_ca0132.c
+++ b/sound/pci/hda/patch_ca0132.c
@@ -2863,7 +2863,7 @@ static unsigned int ca0132_capture_pcm_delay(struct hda_pcm_stream *info,
 #define CA0132_CODEC_MUTE(xname, nid, dir) \
 	CA0132_CODEC_MUTE_MONO(xname, nid, 3, dir)
 
-/* The followings are for tuning of products */
+/* The following are for tuning of products */
 #ifdef ENABLE_TUNING_CONTROLS
 
 static unsigned int voice_focus_vals_lookup[] = {
diff --git a/sound/ppc/snd_ps3.c b/sound/ppc/snd_ps3.c
index b84d7d3..cdd44ab 100644
--- a/sound/ppc/snd_ps3.c
+++ b/sound/ppc/snd_ps3.c
@@ -883,7 +883,7 @@ static void snd_ps3_audio_set_base_addr(uint64_t ioaddr_start)
 static void snd_ps3_audio_fixup(struct snd_ps3_card_info *card)
 {
 	/*
-	 * avsetting driver seems to never change the followings
+	 * avsetting driver seems to never change the following
 	 * so, init them here once
 	 */
 
diff --git a/sound/soc/fsl/fsl_asrc.c b/sound/soc/fsl/fsl_asrc.c
index 1d82f68..8cfffa7 100644
--- a/sound/soc/fsl/fsl_asrc.c
+++ b/sound/soc/fsl/fsl_asrc.c
@@ -368,7 +368,7 @@ static int fsl_asrc_config_pair(struct fsl_asrc_pair *pair)
 	fsl_asrc_set_watermarks(pair, ASRC_INPUTFIFO_THRESHOLD,
 				ASRC_INPUTFIFO_THRESHOLD);
 
-	/* Configure the followings only for Ideal Ratio mode */
+	/* Configure the following only for Ideal Ratio mode */
 	if (!ideal)
 		return 0;
 
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 35+ messages in thread

* Re: [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (30 preceding siblings ...)
  2016-12-12 20:05 ` [PATCH 31/31] scripts/spelling.txt: add "followings" " Masahiro Yamada
@ 2016-12-12 20:14 ` Kees Cook
  2016-12-12 20:24 ` Joe Perches
  32 siblings, 0 replies; 35+ messages in thread
From: Kees Cook @ 2016-12-12 20:14 UTC (permalink / raw)
  To: Masahiro Yamada
  Cc: Andrew Morton, Randy Dunlap, Zhao Lei, Joe Perches,
	Yoshihiro Shimoda, Geert Uytterhoeven, LKML

On Mon, Dec 12, 2016 at 12:04 PM, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
>
> This series fixes typos that
>
>   - have no entry in scripts/spelling.txt
>   - have 2 or more typo instances in the kernel tree
>
> This series can be cleanly applied to linux-next 20161212.
>
> Stephen Rothwell announced that new patches should not
> be applied until v4.10-rc1 is out.
> (https://lkml.org/lkml/2016/12/11/103)
>
> So, this series will be stable during the merge window.
>
> If this series looks good, I am hoping it will be
> merged during this merge window.
>
> Anyway, please review.
>
>
>
> Masahiro Yamada (31):
>   scripts/spelling.txt: add "swith" pattern and fix typo instances
>   scripts/spelling.txt: add "swithc" pattern and fix typo instances
>   scripts/spelling.txt: add "an user" pattern and fix typo instances
>   scripts/spelling.txt: add "an union" pattern and fix typo instances
>   scripts/spelling.txt: add "an one" pattern and fix typo instances
>   scripts/spelling.txt: add "partiton" pattern and fix typo instances
>   scripts/spelling.txt: add "aligment" pattern and fix typo instances
>   scripts/spelling.txt: add "algined" pattern and fix typo instances
>   scripts/spelling.txt: add "efective" pattern and fix typo instances
>   scripts/spelling.txt: add "varible" pattern and fix typo instances
>   scripts/spelling.txt: add "embeded" pattern and fix typo instances
>   scripts/spelling.txt: add "againt" pattern and fix typo instances
>   scripts/spelling.txt: add "neded" pattern and fix typo instances
>   scripts/spelling.txt: add "unneded" pattern and fix typo instances
>   scripts/spelling.txt: add "intialization" pattern and fix typo
>     instances
>   scripts/spelling.txt: add "initialiazation" pattern and fix typo
>     instances
>   scripts/spelling.txt: add "intialise(d)" pattern and fix typo
>     instances
>   scripts/spelling.txt: add "comsume(r)" pattern and fix typo instances
>   scripts/spelling.txt: add "disble(d)" pattern and fix typo instances
>   scripts/spelling.txt: add "overide" pattern and fix typo instances
>   scripts/spelling.txt: add "overrided" pattern and fix typo instances
>   scripts/spelling.txt: add "configuartion" pattern and fix typo
>     instances
>   scripts/spelling.txt: add "applys" pattern and fix typo instances
>   scripts/spelling.txt: add "explictely" pattern and fix typo instances
>   scripts/spelling.txt: add "omited" pattern and fix typo instances
>   scripts/spelling.txt: add "disassocation" pattern and fix typo
>     instances
>   scripts/spelling.txt: add "deintialize(d)" pattern and fix typo
>     instances
>   scripts/spelling.txt: add "overwritting" pattern and fix typo
>     instances
>   scripts/spelling.txt: add "overwriten" pattern and fix typo instances
>   scripts/spelling.txt: add "therfore" pattern and fix typo instances
>   scripts/spelling.txt: add "followings" pattern and fix typo instances
>
>  Documentation/DocBook/libata.tmpl                  |  2 +-
>  Documentation/acpi/method-customizing.txt          |  2 +-
>  Documentation/acpi/method-tracing.txt              |  2 +-
>  Documentation/admin-guide/ras.rst                  |  2 +-
>  Documentation/blockdev/mflash.txt                  |  2 +-
>  Documentation/dev-tools/kcov.rst                   |  2 +-
>  Documentation/device-mapper/dm-raid.txt            |  2 +-
>  Documentation/devicetree/bindings/mfd/qcom-rpm.txt |  2 +-
>  .../bindings/net/marvell-armada-370-neta.txt       |  2 +-
>  Documentation/devicetree/bindings/opp/opp.txt      |  2 +-
>  .../bindings/pinctrl/allwinner,sunxi-pinctrl.txt   |  2 +-
>  .../devicetree/bindings/power/pd-samsung.txt       |  2 +-
>  .../bindings/regulator/ti-abb-regulator.txt        |  2 +-
>  .../devicetree/bindings/soc/rockchip/grf.txt       |  4 +-
>  .../devicetree/bindings/sound/rockchip-i2s.txt     |  4 +-
>  .../devicetree/bindings/sound/sun4i-codec.txt      |  2 +-
>  .../devicetree/bindings/sound/sun4i-i2s.txt        |  4 +-
>  Documentation/filesystems/quota.txt                |  2 +-
>  Documentation/kselftest.txt                        |  4 +-
>  Documentation/media/dvb-drivers/ci.rst             |  2 +-
>  .../media/uapi/dvb/dvb-frontend-parameters.rst     |  4 +-
>  Documentation/memory-hotplug.txt                   |  4 +-
>  Documentation/networking/cdc_mbim.txt              |  4 +-
>  Documentation/scsi/ChangeLog.megaraid_sas          |  2 +-
>  Documentation/sound/hd-audio/notes.rst             |  2 +-
>  Documentation/vm/userfaultfd.txt                   |  2 +-
>  arch/Kconfig                                       |  2 +-
>  arch/arc/kernel/unwind.c                           |  4 +-
>  arch/arm/boot/compressed/head.S                    |  2 +-
>  arch/arm/include/asm/mach/flash.h                  |  2 +-
>  arch/arm/mach-omap2/omap_twl.c                     |  2 +-
>  arch/arm/mm/cache-v7.S                             |  2 +-
>  arch/arm/mm/cache-v7m.S                            |  2 +-
>  arch/arm64/lib/copy_template.S                     |  2 +-
>  arch/cris/arch-v32/drivers/cryptocop.c             |  2 +-
>  arch/ia64/sn/kernel/sn2/sn_hwperf.c                |  2 +-
>  arch/m68k/ifpsp060/src/isp.S                       |  2 +-
>  arch/openrisc/kernel/entry.S                       |  6 +--
>  arch/openrisc/kernel/head.S                        |  6 +--
>  arch/openrisc/kernel/vmlinux.lds.S                 |  4 +-
>  arch/powerpc/boot/dts/fsl/mpc8569mds.dts           |  2 +-
>  arch/powerpc/include/asm/book3s/64/mmu.h           |  2 +-
>  arch/powerpc/include/asm/fsl_hcalls.h              |  2 +-
>  arch/powerpc/platforms/powernv/pci-ioda.c          |  2 +-
>  arch/powerpc/platforms/pseries/iommu.c             |  2 +-
>  arch/powerpc/xmon/ppc-opc.c                        |  2 +-
>  arch/s390/kernel/vtime.c                           |  2 +-
>  arch/sh/kernel/irq.c                               |  2 +-
>  arch/sparc/include/asm/switch_to_32.h              |  2 +-
>  arch/sparc/kernel/visemul.c                        |  2 +-
>  arch/x86/include/asm/desc_defs.h                   |  2 +-
>  arch/x86/kernel/ftrace.c                           |  2 +-
>  arch/x86/kvm/mmu.c                                 |  2 +-
>  block/blk-throttle.c                               |  2 +-
>  certs/blacklist.c                                  |  2 +-
>  drivers/acpi/acpica/acmacros.h                     |  2 +-
>  drivers/acpi/acpica/dbconvert.c                    |  2 +-
>  drivers/acpi/acpica/nspredef.c                     |  2 +-
>  drivers/acpi/acpica/nsxfeval.c                     |  4 +-
>  drivers/acpi/resource.c                            |  2 +-
>  drivers/acpi/spcr.c                                |  2 +-
>  drivers/ata/libata-eh.c                            |  2 +-
>  drivers/atm/iphase.c                               |  2 +-
>  drivers/atm/iphase.h                               |  2 +-
>  drivers/block/loop.c                               |  2 +-
>  drivers/block/paride/pcd.c                         |  2 +-
>  drivers/block/paride/pd.c                          |  2 +-
>  drivers/block/paride/pf.c                          |  2 +-
>  drivers/block/paride/pg.c                          |  2 +-
>  drivers/block/paride/pt.c                          |  2 +-
>  drivers/char/pcmcia/cm4000_cs.c                    |  2 +-
>  drivers/char/sonypi.c                              |  2 +-
>  drivers/crypto/caam/ctrl.c                         |  2 +-
>  drivers/crypto/ux500/cryp/cryp.c                   |  2 +-
>  drivers/devfreq/devfreq.c                          |  2 +-
>  drivers/extcon/extcon-rt8973a.c                    |  2 +-
>  drivers/firewire/core-device.c                     |  4 +-
>  drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c             |  2 +-
>  drivers/gpu/drm/amd/include/atombios.h             |  8 ++--
>  .../gpu/drm/amd/powerplay/inc/hardwaremanager.h    |  2 +-
>  drivers/gpu/drm/drm_probe_helper.c                 |  4 +-
>  drivers/gpu/drm/i915/i915_gem_render_state.c       |  2 +-
>  drivers/gpu/drm/radeon/atombios.h                  |  6 +--
>  drivers/hid/hid-kye.c                              |  2 +-
>  drivers/hv/channel.c                               |  2 +-
>  drivers/hwmon/g762.c                               |  2 +-
>  drivers/infiniband/hw/qib/qib_iba6120.c            |  2 +-
>  drivers/infiniband/hw/qib/qib_iba7220.c            |  2 +-
>  drivers/infiniband/hw/qib/qib_iba7322.c            |  2 +-
>  drivers/infiniband/sw/rdmavt/mad.c                 |  6 +--
>  drivers/isdn/hardware/eicon/debug.c                |  2 +-
>  drivers/isdn/hardware/mISDN/mISDNipac.c            |  2 +-
>  drivers/isdn/hisax/st5481_b.c                      |  2 +-
>  drivers/isdn/mISDN/dsp_core.c                      |  2 +-
>  drivers/media/dvb-core/dvb_ringbuffer.h            |  4 +-
>  drivers/media/dvb-frontends/drx39xyj/drx_driver.h  | 12 +++---
>  drivers/media/dvb-frontends/drx39xyj/drxj.c        | 16 ++++----
>  drivers/media/dvb-frontends/drx39xyj/drxj.h        |  4 +-
>  drivers/media/dvb-frontends/drxk_hard.c            |  2 +-
>  drivers/media/i2c/adv7183_regs.h                   |  2 +-
>  drivers/media/platform/exynos4-is/fimc-core.h      |  2 +-
>  drivers/media/usb/gspca/t613.c                     |  6 +--
>  drivers/media/usb/tm6000/tm6000-input.c            |  2 +-
>  drivers/media/v4l2-core/tuner-core.c               |  4 +-
>  drivers/misc/vmw_vmci/vmci_queue_pair.c            |  2 +-
>  drivers/mmc/host/mmci_qcom_dml.c                   |  2 +-
>  drivers/mtd/spi-nor/spi-nor.c                      |  2 +-
>  drivers/net/can/flexcan.c                          |  2 +-
>  drivers/net/ethernet/adi/bfin_mac.c                |  2 +-
>  drivers/net/ethernet/broadcom/bcm63xx_enet.c       |  2 +-
>  drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c   |  2 +-
>  drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c |  2 +-
>  drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c |  4 +-
>  drivers/net/ethernet/intel/igb/e1000_phy.c         |  2 +-
>  drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c     |  2 +-
>  drivers/net/ethernet/micrel/ksz884x.c              |  8 ++--
>  .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c    |  2 +-
>  drivers/net/ethernet/qlogic/qlge/qlge.h            |  4 +-
>  drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c    |  8 ++--
>  drivers/net/ethernet/sfc/mcdi_pcol.h               |  2 +-
>  drivers/net/ethernet/sis/sis900.c                  |  2 +-
>  drivers/net/usb/kalmia.c                           |  2 +-
>  drivers/net/wimax/i2400m/usb-fw.c                  |  2 +-
>  drivers/net/wireless/ath/ath9k/ani.c               |  4 +-
>  drivers/net/wireless/intel/ipw2x00/ipw2100.c       |  6 +--
>  drivers/net/wireless/intel/ipw2x00/ipw2200.c       |  4 +-
>  drivers/net/wireless/marvell/mwifiex/wmm.c         |  4 +-
>  .../net/wireless/realtek/rtlwifi/rtl8192se/fw.c    |  4 +-
>  drivers/net/wireless/rsi/rsi_91x_usb.c             |  2 +-
>  drivers/net/wireless/ti/wl18xx/main.c              |  2 +-
>  drivers/net/wireless/ti/wlcore/init.c              |  2 +-
>  drivers/nfc/pn533/pn533.c                          |  2 +-
>  drivers/nvme/host/rdma.c                           |  2 +-
>  drivers/parport/parport_pc.c                       |  2 +-
>  drivers/pci/quirks.c                               |  2 +-
>  drivers/pinctrl/bcm/Kconfig                        |  2 +-
>  drivers/power/avs/smartreflex.c                    |  6 +--
>  drivers/scsi/aacraid/linit.c                       |  2 +-
>  drivers/scsi/aic7xxx/aic79xx_core.c                |  2 +-
>  drivers/scsi/bfa/bfi_ms.h                          |  2 +-
>  drivers/scsi/fcoe/fcoe_ctlr.c                      |  2 +-
>  drivers/scsi/ipr.c                                 |  2 +-
>  drivers/scsi/lpfc/lpfc_attr.c                      |  2 +-
>  drivers/scsi/lpfc/lpfc_sli.c                       | 18 ++++-----
>  drivers/scsi/mpt3sas/mpt3sas_ctl.c                 |  2 +-
>  drivers/scsi/mpt3sas/mpt3sas_ctl.h                 |  2 +-
>  drivers/scsi/osd/osd_initiator.c                   |  2 +-
>  drivers/scsi/scsi_transport_sas.c                  |  2 +-
>  drivers/scsi/storvsc_drv.c                         |  2 +-
>  drivers/staging/gs_fpgaboot/gs_fpgaboot.h          |  2 +-
>  .../lustre/lustre/include/lustre/lustre_idl.h      |  2 +-
>  drivers/staging/rtl8192u/ieee80211/ieee80211.h     |  4 +-
>  .../staging/rtl8192u/ieee80211/ieee80211_softmac.c |  2 +-
>  .../vc04_services/interface/vchiq_arm/vchiq_arm.c  |  4 +-
>  drivers/staging/wilc1000/linux_wlan.c              |  2 +-
>  drivers/staging/wilc1000/wilc_wfi_cfgoperations.c  |  2 +-
>  drivers/tty/serial/ioc4_serial.c                   |  2 +-
>  drivers/usb/core/devio.c                           |  2 +-
>  drivers/usb/gadget/legacy/inode.c                  |  3 +-
>  drivers/usb/gadget/udc/fsl_udc_core.c              |  4 +-
>  drivers/usb/gadget/udc/renesas_usb3.c              |  4 +-
>  drivers/usb/host/xhci.c                            |  4 +-
>  drivers/usb/usbip/usbip_common.c                   |  2 +-
>  drivers/video/fbdev/aty/radeon_monitor.c           |  2 +-
>  drivers/video/fbdev/intelfb/intelfbdrv.c           |  2 +-
>  drivers/watchdog/bcm2835_wdt.c                     |  6 +--
>  fs/ecryptfs/kthread.c                              |  2 +-
>  fs/ext4/extents_status.c                           |  2 +-
>  fs/inode.c                                         |  2 +-
>  fs/ocfs2/dlm/dlmmaster.c                           |  2 +-
>  fs/userfaultfd.c                                   |  6 +--
>  fs/xfs/xfs_log_recover.c                           |  2 +-
>  include/dt-bindings/sound/cs42l42.h                |  2 +-
>  include/linux/dcache.h                             |  4 +-
>  include/linux/kconfig.h                            |  2 +-
>  include/linux/mtd/qinfo.h                          |  2 +-
>  include/linux/regulator/machine.h                  |  2 +-
>  include/linux/spi/flash.h                          |  2 +-
>  include/media/v4l2-ctrls.h                         |  4 +-
>  include/net/cfg80211.h                             |  2 +-
>  include/net/irda/timer.h                           |  2 +-
>  include/net/mac80211.h                             |  2 +-
>  include/xen/interface/grant_table.h                |  2 +-
>  kernel/cgroup.c                                    |  2 +-
>  kernel/events/core.c                               |  2 +-
>  kernel/irq/manage.c                                |  2 +-
>  kernel/torture.c                                   |  2 +-
>  kernel/trace/trace_stack.c                         |  2 +-
>  mm/page-writeback.c                                |  2 +-
>  mm/page_alloc.c                                    |  2 +-
>  mm/percpu.c                                        |  2 +-
>  net/bluetooth/hci_sock.c                           |  6 +--
>  net/mac80211/mesh.c                                |  2 +-
>  net/netfilter/nfnetlink_cthelper.c                 |  2 +-
>  net/netfilter/x_tables.c                           |  2 +-
>  net/sctp/transport.c                               |  4 +-
>  scripts/recordmcount.pl                            |  2 +-
>  scripts/spelling.txt                               | 45 ++++++++++++++++++++++
>  sound/pci/ac97/ac97_patch.c                        |  2 +-
>  sound/pci/cs46xx/cs46xx_dsp_task_types.h           |  2 +-
>  sound/pci/hda/patch_ca0132.c                       |  2 +-
>  sound/pci/ice1712/wm8766.c                         |  2 +-
>  sound/pci/ice1712/wm8776.c                         |  2 +-
>  sound/ppc/snd_ps3.c                                |  2 +-
>  sound/soc/amd/acp-pcm-dma.c                        |  4 +-
>  sound/soc/codecs/wm_hubs.c                         |  2 +-
>  sound/soc/fsl/fsl_asrc.c                           |  2 +-
>  sound/soc/qcom/lpass.h                             |  2 +-
>  sound/soc/soc-topology.c                           |  4 +-
>  tools/lguest/lguest.c                              |  2 +-
>  tools/lib/bpf/Makefile                             |  2 +-
>  tools/lib/bpf/bpf.c                                |  2 +-
>  tools/lib/traceevent/Makefile                      |  2 +-
>  tools/lib/traceevent/event-parse.h                 |  2 +-
>  tools/perf/Documentation/tips.txt                  |  2 +-
>  tools/perf/util/dso.c                              |  2 +-
>  tools/perf/util/probe-finder.c                     |  4 +-
>  tools/perf/util/sort.h                             |  2 +-
>  218 files changed, 340 insertions(+), 302 deletions(-)
>
> --
> 2.7.4
>

Nice work!

-Kees

-- 
Kees Cook
Nexus Security

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes
  2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
                   ` (31 preceding siblings ...)
  2016-12-12 20:14 ` [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Kees Cook
@ 2016-12-12 20:24 ` Joe Perches
  32 siblings, 0 replies; 35+ messages in thread
From: Joe Perches @ 2016-12-12 20:24 UTC (permalink / raw)
  To: Masahiro Yamada, Andrew Morton
  Cc: Randy Dunlap, Kees Cook, Zhao Lei, Yoshihiro Shimoda,
	Geert Uytterhoeven, linux-kernel

On Tue, 2016-12-13 at 05:04 +0900, Masahiro Yamada wrote:
> This series fixes typos that
> 
>   - have no entry in scripts/spelling.txt
>   - have 2 or more typo instances in the kernel tree
> 
> This series can be cleanly applied to linux-next 20161212.
> 
> Stephen Rothwell announced that new patches should not
> be applied until v4.10-rc1 is out.
> (https://lkml.org/lkml/2016/12/11/103)
> 
> So, this series will be stable during the merge window.
> 
> If this series looks good, I am hoping it will be
> merged during this merge window.
> 
> Anyway, please review.

This all seems correct, thanks, and it's really
good you updated spelling.txt too.

> Masahiro Yamada (31):
>   scripts/spelling.txt: add "an user" pattern and fix typo instances

I'm a bit surprised that works in checkpatch, but
reading the code, it seems to.
(as I awkwardly pat myself on the back)

codespell doesn't support this as far as I know.

^ permalink raw reply	[flat|nested] 35+ messages in thread

* Re: [PATCH 09/31] scripts/spelling.txt: add "efective" pattern and fix typo instances
  2016-12-12 20:04 ` [PATCH 09/31] scripts/spelling.txt: add "efective" " Masahiro Yamada
@ 2016-12-13 11:22   ` Geert Uytterhoeven
  0 siblings, 0 replies; 35+ messages in thread
From: Geert Uytterhoeven @ 2016-12-13 11:22 UTC (permalink / raw)
  To: Masahiro Yamada
  Cc: Andrew Morton, Randy Dunlap, Kees Cook, Zhao Lei, Joe Perches,
	Yoshihiro Shimoda, linux-kernel@vger.kernel.org

On Mon, Dec 12, 2016 at 9:04 PM, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
> Fix typos and add the following to the scripts/spelling.txt:
>
>   efective||effective
>
> While we are here, fix the "addres" as well in the touched line in
> arch/openrisc/kernel/entry.S.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
>  arch/m68k/ifpsp060/src/isp.S | 2 +-
>  arch/openrisc/kernel/entry.S | 2 +-
>  scripts/spelling.txt         | 1 +
>  3 files changed, 3 insertions(+), 2 deletions(-)

Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2016-12-13 11:22 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-12 20:04 [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Masahiro Yamada
2016-12-12 20:04 ` [PATCH 01/31] scripts/spelling.txt: add "swith" pattern and fix typo instances Masahiro Yamada
2016-12-12 20:04 ` [PATCH 02/31] scripts/spelling.txt: add "swithc" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 03/31] scripts/spelling.txt: add "an user" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 04/31] scripts/spelling.txt: add "an union" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 05/31] scripts/spelling.txt: add "an one" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 06/31] scripts/spelling.txt: add "partiton" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 07/31] scripts/spelling.txt: add "aligment" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 08/31] scripts/spelling.txt: add "algined" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 09/31] scripts/spelling.txt: add "efective" " Masahiro Yamada
2016-12-13 11:22   ` Geert Uytterhoeven
2016-12-12 20:04 ` [PATCH 10/31] scripts/spelling.txt: add "varible" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 11/31] scripts/spelling.txt: add "embeded" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 12/31] scripts/spelling.txt: add "againt" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 13/31] scripts/spelling.txt: add "neded" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 14/31] scripts/spelling.txt: add "unneded" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 15/31] scripts/spelling.txt: add "intialization" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 16/31] scripts/spelling.txt: add "initialiazation" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 17/31] scripts/spelling.txt: add "intialise(d)" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 18/31] scripts/spelling.txt: add "comsume(r)" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 19/31] scripts/spelling.txt: add "disble(d)" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 20/31] scripts/spelling.txt: add "overide" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 21/31] scripts/spelling.txt: add "overrided" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 22/31] scripts/spelling.txt: add "configuartion" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 23/31] scripts/spelling.txt: add "applys" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 24/31] scripts/spelling.txt: add "explictely" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 25/31] scripts/spelling.txt: add "omited" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 26/31] scripts/spelling.txt: add "disassocation" " Masahiro Yamada
2016-12-12 20:04 ` [PATCH 27/31] scripts/spelling.txt: add "deintialize(d)" " Masahiro Yamada
2016-12-12 20:05 ` [PATCH 28/31] scripts/spelling.txt: add "overwritting" " Masahiro Yamada
2016-12-12 20:05 ` [PATCH 29/31] scripts/spelling.txt: add "overwriten" " Masahiro Yamada
2016-12-12 20:05 ` [PATCH 30/31] scripts/spelling.txt: add "therfore" " Masahiro Yamada
2016-12-12 20:05 ` [PATCH 31/31] scripts/spelling.txt: add "followings" " Masahiro Yamada
2016-12-12 20:14 ` [PATCH 00/31] scripts/spelling.txt: add more patterns with actual typo fixes Kees Cook
2016-12-12 20:24 ` Joe Perches

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.