linux-sound.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] global: fix misapplications of "awhile"
@ 2025-07-02 19:32 Ahelenia Ziemiańska
  2025-07-03  5:35 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Ahelenia Ziemiańska @ 2025-07-02 19:32 UTC (permalink / raw)
  Cc: Steven Rostedt, Masami Hiramatsu, Jonathan Corbet, Yoshinori Sato,
	Rich Felker, John Paul Adrian Glaubitz, Chas Williams, Coly Li,
	Kent Overstreet, Jeroen de Borst, Harshitha Ramamurthy,
	Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Don Brace, James E.J. Bottomley, Martin K. Petersen,
	Greg Kroah-Hartman, Jiri Slaby, Mark Fasheh, Joel Becker,
	Joseph Qi, Jaroslav Kysela, Takashi Iwai, Madhavan Srinivasan,
	Michael Ellerman, Shuah Khan, linux-kernel, linux-trace-kernel,
	linux-doc, linux-sh, netdev, linux-bcache, storagedev, linux-scsi,
	linux-serial, ocfs2-devel, linux-sound, linuxppc-dev,
	linux-kselftest, linux-atm-general

[-- Attachment #1: Type: text/plain, Size: 8559 bytes --]

Of these:
  7 "for a while" typos
  5 "take a while" typos
  1 misreading of "once in a while"?

3 awhiles used correctly remain in the tree

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
---
 Documentation/trace/histogram.rst             | 2 +-
 arch/sh/drivers/pci/common.c                  | 2 +-
 arch/sh/drivers/pci/pci-sh7780.c              | 2 +-
 drivers/atm/lanai.c                           | 2 +-
 drivers/md/bcache/bcache.h                    | 2 +-
 drivers/md/bcache/request.c                   | 2 +-
 drivers/net/ethernet/google/gve/gve_rx_dqo.c  | 2 +-
 drivers/scsi/hpsa.c                           | 2 +-
 drivers/tty/serial/jsm/jsm_neo.c              | 2 +-
 fs/ocfs2/dlm/dlmrecovery.c                    | 2 +-
 sound/pci/emu10k1/emu10k1_main.c              | 2 +-
 sound/pci/emu10k1/emupcm.c                    | 2 +-
 tools/testing/selftests/powerpc/tm/tm-tmspr.c | 2 +-
 13 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/Documentation/trace/histogram.rst b/Documentation/trace/histogram.rst
index 0aada18c38c6..2b98c1720a54 100644
--- a/Documentation/trace/histogram.rst
+++ b/Documentation/trace/histogram.rst
@@ -249,7 +249,7 @@ Extended error information
   table, it should keep a running total of the number of bytes
   requested by that call_site.
 
-  We'll let it run for awhile and then dump the contents of the 'hist'
+  We'll let it run for a while and then dump the contents of the 'hist'
   file in the kmalloc event's subdirectory (for readability, a number
   of entries have been omitted)::
 
