]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
docs: driver-api: fix 6 spelling typos in Documentation/driver-api
authorTomás Pando <tovictakamine@gmail.com>
Tue, 24 Mar 2026 16:36:04 +0000 (17:36 +0100)
committerJonathan Corbet <corbet@lwn.net>
Wed, 25 Mar 2026 18:36:02 +0000 (12:36 -0600)
Fix minor spelling mistakes in the driver-api documentation. These
changes improve readability in ACPI, CXL, DMA and PCI docs.

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Tomás Pando <tovictakamine@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260324163604.5710-1-tovictakamine@gmail.com>

Documentation/driver-api/acpi/acpi-drivers.rst
Documentation/driver-api/cxl/platform/acpi/cedt.rst
Documentation/driver-api/cxl/platform/bios-and-efi.rst
Documentation/driver-api/dmaengine/pxa_dma.rst
Documentation/driver-api/libata.rst
Documentation/driver-api/pci/p2pdma.rst

index b1fbbddb8b4f7400f5fea530ca9add002e9d5b8c..376b6d8a678cfc76e3d080699b687be9e82ae720 100644 (file)
@@ -47,7 +47,7 @@ generally be avoided and so struct acpi_driver objects should not be used.
 Moreover, a device ID is necessary to bind a driver directly to an ACPI device
 node, but device IDs are not generally associated with all of them.  Some of
 them contain alternative information allowing the corresponding pieces of
-hardware to be identified, for example represeted by an _ADR object return
+hardware to be identified, for example represented by an _ADR object return
 value, and device IDs are not used in those cases.  In consequence, confusingly
 enough, binding an ACPI driver to an ACPI device node may even be impossible.
 
index 1d9c9d3592dcedd35866f4da13847d67f25d508a..217a75fb48812b35629bb42d116020863b82ded7 100644 (file)
@@ -55,7 +55,7 @@ voltile vs persistent, etc). One or more bits may be set. ::
   Bit[1]: CXL Type 3 Memory
   Bit[2]: Volatile Memory
   Bit[3]: Persistent Memory
-  Bit[4]: Fixed Config (HPA cannot be re-used)
+  Bit[4]: Fixed Config (HPA cannot be reused)
 
 INTRA-host-bridge interleave (multiple devices on one host bridge) is NOT
 reported in this structure, and is solely defined via CXL device decoder
index a4b44c018f0936e35ee9c8c9d8e1627af9b4230b..5d918b06f6c04dfbb78e884b4e70b820909bbea4 100644 (file)
@@ -277,7 +277,7 @@ The CFMWS field of the CEDT has special restriction bits which describe whether
 the described memory region allows volatile or persistent memory (or both). If
 the platform intends to support either:
 
-1) A device with multiple medias, or
+1) A device with multiple media, or
 2) Using a persistent memory device as normal memory
 
 A platform may wish to create multiple CEDT CFMWS entries to describe the same
index 442ee691a19015ffb2ef9bf7159caf418ff7d3ae..8f9da66b0bfa4a99226209813a4ee73ed26b7ec7 100644 (file)
@@ -40,7 +40,7 @@ Design
 ======
 a) Virtual channels
 Same concept as in sa11x0 driver, ie. a driver was assigned a "virtual
-channel" linked to the requestor line, and the physical DMA channel is
+channel" linked to the requester line, and the physical DMA channel is
 assigned on the fly when the transfer is issued.
 
 b) Transfer anatomy for a scatter-gather transfer
index 93d97fe78e3fea8ca4d1e28df042bf1cdaaef2ef..28b8437f6e4fa2ff4ee1636e8acdfed8b64d5fd9 100644 (file)
@@ -286,7 +286,7 @@ and other exceptional conditions. The primary responsibility of an
 implementation is to call :c:func:`ata_std_error_handler`.
 
 :c:func:`ata_std_error_handler` will perform a standard error handling sequence
-to resurect failed devices, detach lost devices and add new devices (if any).
+to resurrect failed devices, detach lost devices and add new devices (if any).
 This function will call the various reset operations for a port, as needed.
 These operations are as follows.
 
index 280673b50350b2a12dd2a203b86de0639442af47..d3f406cca69409a3cc796647b5b6a988518717c2 100644 (file)
@@ -38,7 +38,7 @@ for all usage refcounts to reach zero.
 At the lowest level the P2P subsystem offers a naked struct p2p_provider that
 delegates lifecycle management to the providing driver. It is expected that
 drivers using this option will wrap their MMIO memory in DMABUF and use DMABUF
-to provide an invalidation shutdown. These MMIO addresess have no struct page, and
+to provide an invalidation shutdown. These MMIO addresses have no struct page, and
 if used with mmap() must create special PTEs. As such there are very few
 kernel uAPIs that can accept pointers to them; in particular they cannot be used
 with read()/write(), including O_DIRECT.