Re: [PATCH v2] treewide: Fix common grammar mistake "the the"

2024-04-11 Thread Christophe JAILLET

Le 11/04/2024 à 19:11, Thorsten Blum a écrit :

Use `find . -type f -exec sed -i 's/\/the/g' {} +` to find all
occurrences of "the the" and replace them with a single "the".

In arch/arm/include/asm/unwind.h replace "the the" with "to the".

Changes only comments and documentation - no code changes.

Signed-off-by: Thorsten Blum 
Reviewed-by: Randy Dunlap 
Reviewed-by: Tyler Hicks 


...


--- a/drivers/scsi/isci/host.h
+++ b/drivers/scsi/isci/host.h
@@ -244,7 +244,7 @@ enum sci_controller_states {
SCIC_INITIALIZED,
  
  	/**

-* This state indicates the the controller is in the process of becoming


maybe: that the?


+* This state indicates the controller is in the process of becoming
 * ready (i.e. starting).  In this state no new IO operations are 
permitted.
 * This state is entered from the INITIALIZED state.
 */


...


diff --git a/io_uring/kbuf.c b/io_uring/kbuf.c
index 3aa16e27f509..503244e8470a 100644
--- a/io_uring/kbuf.c
+++ b/io_uring/kbuf.c
@@ -731,7 +731,7 @@ struct io_buffer_list *io_pbuf_get_bl(struct io_ring_ctx 
*ctx,
 * going away, if someone is trying to be sneaky. Look it up under rcu
 * so we know it's not going away, and attempt to grab a reference to
 * it. If the ref is already zero, then fail the mapping. If successful,
-* the caller will call io_put_bl() to drop the the reference at at the
+* the caller will call io_put_bl() to drop the reference at at the


Not strictly related to your patch, but "at at".


 * end. This may then safely free the buffer_list (and drop the pages)
 * at that point, vm_insert_pages() would've already grabbed the
 * necessary vma references.


...

CJ



[PATCH v2] treewide: Fix common grammar mistake "the the"

2024-04-11 Thread Thorsten Blum
Use `find . -type f -exec sed -i 's/\/the/g' {} +` to find all
occurrences of "the the" and replace them with a single "the".

In arch/arm/include/asm/unwind.h replace "the the" with "to the".

Changes only comments and documentation - no code changes.

Signed-off-by: Thorsten Blum 
Reviewed-by: Randy Dunlap 
Reviewed-by: Tyler Hicks 
---
Changes in v2:
- In arch/arm/include/asm/unwind.h: s/the the/to the/ as pointed out by
  Robin Murphy
- Preserve Reviewed-by: tags
---
 Documentation/trace/histogram.rst | 2 +-
 arch/arm/Kconfig  | 4 ++--
 arch/arm/include/asm/unwind.h | 2 +-
 arch/arm64/Kconfig| 2 +-
 arch/arm64/kernel/entry-ftrace.S  | 2 +-
 arch/s390/kernel/perf_cpum_sf.c   | 2 +-
 arch/s390/kernel/sthyi.c  | 2 +-
 drivers/accessibility/speakup/speakup_soft.c  | 2 +-
 drivers/gpu/drm/i915/display/intel_crt.c  | 2 +-
 drivers/gpu/drm/i915/i915_request.c   | 2 +-
 drivers/mailbox/Kconfig   | 2 +-
 drivers/net/wireless/intel/iwlwifi/fw/api/tx.h| 4 ++--
 drivers/net/wireless/intel/iwlwifi/mvm/phy-ctxt.c | 2 +-
 drivers/scsi/bfa/bfa_fcs_rport.c  | 2 +-
 drivers/scsi/fcoe/fcoe_ctlr.c | 2 +-
 drivers/scsi/isci/host.h  | 2 +-
 drivers/scsi/isci/remote_device.h | 2 +-
 drivers/scsi/isci/remote_node_context.h   | 2 +-
 drivers/scsi/isci/task.c  | 2 +-
 fs/afs/flock.c| 2 +-
 fs/ecryptfs/keystore.c| 2 +-
 fs/netfs/direct_read.c| 2 +-
 fs/netfs/direct_write.c   | 2 +-
 fs/overlayfs/super.c  | 2 +-
 include/uapi/asm-generic/fcntl.h  | 2 +-
 io_uring/kbuf.c   | 2 +-
 lib/zstd/common/fse_decompress.c  | 2 +-
 lib/zstd/decompress/zstd_decompress_block.c   | 2 +-
 scripts/coccinelle/misc/badty.cocci   | 2 +-
 tools/perf/Documentation/perf-diff.txt| 2 +-
 30 files changed, 32 insertions(+), 32 deletions(-)

diff --git a/Documentation/trace/histogram.rst 
b/Documentation/trace/histogram.rst
index 3c9b263de9c2..18a419925a08 100644
--- a/Documentation/trace/histogram.rst
+++ b/Documentation/trace/histogram.rst
@@ -840,7 +840,7 @@ Extended error information
 
   The compound key examples used a key and a sum value (hitcount) to
   sort the output, but we can just as easily use two keys instead.
-  Here's an example where we use a compound key composed of the the
+  Here's an example where we use a compound key composed of the
   common_pid and size event fields.  Sorting with pid as the primary
   key and 'size' as the secondary key allows us to display an
   ordered summary of the recvfrom sizes, with counts, received by
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index b14aed3a17ab..f46fb69ff247 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1479,7 +1479,7 @@ config ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND
bool "Extend with bootloader kernel arguments"
help
  The command-line arguments provided by the boot loader will be
- appended to the the device tree bootargs property.
+ appended to the device tree bootargs property.
 
 endchoice
 
@@ -1617,7 +1617,7 @@ config DMI
  continue to boot on existing non-UEFI platforms.
 
  NOTE: This does *NOT* enable or encourage the use of DMI quirks,
- i.e., the the practice of identifying the platform via DMI to
+ i.e., the practice of identifying the platform via DMI to
  decide whether certain workarounds for buggy hardware and/or
  firmware need to be enabled. This would require the DMI subsystem
  to be enabled much earlier than we do on ARM, which is non-trivial.
diff --git a/arch/arm/include/asm/unwind.h b/arch/arm/include/asm/unwind.h
index d60b09a5acfc..9e4313a6309c 100644
--- a/arch/arm/include/asm/unwind.h
+++ b/arch/arm/include/asm/unwind.h
@@ -10,7 +10,7 @@
 
 #ifndef __ASSEMBLY__
 
-/* Unwind reason code according the the ARM EABI documents */
+/* Unwind reason code according to the ARM EABI documents */
 enum unwind_reason_code {
URC_OK = 0, /* operation completed successfully */
URC_CONTINUE_UNWIND = 8,
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 7b11c98b3e84..285ae4ca0b83 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -2253,7 +2253,7 @@ config CMDLINE
default ""
help
  Provide a set of default command-line options at build time by
- entering them here. As a minimum, you should specify the the
+ entering them here. As a minimum, you should specify the
  root device (e.g. root=/dev/nfs).
 
 choice
diff --git a/arch/arm