docs: fix "interruptible" misspellings
Subsystems (20)
PATCH 1/1 docs: fix "interruptible" misspellings
A common misspelling of "interruptible" is "interruptable". This fixes them in the tree and adds the two most common variations to spelling.txt.
--- Documentation/hid/hiddev.txt | 2 +- Documentation/scsi/ChangeLog.lpfc | 2 +- Documentation/sysrq.txt | 2 +- arch/arc/include/asm/irqflags-arcv2.h | 2 +- arch/x86/platform/uv/tlb_uv.c | 2 +- drivers/firmware/qcom_scm-32.c | 2 +- drivers/gpu/drm/radeon/radeon_fence.c | 12 ++++++------ drivers/hid/Kconfig | 2 +- drivers/hid/usbhid/Kconfig | 2 +- drivers/input/serio/hil_mlc.c | 2 +- drivers/net/ethernet/amd/nmclan_cs.c | 4 ++-- drivers/scsi/aacraid/commsup.c | 2 +- drivers/tty/serial/mux.c | 2 +- fs/ecryptfs/miscdev.c | 2 +- mm/kmemleak.c | 2 +- scripts/spelling.txt | 2 ++ sound/soc/intel/atom/sst/sst_pvt.c | 2 +- 17 files changed, 24 insertions(+), 22 deletions(-)
Documentation/hid/hiddev.txt +1 -1
@@ -5,7 +5,7 @@ INTRODUCTION In addition to the normal input type HID devices, USB also uses the human interface device protocols for things that are not really human interfaces, but have similar sorts of communication needs. The two big -examples for this are power devices (especially uninterruptable power +examples for this are power devices (especially uninterruptible power supplies) and monitor control on higher end monitors. To support these disparate requirements, the Linux USB system provides
Documentation/scsi/ChangeLog.lpfc +1 -1
@@ -389,7 +389,7 @@ Changes from 20041220 to 20041229 moved to kthread. kthread_stop() is not able to wake up thread waiting on a semaphore and "modprobe -r lpfc" is not always (most of the times) able to complete. Fix is in not using - semaphore for the interruptable sleep. + semaphore for the interruptible sleep. * Small Makefile cleanup - Remove remnants of 2.4 vs. 2.6 determination.
Documentation/sysrq.txt +1 -1
@@ -116,7 +116,7 @@ On all - write a character to /proc/sysrq-trigger. e.g.: 'v' - Forcefully restores framebuffer console 'v' - Causes ETM buffer dump [ARM-specific] -'w' - Dumps tasks that are in uninterruptable (blocked) state. +'w' - Dumps tasks that are in uninterruptible (blocked) state. 'x' - Used by xmon interface on ppc/powerpc platforms. Show global PMU Registers on sparc64.
arch/arc/include/asm/irqflags-arcv2.h +1 -1
@@ -38,7 +38,7 @@#define AUX_IRQ_ACT_BIT_U 31/* -* User space should be interruptable even by lowest prio interrupt +* User space should be interruptible even by lowest prio interrupt * Safe even if actual interrupt priorities is fewer or even one */ #define ARCV2_IRQ_DEF_PRIO 15
arch/x86/platform/uv/tlb_uv.c +1 -1
@@ -1251,7 +1251,7 @@ void process_uv2_message(struct msg_desc *mdp, struct bau_control *bcp)* * All cores/threads on this hub get this interrupt. * The last one to see it does the software ack. -* (the resource will not be freed until noninterruptable cpus see this +* (the resource will not be freed until noninterruptible cpus see this * interrupt; hardware may timeout the s/w ack and reply ERROR) */ void uv_bau_message_interrupt (struct pt_regs *regs)
drivers/firmware/qcom_scm-32.c +1 -1
@@ -317,7 +317,7 @@ out:* @arg1: first argument * * This shall only be used with commands that are guaranteed to be -* uninterruptable, atomic and SMP safe. +* uninterruptible, atomic and SMP safe. */ static s32 qcom_scm_call_atomic1 (u32 svc,u32 cmd,u32 arg1) {
drivers/gpu/drm/radeon/radeon_fence.c +6 -6
@@ -471,12 +471,12 @@ static bool radeon_fence_any_seq_signaled(struct radeon_device *rdev, u64 *seq)* * @rdev: radeon device pointer * @target_seq: sequence number(s) we want to wait for -* @intr: use interruptable sleep +* @intr: use interruptible sleep * @timeout: maximum time to wait, or MAX_SCHEDULE_TIMEOUT for infinite wait * * Wait for the requested sequence number(s) to be written by any ring * (all asics). Sequnce number array is indexed by ring id. -* @intr selects whether to use interruptable (true) or non-interruptable +* @intr selects whether to use interruptible (true) or non-interruptible * (false) sleep when waiting for the sequence number. Helper function * for radeon_fence_wait_*(). * Returns remaining time if the sequence number has passed, 0 when
@@ -533,7 +533,7 @@ static long radeon_fence_wait_seq_timeout(struct radeon_device *rdev,* @intr: use interruptible sleep * * Wait for the requested fence to signal (all asics). -* @intr selects whether to use interruptable (true) or non-interruptable +* @intr selects whether to use interruptible (true) or non-interruptible * (false) sleep when waiting for the fence. * @timeout: maximum time to wait, or MAX_SCHEDULE_TIMEOUT for infinite wait * Returns remaining time if the sequence number has passed, 0 when
@@ -573,7 +573,7 @@ long radeon_fence_wait_timeout(struct radeon_fence *fence, bool intr, long timeo* @intr: use interruptible sleep * * Wait for the requested fence to signal (all asics). -* @intr selects whether to use interruptable (true) or non-interruptable +* @intr selects whether to use interruptible (true) or non-interruptible * (false) sleep when waiting for the fence. * Returns 0 if the fence has passed, error for all other cases. */
@@ -592,11 +592,11 @@ int radeon_fence_wait(struct radeon_fence *fence, bool intr)* * @rdev: radeon device pointer * @fences: radeon fence object(s) -* @intr: use interruptable sleep +* @intr: use interruptible sleep * * Wait for any requested fence to signal (all asics). Fence * array is indexed by ring id. @intr selects whether to use -* interruptable (true) or non-interruptable (false) sleep when +* interruptible (true) or non-interruptible (false) sleep when * waiting for the fences. Used by the suballocator. * Returns 0 if any fence has passed, error for all other cases. */
drivers/hid/Kconfig +1 -1
@@ -41,7 +41,7 @@ config HIDRAW ---help--- Say Y here if you want to support HID devices (from the USB specification standpoint) that aren't strictly user interface - devices, like monitor controls and Uninterruptable Power Supplies. + devices, like monitor controls and Uninterruptible Power Supplies. This module supports these devices separately using a separate event interface on /dev/hidraw.
drivers/hid/usbhid/Kconfig +1 -1
@@ -37,7 +37,7 @@ config USB_HIDDEV help Say Y here if you want to support HID devices (from the USB specification standpoint) that aren't strictly user interface - devices, like monitor controls and Uninterruptable Power Supplies. + devices, like monitor controls and Uninterruptible Power Supplies. This module supports these devices separately using a separate event interface on /dev/usb/hiddevX (char 180:96 to 180:111).
drivers/input/serio/hil_mlc.c +1 -1
@@ -893,7 +893,7 @@ static void hil_mlc_serio_close(struct serio *serio)serio_set_drvdata (serio,NULL ); serio->drv =NULL ; -/* TODO wake up interruptable */ +/* TODO wake up interruptible */ }static const struct serio_device_id hil_mlc_serio_id = {
drivers/net/ethernet/amd/nmclan_cs.c +2 -2
@@ -479,7 +479,7 @@ static void nmclan_detach(struct pcmcia_device *link)/* ---------------------------------------------------------------------------- mace_read Reads a MACE register. This is bank independent; however, the -caller must ensure that this call is not interruptable. We are +caller must ensure that this call is not interruptible. We are assuming that during normal operation, the MACE is always in bank 0. ---------------------------------------------------------------------------- */
@@ -506,7 +506,7 @@ static int mace_read(mace_private *lp, unsigned int ioaddr, int reg)/* ---------------------------------------------------------------------------- mace_write Writes to a MACE register. This is bank independent; however, -the caller must ensure that this call is not interruptable. We +the caller must ensure that this call is not interruptible. We are assuming that during normal operation, the MACE is always in bank 0. ---------------------------------------------------------------------------- */
drivers/scsi/aacraid/commsup.c +1 -1
@@ -607,7 +607,7 @@ int aac_fib_send(u16 command, struct fib *fibptr, unsigned long size,if (wait) {spin_unlock_irqrestore (&fibptr->event_lock, flags); -/* Only set for first known interruptable command */ +/* Only set for first known interruptible command */ if (wait <0 ) {/* * *VERY* Dangerous to time out a command, the
drivers/tty/serial/mux.c +1 -1
@@ -490,7 +490,7 @@ static int __init mux_probe(struct parisc_device *dev)/* The port->timeout needs to match what is present in * uart_wait_until_sent in serial_core.c. Otherwise -* the time spent in msleep_interruptable will be very +* the time spent in msleep_interruptible will be very * long, causing the appearance of a console hang. */ port->timeout =HZ /50 ;
fs/ecryptfs/miscdev.c +1 -1
@@ -265,7 +265,7 @@ check_list: }if (list_empty (&daemon->msg_ctx_out_queue)) {/* Something else jumped in since the -* wait_event_interruptable() and removed the +* wait_event_interruptible() and removed the * message from the queue; try again */ goto check_list; }
mm/kmemleak.c +1 -1
@@ -1137,7 +1137,7 @@ static bool update_checksum(struct kmemleak_object *object) }/* -* Memory scanning is a long process and it needs to be interruptable. This +* Memory scanning is a long process and it needs to be interruptible. This * function checks whether such interrupt condition occurred. */ static int scan_should_stop (void )
scripts/spelling.txt +2 -0
@@ -548,6 +548,7 @@ interrface||interface interrrupt||interrupt interrup||interrupt interrups||interrupts +interruptable||interruptible interruptted||interrupted interupted||interrupted interupt||interrupt
@@ -1013,6 +1014,7 @@ unexpectd||unexpected unexpeted||unexpected unfortunatelly||unfortunately unifiy||unify +uninterruptable||uninterruptible unintialized||uninitialized unknonw||unknown unknow||unknown
sound/soc/intel/atom/sst/sst_pvt.c +1 -1
@@ -84,7 +84,7 @@ void sst_set_fw_state_locked(* @sst_drv_ctx: Driver context * @block: Driver block to wait on * -* This function waits without a timeout (and is interruptable) for a +* This function waits without a timeout (and is interruptible) for a * given block event */ int sst_wait_interruptible(struct intel_sst_drv *sst_drv_ctx,
Signature · 6 lines
2.6.3 -- Kees Cook Chrome OS & Brillo Security
Jonathan Corbet
maintainerQuoted 16 lines · On Wed, 18 May 2016 06:55:45 -0700 Kees Cook <[email protected]> wrote:
A common misspelling of "interruptible" is "interruptable". This fixes them in the tree and adds the two most common variations to spelling.txt.
Suggested-by Randy Dunlap <[email protected]>Signed-off-by Kees Cook <[email protected]>--- Documentation/hid/hiddev.txt | 2 +- Documentation/scsi/ChangeLog.lpfc | 2 +- Documentation/sysrq.txt | 2 +- arch/arc/include/asm/irqflags-arcv2.h | 2 +- arch/x86/platform/uv/tlb_uv.c | 2 +- drivers/firmware/qcom_scm-32.c | 2 +- drivers/gpu/drm/radeon/radeon_fence.c | 12 ++++++------ drivers/hid/Kconfig | 2 +- drivers/hid/usbhid/Kconfig | 2 +- drivers/input/serio/hil_mlc.c | 2 +-
Quoted 8 lines
drivers/net/ethernet/amd/nmclan_cs.c | 4 ++-- drivers/scsi/aacraid/commsup.c | 2 +- drivers/tty/serial/mux.c | 2 +- fs/ecryptfs/miscdev.c | 2 +- mm/kmemleak.c | 2 +- scripts/spelling.txt | 2 ++ sound/soc/intel/atom/sst/sst_pvt.c | 2 +- 17 files changed, 24 insertions(+), 22 deletions(-)
So I'm a bit nervous about taking this one; I don't normally feel that the docs tree has the mandate to reach out into the rest of the kernel this way. Sending them to maintainers individually wouldn't be much fun. Maybe Jiri (CC'd) can take it for the trivial tree?
Thanks,
jon
Quoted 3 lines · Jonathan Corbet
Quoted 2 lines · On Wed, 18 May 2016 06:55:45 -0700 Kees Cook <[email protected]> wrote:
A common misspelling of "interruptible" is "interruptable". This fixes them in the tree and adds the two most common variations to spelling.txt.
$ grep --include=*.[ch] -Proh "\b[A-Za-z]+[ai]ble\b" * | \ tr [:upper:] [:lower:] | sort | uniq
gives several more that could be updated like:
avaiable
avaialable
avaible
available
availible
availlable
avalable
avalaible
avaliable
avalible
avalilable
aviable
avialable
avilable
[]
preemptable
preemptible
preemtible
[]
responsable
responsible
resposible
[]
unwritable
unwriteable
unwrittable
updatable
updateable
upgradable
upgradeable
Quoted 32 lines · Joe Perches
Quoted 3 lines · Jonathan Corbet
Quoted 2 lines · On Wed, 18 May 2016 06:55:45 -0700 Kees Cook <[email protected]> wrote:
A common misspelling of "interruptible" is "interruptable". This fixes them in the tree and adds the two most common variations to spelling.txt.
$ grep --include=*.[ch] -Proh "\b[A-Za-z]+[ai]ble\b" * | \ tr [:upper:] [:lower:] | sort | uniqgives several more that could be updated like:
avaiable
avaialable
avaible
available
availible
availlable
avalable
avalaible
avaliable
avalible
avalilable
aviable
avialable
avilable
[]
preemptable
preemptible
preemtible
[]
responsable
responsible
resposible
Quoted 8 lines
[]
unwritable
unwriteable
unwrittable
updatable
updateable
upgradable
upgradeable
Oooh, yeah, these should get fixed too. Joe, do you have time to build a full patch for them?
-Kees
Signature · 2 lines
Kees Cook Nexus Security
Randy Dunlap
reviewerQuoted 42 lines · Kees Cook
Quoted 32 lines · Joe Perches
Quoted 3 lines · Jonathan Corbet
Quoted 2 lines · On Wed, 18 May 2016 06:55:45 -0700 Kees Cook <[email protected]> wrote:
A common misspelling of "interruptible" is "interruptable". This fixes them in the tree and adds the two most common variations to spelling.txt.
$ grep --include=*.[ch] -Proh "\b[A-Za-z]+[ai]ble\b" * | \ tr [:upper:] [:lower:] | sort | uniqgives several more that could be updated like:
avaiable
avaialable
avaible
available
availible
availlable
avalable
avalaible
avaliable
avalible
avalilable
aviable
avialable
avilable
[]
preemptable
preemptible
preemtible
[]
responsable
responsible
resposibleQuoted 8 lines
[]
unwritable
unwriteable
unwrittable
updatable
updateable
upgradable
upgradeable
Quoted 5 lines
Oooh, yeah, these should get fixed too. Joe, do you have time to build a full patch for them?
-Kees
and assignement
to correct spelling:
assignment
Signature · 1 line
~Randy
Quoted 28 lines · Jonathan Corbet
Quoted 16 lines · On Wed, 18 May 2016 06:55:45 -0700 Kees Cook <[email protected]> wrote:
A common misspelling of "interruptible" is "interruptable". This fixes them in the tree and adds the two most common variations to spelling.txt.
Suggested-by Randy Dunlap <[email protected]>Signed-off-by Kees Cook <[email protected]>--- Documentation/hid/hiddev.txt | 2 +- Documentation/scsi/ChangeLog.lpfc | 2 +- Documentation/sysrq.txt | 2 +- arch/arc/include/asm/irqflags-arcv2.h | 2 +- arch/x86/platform/uv/tlb_uv.c | 2 +- drivers/firmware/qcom_scm-32.c | 2 +- drivers/gpu/drm/radeon/radeon_fence.c | 12 ++++++------ drivers/hid/Kconfig | 2 +- drivers/hid/usbhid/Kconfig | 2 +- drivers/input/serio/hil_mlc.c | 2 +-Quoted 8 lines
drivers/net/ethernet/amd/nmclan_cs.c | 4 ++-- drivers/scsi/aacraid/commsup.c | 2 +- drivers/tty/serial/mux.c | 2 +- fs/ecryptfs/miscdev.c | 2 +- mm/kmemleak.c | 2 +- scripts/spelling.txt | 2 ++ sound/soc/intel/atom/sst/sst_pvt.c | 2 +- 17 files changed, 24 insertions(+), 22 deletions(-)
Quoted 4 lines
So I'm a bit nervous about taking this one; I don't normally feel that the docs tree has the mandate to reach out into the rest of the kernel this way. Sending them to maintainers individually wouldn't be much fun. Maybe Jiri (CC'd) can take it for the trivial tree?
Thread necromancy!
Since this is all in comments, etc, it seems like it'd be okay to go via docs, but trivial is fine by me too. Jiri, can you take this, or should Jon?
Thanks!
-Kees
Signature · 2 lines
Kees Cook Nexus Security