docs: driver-api: fix 6 spelling typos in Documentation/driver-api
Subsystems (4)
PATCH v3 1/1 docs: driver-api: fix 6 spelling typos in Documentation/driver-api
Fix minor spelling mistakes in the driver-api documentation. These changes improve readability in ACPI, CXL, DMA and PCI docs.
v3: Added reviewed-by from Randy Dunlap.
v2: Added full name as requested by Jon Corbet.
--- Documentation/driver-api/acpi/acpi-drivers.rst | 2 +- Documentation/driver-api/cxl/platform/acpi/cedt.rst | 2 +- Documentation/driver-api/cxl/platform/bios-and-efi.rst | 2 +- Documentation/driver-api/dmaengine/pxa_dma.rst | 2 +- Documentation/driver-api/libata.rst | 2 +- Documentation/driver-api/pci/p2pdma.rst | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
Documentation/driver-api/acpi/acpi-drivers.rst +1 -1
@@ -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.
Documentation/driver-api/cxl/platform/acpi/cedt.rst +1 -1
@@ -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
Documentation/driver-api/cxl/platform/bios-and-efi.rst +1 -1
@@ -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
Documentation/driver-api/dmaengine/pxa_dma.rst +1 -1
@@ -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
Documentation/driver-api/libata.rst +1 -1
@@ -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.
Documentation/driver-api/pci/p2pdma.rst +1 -1
@@ -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.
Signature · 1 line
2.53.0
Jonathan Corbet
maintainerQuoted 4 lines · Tomás Pando
Fix minor spelling mistakes in the driver-api documentation. These changes improve readability in ACPI, CXL, DMA and PCI docs.
v3: Added reviewed-by from Randy Dunlap.
v2: Added full name as requested by Jon Corbet.
For future reference, the version-change lines should go below the "---" line so that the maintainer doesn't have to strip them out.
(No need to resubmit for that this time).
Quoted 10 lines
Reviewed-by Randy Dunlap <[email protected]>Signed-off-by Tomás Pando <[email protected]>--- Documentation/driver-api/acpi/acpi-drivers.rst | 2 +- Documentation/driver-api/cxl/platform/acpi/cedt.rst | 2 +- Documentation/driver-api/cxl/platform/bios-and-efi.rst | 2 +- Documentation/driver-api/dmaengine/pxa_dma.rst | 2 +- Documentation/driver-api/libata.rst | 2 +- Documentation/driver-api/pci/p2pdma.rst | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
Thanks,
jon
Quoted 91 lines · Tomás Pando
Fix minor spelling mistakes in the driver-api documentation. These changes improve readability in ACPI, CXL, DMA and PCI docs.
v3: Added reviewed-by from Randy Dunlap.
v2: Added full name as requested by Jon Corbet.Reviewed-by Randy Dunlap <[email protected]>Signed-off-by Tomás Pando <[email protected]>---
Documentation/driver-api/acpi/acpi-drivers.rst | 2 +- Documentation/driver-api/cxl/platform/acpi/cedt.rst | 2 +- Documentation/driver-api/cxl/platform/bios-and-efi.rst | 2 +- Documentation/driver-api/dmaengine/pxa_dma.rst | 2 +- Documentation/driver-api/libata.rst | 2 +- Documentation/driver-api/pci/p2pdma.rst | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)Documentation/driver-api/acpi/acpi-drivers.rst +0
-0@@ -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
Documentation/driver-api/acpi/acpi-drivers.rst +1
-1-hardware to be identified, for example represeted by an _ADR object return +hardware to be identified, for example represented by an _ADR object returnvalue, 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.
Documentation/driver-api/cxl/platform/acpi/cedt.rst +1
-1@@ -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
Documentation/driver-api/cxl/platform/bios-and-efi.rst +0
-0@@ -277,7 +277,7 @@ The CFMWS field of the CEDT has special restriction bits which describe whetherthe 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 memoryA platform may wish to create multiple CEDT CFMWS entries to describe the same
Documentation/driver-api/dmaengine/pxa_dma.rst +0
-0@@ -40,7 +40,7 @@ Design======
a) Virtual channels
Same concept as in sa11x0 driver, ie. a driver was assigned a "virtualDocumentation/driver-api/dmaengine/pxa_dma.rst +1
-1-channel" linked to the requestor line, and the physical DMA channel is +channel" linked to the requester line, and the physical DMA channel isassigned on the fly when the transfer is issued.
b) Transfer anatomy for a scatter-gather transfer
Documentation/driver-api/libata.rst +0
-0@@ -286,7 +286,7 @@ and other exceptional conditions. The primary responsibility of animplementation is to call :c:func:
ata_std_error_handler.:c:func:
ata_std_error_handlerwill perform a standard error handling sequenceDocumentation/driver-api/libata.rst +1
-1-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.
Documentation/driver-api/pci/p2pdma.rst +0
-0@@ -38,7 +38,7 @@ for all usage refcounts to reach zero.At the lowest level the P2P subsystem offers a naked struct
p2p_providerthat delegates lifecycle management to the providing driver. It is expected that drivers using this option will wrap their MMIO memory in DMABUF and use DMABUFDocumentation/driver-api/pci/p2pdma.rst +1
-1-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
Quoted 3 lines
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(), includingO_DIRECT.
Patches like these are good clarification
Keep it up!
V/R
Josh Law
Jonathan Corbet
maintainerQuoted 5 lines · Josh Law
Acked-by Josh Law <[email protected]>Patches like these are good clarification
Keep it up!
I'm all for encouraging contributors, but an Acked-by from a random contributor to a typo-fix patch, without having even bothered to trim 100 lines of stuff, is not particularly helpful for maintainers. What is your purpose here?
Thanks,
jon
Quoted 8 lines · Jonathan Corbet
Quoted 5 lines · Josh Law
Acked-by Josh Law <[email protected]>Patches like these are good clarification
Keep it up!
Quoted 9 lines
I'm all for encouraging contributors, but an Acked-by from a random contributor to a typo-fix patch, without having even bothered to trim 100 lines of stuff, is not particularly helpful for maintainers. What is your purpose here?
Thanks,
jon
Apologies Jon, I just like patches that fix typos, because when maintainers (or others..) have to read the code in let's say, 10 years, they will be able to understand the code easier.
V/R
Josh Law
Quoted 16 lines · Josh Law
Quoted 13 lines · Jonathan Corbet
Quoted 5 lines · Josh Law
Acked-by Josh Law <[email protected]>Patches like these are good clarification
Keep it up!
I'm all for encouraging contributors, but an Acked-by from a random contributor to a typo-fix patch, without having even bothered to trim 100 lines of stuff, is not particularly helpful for maintainers. What is your purpose here?
Quoted 9 lines
Quoted 4 lines
Thanks,
jon
Apologies Jon, I just like patches that fix typos, because when maintainers (or others..) have to read the code in let's say, 10 years, they will be able to understand the code easier.
You have been asked like 10 or 20 times already to adjust to mailing list style of replies. No improvements.
You did not get the point here about your Ack. You answered why the patch is right, but that was not the question. Question was what is the purpose of your Ack?
Best regards,
Krzysztof
Quoted 7 lines · Tomás Pando
Fix minor spelling mistakes in the driver-api documentation. These changes improve readability in ACPI, CXL, DMA and PCI docs.
v3: Added reviewed-by from Randy Dunlap.
v2: Added full name as requested by Jon Corbet.Reviewed-by Randy Dunlap <[email protected]>Signed-off-by Tomás Pando <[email protected]>
Quoted 8 lines
--- Documentation/driver-api/acpi/acpi-drivers.rst | 2 +- Documentation/driver-api/cxl/platform/acpi/cedt.rst | 2 +- Documentation/driver-api/cxl/platform/bios-and-efi.rst | 2 +- Documentation/driver-api/dmaengine/pxa_dma.rst | 2 +- Documentation/driver-api/libata.rst | 2 +- Documentation/driver-api/pci/p2pdma.rst | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
Applied, thanks.
jon