Skip to contentSkip to conversation

docs: fix spelling mistakes across multiple directories

PATCH Superseded Soham Metha 2 participants 2 messages Aug 12, 2025

Subsystems (10)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: fix spelling mistakes across multiple directories

Used codespell to detect spelling mistakes across 5 directories

- Documentation/ABI
- Documentation/accel
- Documentation/accounting
- Documentation/admin-guide
- Documentation/arch

and fixed various simple typos found after filtering out the abbreviations, names, and non-english words.

---
Specific changes:
- deivces → devices
- intiating → initiating
- conventioanl → conventional
- directoy → directory
- flushs → flushes
- explicitely → explicitly
- aproximate → approximate
- entension → extension

 Documentation/ABI/testing/sysfs-fs-f2fs             | 4 ++--
 Documentation/admin-guide/blockdev/zoned_loop.rst   | 4 ++--
 Documentation/admin-guide/cgroup-v2.rst             | 2 +-
 Documentation/admin-guide/device-mapper/delay.rst   | 8 ++++----
 Documentation/admin-guide/laptops/alienware-wmi.rst | 2 +-
 Documentation/admin-guide/mm/damon/usage.rst        | 2 +-
 Documentation/admin-guide/tainted-kernels.rst       | 2 +-
 Documentation/arch/loongarch/irq-chip-model.rst     | 2 +-
 8 files changed, 13 insertions(+), 13 deletions(-)
Documentation/ABI/testing/sysfs-fs-f2fs +2 -2
index bc0e7fefc39d..1ccd8ef1dc65 100644
@@ -822,8 +822,8 @@ What:		/sys/fs/f2fs/<disk>/gc_valid_thresh_ratio
 Date:		September 2024
 Contact:	"Daeho Jeong" <[email protected]>
 Description:	It controls the valid block ratio threshold not to trigger excessive GC
-		for zoned deivces. The initial value of it is 95(%). F2FS will stop the
-		background GC thread from intiating GC for sections having valid blocks
+		for zoned devices. The initial value of it is 95(%). F2FS will stop the
+		background GC thread from initiating GC for sections having valid blocks
 		exceeding the ratio.
 
 What:		/sys/fs/f2fs/<disk>/max_read_extent_count