diff --git a/arch/sh/drivers/pci/common.c b/arch/sh/drivers/pci/common.c
index 9633b6147a05..f95004c67e6c 100644
--- a/arch/sh/drivers/pci/common.c
+++ b/arch/sh/drivers/pci/common.c
@@ -148,7 +148,7 @@ unsigned int pcibios_handle_status_errors(unsigned long addr,
 
 		cmd |= PCI_STATUS_PARITY | PCI_STATUS_DETECTED_PARITY;
 
-		/* Now back off of the IRQ for awhile */
+		/* Now back off of the IRQ for a while */
 		if (hose->err_irq) {
 			disable_irq_nosync(hose->err_irq);
 			hose->err_timer.expires = jiffies + HZ;
diff --git a/arch/sh/drivers/pci/pci-sh7780.c b/arch/sh/drivers/pci/pci-sh7780.c
index 9a624a6ee354..f41d6939a3d9 100644
--- a/arch/sh/drivers/pci/pci-sh7780.c
+++ b/arch/sh/drivers/pci/pci-sh7780.c
@@ -153,7 +153,7 @@ static irqreturn_t sh7780_pci_serr_irq(int irq, void *dev_id)
 	/* Deassert SERR */
 	__raw_writel(SH4_PCIINTM_SDIM, hose->reg_base + SH4_PCIINTM);
 
-	/* Back off the IRQ for awhile */
+	/* Back off the IRQ for a while */
 	disable_irq_nosync(irq);
 	hose->serr_timer.expires = jiffies + HZ;
 	add_timer(&hose->serr_timer);
diff --git a/drivers/atm/lanai.c b/drivers/atm/lanai.c
index 2a1fe3080712..0dfa2cdc897c 100644
--- a/drivers/atm/lanai.c
+++ b/drivers/atm/lanai.c
@@ -755,7 +755,7 @@ static void lanai_shutdown_rx_vci(const struct lanai_vcc *lvcc)
 /* Shutdown transmitting on card.
  * Unfortunately the lanai needs us to wait until all the data
  * drains out of the buffer before we can dealloc it, so this
- * can take awhile -- up to 370ms for a full 128KB buffer
+ * can take a while -- up to 370ms for a full 128KB buffer
  * assuming everone else is quiet.  In theory the time is
  * boundless if there's a CBR VCC holding things up.
  */
diff --git a/drivers/md/bcache/bcache.h b/drivers/md/bcache/bcache.h
index 1d33e40d26ea..7318d9800370 100644
--- a/drivers/md/bcache/bcache.h
+++ b/drivers/md/bcache/bcache.h
@@ -499,7 +499,7 @@ struct gc_stat {
  * won't automatically reattach).
  *
  * CACHE_SET_STOPPING always gets set first when we're closing down a cache set;
- * we'll continue to run normally for awhile with CACHE_SET_STOPPING set (i.e.
+ * we'll continue to run normally for a while with CACHE_SET_STOPPING set (i.e.
  * flushing dirty data).
  *
  * CACHE_SET_RUNNING means all cache devices have been registered and journal
diff --git a/drivers/md/bcache/request.c b/drivers/md/bcache/request.c
index af345dc6fde1..87b4341cb42c 100644
--- a/drivers/md/bcache/request.c
+++ b/drivers/md/bcache/request.c
@@ -257,7 +257,7 @@ static CLOSURE_CALLBACK(bch_data_insert_start)
 
 	/*
 	 * But if it's not a writeback write we'd rather just bail out if
-	 * there aren't any buckets ready to write to - it might take awhile and
+	 * there aren't any buckets ready to write to - it might take a while and
 	 * we might be starving btree writes for gc or something.
 	 */
 
diff --git a/drivers/net/ethernet/google/gve/gve_rx_dqo.c b/drivers/net/ethernet/google/gve/gve_rx_dqo.c
index dcb0545baa50..6a0be54f1c81 100644
--- a/drivers/net/ethernet/google/gve/gve_rx_dqo.c
+++ b/drivers/net/ethernet/google/gve/gve_rx_dqo.c
@@ -608,7 +608,7 @@ static int gve_rx_dqo(struct napi_struct *napi, struct gve_rx_ring *rx,
 	buf_len = compl_desc->packet_len;
 	hdr_len = compl_desc->header_len;
 
-	/* Page might have not been used for awhile and was likely last written
+	/* Page might have not been used for a while and was likely last written
 	 * by a different thread.
 	 */
 	if (rx->dqo.page_pool) {
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index c73a71ac3c29..0066f15153a7 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -7795,7 +7795,7 @@ static int hpsa_wait_for_mode_change_ack(struct ctlr_info *h)
 	u32 doorbell_value;
 	unsigned long flags;
 
-	/* under certain very rare conditions, this can take awhile.
+	/* under certain very rare conditions, this can take a while.
 	 * (e.g.: hot replace a failed 144GB drive in a RAID 5 set right
 	 * as we enter this code.)
 	 */
diff --git a/drivers/tty/serial/jsm/jsm_neo.c b/drivers/tty/serial/jsm/jsm_neo.c
index e8e13bf056e2..2eb9ff26d6e8 100644
--- a/drivers/tty/serial/jsm/jsm_neo.c
+++ b/drivers/tty/serial/jsm/jsm_neo.c
@@ -1189,7 +1189,7 @@ static irqreturn_t neo_intr(int irq, void *voidbrd)
 			/*
 			 * The UART triggered us with a bogus interrupt type.
 			 * It appears the Exar chip, when REALLY bogged down, will throw
-			 * these once and awhile.
+			 * these periodically.
 			 * Its harmless, just ignore it and move on.
 			 */
 			jsm_dbg(INTR, &brd->pci_dev,
diff --git a/fs/ocfs2/dlm/dlmrecovery.c b/fs/ocfs2/dlm/dlmrecovery.c
index 67fc62a49a76..00f52812dbb0 100644
--- a/fs/ocfs2/dlm/dlmrecovery.c
+++ b/fs/ocfs2/dlm/dlmrecovery.c
@@ -2632,7 +2632,7 @@ static int dlm_pick_recovery_master(struct dlm_ctxt *dlm)
 					 dlm_reco_master_ready(dlm),
 					 msecs_to_jiffies(1000));
 		if (!dlm_reco_master_ready(dlm)) {
-			mlog(0, "%s: reco master taking awhile\n",
+			mlog(0, "%s: reco master taking a while\n",
 			     dlm->name);
 			goto again;
 		}
diff --git a/sound/pci/emu10k1/emu10k1_main.c b/sound/pci/emu10k1/emu10k1_main.c
index bbe252b8916c..6050201851b1 100644
--- a/sound/pci/emu10k1/emu10k1_main.c
+++ b/sound/pci/emu10k1/emu10k1_main.c
@@ -606,7 +606,7 @@ static int snd_emu10k1_ecard_init(struct snd_emu10k1 *emu)
 	/* Step 2: Calibrate the ADC and DAC */
 	snd_emu10k1_ecard_write(emu, EC_DACCAL | EC_LEDN | EC_TRIM_CSN);
 
-	/* Step 3: Wait for awhile;   XXX We can't get away with this
+	/* Step 3: Wait for a while;   XXX We can't get away with this
 	 * under a real operating system; we'll need to block and wait that
 	 * way. */
 	snd_emu10k1_wait(emu, 48000);
diff --git a/sound/pci/emu10k1/emupcm.c b/sound/pci/emu10k1/emupcm.c
index 1bf6e3d652f8..ca4b03317539 100644
--- a/sound/pci/emu10k1/emupcm.c
+++ b/sound/pci/emu10k1/emupcm.c
@@ -991,7 +991,7 @@ static snd_pcm_uframes_t snd_emu10k1_capture_pointer(struct snd_pcm_substream *s
 	if (!epcm->running)
 		return 0;
 	if (epcm->first_ptr) {
-		udelay(50);	/* hack, it takes awhile until capture is started */
+		udelay(50);	/* hack, it takes a while until capture is started */
 		epcm->first_ptr = 0;
 	}
 	ptr = snd_emu10k1_ptr_read(emu, epcm->capture_idx_reg, 0) & 0x0000ffff;
diff --git a/tools/testing/selftests/powerpc/tm/tm-tmspr.c b/tools/testing/selftests/powerpc/tm/tm-tmspr.c
index dd5ddffa28b7..0d64988ffb40 100644
--- a/tools/testing/selftests/powerpc/tm/tm-tmspr.c
+++ b/tools/testing/selftests/powerpc/tm/tm-tmspr.c
@@ -14,7 +14,7 @@
  * (1) create more threads than cpus
  * (2) in each thread:
  * 	(a) set TFIAR and TFHAR a unique value
- * 	(b) loop for awhile, continually checking to see if
+ * 	(b) loop for a while, continually checking to see if
  * 	either register has been corrupted.
  *
  * (3) Loop:
-- 
2.39.5

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH] global: fix misapplications of "awhile"
  2025-07-02 19:32 [PATCH] global: fix misapplications of "awhile" Ahelenia Ziemiańska
@ 2025-07-03  5:35 ` Greg Kroah-Hartman
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2025-07-03  5:35 UTC (permalink / raw)
  To: Ahelenia Ziemiańska
  Cc: Steven Rostedt, Masami Hiramatsu, Jonathan Corbet, Yoshinori Sato,
	Rich Felker, John Paul Adrian Glaubitz, Chas Williams, Coly Li,
	Kent Overstreet, Jeroen de Borst, Harshitha Ramamurthy,
	Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Don Brace, James E.J. Bottomley, Martin K. Petersen,
	Jiri Slaby, Mark Fasheh, Joel Becker, Joseph Qi, Jaroslav Kysela,
	Takashi Iwai, Madhavan Srinivasan, Michael Ellerman, Shuah Khan,
	linux-kernel, linux-trace-kernel, linux-doc, linux-sh, netdev,
	linux-bcache, storagedev, linux-scsi, linux-serial, ocfs2-devel,
	linux-sound, linuxppc-dev, linux-kselftest, linux-atm-general

On Wed, Jul 02, 2025 at 09:32:45PM +0200, Ahelenia Ziemiańska wrote:
> Of these:
>   7 "for a while" typos
>   5 "take a while" typos
>   1 misreading of "once in a while"?
> 
> 3 awhiles used correctly remain in the tree
> 
> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>

Please properly break your patch up into one-per-subsystem and submit it
that way.

thanks,

greg k-h

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

end of thread, other threads:[~2025-07-03  5:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-02 19:32 [PATCH] global: fix misapplications of "awhile" Ahelenia Ziemiańska
2025-07-03  5:35 ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).