@@ -138,7 +138,7 @@ Command Function
``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.
@@ -8,7 +8,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
@@ -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.
@@ -215,7 +215,7 @@ int scm_legacy_call(struct device *dev, const struct qcom_scm_desc *desc,
* @res: SCM call return values
*
* This shall only be used with commands that are guaranteed to be
- * uninterruptable, atomic and SMP safe.
+ * uninterruptible, atomic and SMP safe.
*/
int scm_legacy_call_atomic(struct device *unused,
const struct qcom_scm_desc *desc,
@@ -2497,7 +2497,7 @@ static int eb_pin_timeline(struct i915_execbuffer *eb, struct intel_context *ce,
/*
* Error path, cannot use intel_context_timeline_lock as
- * that is user interruptable and this clean up step
+ * that is user interruptible and this clean up step
* must be done.
*/
mutex_lock(&ce->timeline->mutex);
@@ -303,7 +303,7 @@ static int submit_lock_objects(struct msm_gem_submit *submit)
/* Not expecting -EALREADY here, if the bo was already
* locked, we should have gotten -EALREADY already from
- * the dma_resv_lock_interruptable() call.
+ * the dma_resv_lock_interruptible() call.
*/
WARN_ON_ONCE(ret == -EALREADY);
}
@@ -465,12 +465,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
@@ -527,7 +527,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
@@ -564,7 +564,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.
*/
@@ -583,11 +583,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.
*/
@@ -902,7 +902,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 = {
@@ -475,7 +475,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.
---------------------------------------------------------------------------- */
@@ -502,7 +502,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.
---------------------------------------------------------------------------- */
@@ -140,14 +140,14 @@ static inline void chtls_reqsk_free(struct request_sock *req)
#define DECLARE_TASK_FUNC(task, task_param) \
static void task(struct work_struct *task_param)
-static inline void sk_wakeup_sleepers(struct sock *sk, bool interruptable)
+static inline void sk_wakeup_sleepers(struct sock *sk, bool interruptible)
{
struct socket_wq *wq;
rcu_read_lock();
wq = rcu_dereference(sk->sk_wq);
if (skwq_has_sleeper(wq)) {
- if (interruptable)
+ if (interruptible)
wake_up_interruptible(sk_sleep(sk));
else
wake_up_all(sk_sleep(sk));
@@ -637,7 +637,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
@@ -80,7 +80,7 @@ u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params,
struct optee *optee = tee_get_drvdata(ctx->teedev);
struct optee_supp *supp = &optee->supp;
struct optee_supp_req *req;
- bool interruptable;
+ bool interruptible;
u32 ret;
/*
@@ -115,8 +115,8 @@ u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params,
*/
while (wait_for_completion_interruptible(&req->c)) {
mutex_lock(&supp->mutex);
- interruptable = !supp->ctx;
- if (interruptable) {
+ interruptible = !supp->ctx;
+ if (interruptible) {
/*
* There's no supplicant available and since the
* supp->mutex currently is held none can
@@ -137,7 +137,7 @@ u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params,
}
mutex_unlock(&supp->mutex);
- if (interruptable) {
+ if (interruptible) {
req->ret = TEEC_ERROR_COMMUNICATION;
break;
}
@@ -257,7 +257,7 @@ int optee_supp_recv(struct tee_context *ctx, u32 *func, u32 *num_params,
* wait_for_completion() to avoid needless spinning.
*
* This is where supplicant will be hanging most of
- * the time, let's make this interruptable so we
+ * the time, let's make this interruptible so we
* can easily restart supplicant if needed.
*/
if (wait_for_completion_interruptible(&supp->reqs_c))
@@ -483,7 +483,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;
@@ -248,7 +248,7 @@ ecryptfs_miscdev_read(struct file *file, char __user *buf, size_t count,
}
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;
}
@@ -841,6 +841,7 @@ interrface||interface
interrrupt||interrupt
interrup||interrupt
interrups||interrupts
+interruptable||interruptible
interruptted||interrupted
interupted||interrupted
intiailized||initialized
@@ -75,7 +75,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,
A common misspelling of "interruptible" is "interruptable". This fixes them in the tree and adds the most common variation to spelling.txt. Note that "uninterruptable" was already in spelling.txt. Suggested-by: Randy Dunlap <rdunlap@infradead.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Colin Ian King <colin.king@intel.com> Cc: linux-doc@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org> --- Documentation/admin-guide/sysrq.rst | 2 +- Documentation/hid/hiddev.rst | 2 +- Documentation/scsi/ChangeLog.lpfc | 2 +- drivers/firmware/qcom_scm-legacy.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 2 +- drivers/gpu/drm/msm/msm_gem_submit.c | 2 +- drivers/gpu/drm/radeon/radeon_fence.c | 12 ++++++------ drivers/input/serio/hil_mlc.c | 2 +- drivers/net/ethernet/amd/nmclan_cs.c | 4 ++-- .../ethernet/chelsio/inline_crypto/chtls/chtls_cm.h | 4 ++-- drivers/scsi/aacraid/commsup.c | 2 +- drivers/tee/optee/supp.c | 10 +++++----- drivers/tty/serial/mux.c | 2 +- fs/ecryptfs/miscdev.c | 2 +- scripts/spelling.txt | 1 + sound/soc/intel/atom/sst/sst_pvt.c | 2 +- 16 files changed, 27 insertions(+), 26 deletions(-)