Documentation/admin-guide/blockdev/zoned_loop.rst +2 -2
index 9c7aa3b482f3..2d50d081592b 100644
@@ -77,9 +77,9 @@ capacity_mb        Device total capacity in MiB. This is always rounded up to
 zone_size_mb       Device zone size in MiB. Default: 256 MiB.
 zone_capacity_mb   Device zone capacity (must always be equal to or lower than
                    the zone size. Default: zone size.
-conv_zones         Total number of conventioanl zones starting from sector 0.
+conv_zones         Total number of conventional zones starting from sector 0.
                    Default: 8.
-base_dir           Path to the base directoy where to create the directory
+base_dir           Path to the base directory where to create the directory
                    containing the zone files of the device.
                    Default=/var/local/zloop.
                    The device directory containing the zone files is always
Documentation/admin-guide/cgroup-v2.rst +1 -1
index d9d3cc7df348..29172f03b863 100644
@@ -435,7 +435,7 @@ both cgroups.
 Controlling Controllers
 -----------------------
 
-Availablity
+Availability
 ~~~~~~~~~~~
 
 A controller is available in a cgroup when it is supported by the kernel (i.e.,
Documentation/admin-guide/device-mapper/delay.rst +4 -4
index 4d667228e744..a1e673c0e782 100644
@@ -3,7 +3,7 @@ dm-delay
 ========
 
 Device-Mapper's "delay" target delays reads and/or writes
-and/or flushs and optionally maps them to different devices.
+and/or flushes and optionally maps them to different devices.
 
 Arguments::
 
@@ -18,7 +18,7 @@ Table line has to either have 3, 6 or 9 arguments:
    to write and flush operations on optionally different write_device with
    optionally different sector offset
 
-9: same as 6 arguments plus define flush_offset and flush_delay explicitely
+9: same as 6 arguments plus define flush_offset and flush_delay explicitly
    on/with optionally different flush_device/flush_offset.
 
 Offsets are specified in sectors.
@@ -40,7 +40,7 @@ Example scripts
 	#!/bin/sh
 	#
 	# Create mapped device delaying write and flush operations for 400ms and
-	# splitting reads to device $1 but writes and flushs to different device $2
+	# splitting reads to device $1 but writes and flushes to different device $2
 	# to different offsets of 2048 and 4096 sectors respectively.
 	#
 	dmsetup create delayed --table "0 `blockdev --getsz $1` delay $1 2048 0 $2 4096 400"
@@ -48,7 +48,7 @@ Example scripts
 ::
 	#!/bin/sh
 	#
-	# Create mapped device delaying reads for 50ms, writes for 100ms and flushs for 333ms
+	# Create mapped device delaying reads for 50ms, writes for 100ms and flushes for 333ms
 	# onto the same backing device at offset 0 sectors.
 	#
 	dmsetup create delayed --table "0 `blockdev --getsz $1` delay $1 0 50 $2 0 100 $1 0 333"
Documentation/admin-guide/laptops/alienware-wmi.rst +1 -1
index 27a32a8057da..e532c60db8e2 100644
@@ -105,7 +105,7 @@ information.
 
 Manual fan control on the other hand, is not exposed directly by the AWCC
 interface. Instead it let's us control a fan `boost` value. This `boost` value
-has the following aproximate behavior over the fan pwm:
+has the following approximate behavior over the fan pwm:
 
 ::
 
Documentation/admin-guide/mm/damon/usage.rst +1 -1
index ff3a2dda1f02..5cd42d428c89 100644
@@ -357,7 +357,7 @@ The directory for the :ref:`quotas <damon_design_damos_quotas>` of the given
 DAMON-based operation scheme.
 
 Under ``quotas`` directory, four files (``ms``, ``bytes``,
-``reset_interval_ms``, ``effective_bytes``) and two directores (``weights`` and
+``reset_interval_ms``, ``effective_bytes``) and two directories (``weights`` and
 ``goals``) exist.
 
 You can set the ``time quota`` in milliseconds, ``size quota`` in bytes, and
Documentation/admin-guide/tainted-kernels.rst +1 -1
index a0cc017e4424..ed1f8f1e86c5 100644
@@ -186,6 +186,6 @@ More detailed explanation for tainting
 
  18) ``N`` if an in-kernel test, such as a KUnit test, has been run.
 
- 19) ``J`` if userpace opened /dev/fwctl/* and performed a FWTCL_RPC_DEBUG_WRITE
+ 19) ``J`` if userspace opened /dev/fwctl/* and performed a FWTCL_RPC_DEBUG_WRITE
      to use the devices debugging features. Device debugging features could
      cause the device to malfunction in undefined ways.
Documentation/arch/loongarch/irq-chip-model.rst +1 -1
index a7ecce11e445..94ed2858a570 100644
@@ -139,7 +139,7 @@ Feature EXTIOI_HAS_INT_ENCODE is part of standard EIOINTC. If it is 1, it
 indicates that CPU Interrupt Pin selection can be normal method rather than
 bitmap method, so interrupt can be routed to IP0 - IP15.
 
-Feature EXTIOI_HAS_CPU_ENCODE is entension of V-EIOINTC. If it is 1, it
+Feature EXTIOI_HAS_CPU_ENCODE is extension of V-EIOINTC. If it is 1, it
 indicates that CPU selection can be normal method rather than bitmap method,
 so interrupt can be routed to CPU0 - CPU255.
 
Signature · 1 line
2.34.1
reviewer
#1 lore raw

Hi,

The changes all LGTM, although maintainers will probably want the patch split up by subsystem.

Documentation/admin-guide/cgroup-v2.rst both cgroups. · line 439

Quoted 4 lines · Soham Metha
Documentation/admin-guide/cgroup-v2.rst +1 -1
-Availablity
+Availability
 ~~~~~~~~~~~

Whenever a heading is made longer, the underline for it must also be increased in length; otherwise it causes a build warning.

thanks.

Signature · 1 line
~Randy