Documentation PCI: Fix typo in pci-error-recovery.rst
PATCH 1/1 Documentation PCI: Fix typo in pci-error-recovery.rst
Replace "It" with "If", since it is a conditional statement.
Signed-off-by Wesley Sheng <[email protected]>
--- Documentation/PCI/pci-error-recovery.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/PCI/pci-error-recovery.rst +1 -1
@@ -295,7 +295,7 @@ and let the driver restart normal I/O processing. A driver can still return a critical failure for this function if it can't get the device operational after reset. If the platform previously tried a soft reset, it might now try a hard reset (power -cycle) and then call slot_reset() again. It the device still can't +cycle) and then call slot_reset() again. If the device still can't be recovered, there is nothing more that can be done; the platform will typically report a "permanent failure" in such a case. The device will be considered "dead" in this case.
Signature · 1 line
2.25.1
Linas Vepstas
maintainerSigned-off-by Linas Vepstas <[email protected]>
Quoted 25 lines · Wesley Sheng
Replace "It" with "If", since it is a conditional statement.
Signed-off-by Wesley Sheng <[email protected]>--- Documentation/PCI/pci-error-recovery.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/PCI/pci-error-recovery.rst +1
-2@@ -295,7 +295,7 @@ and let the driver restart normal I/O processing. A driver can still return a critical failure for this function if it can't get the device operational after reset. If the platform previously tried a soft reset, it might now try a hard reset (power -cycle) and then call slot_reset() again. It the device still can't +cycle) and then call slot_reset() again. If the device still can't be recovered, there is nothing more that can be done; the platform will typically report a "permanent failure" in such a case. The device will be considered "dead" in this case. --2.25.1
Signature · 2 lines
Patrick: Are they laughing at us? Sponge Bob: No, Patrick, they are laughing next to us.
Hi Wesley,
Quoted 2 lines
Replace "It" with "If", since it is a conditional statement.
[...]
Nice catch!
Documentation/PCI/pci-error-recovery.rst and let the driver restart normal I/O processing. · line 298
Quoted 2 lines
Documentation/PCI/pci-error-recovery.rst +1
-1-cycle) and then call slot_reset() again. It the device still can't +cycle) and then call slot_reset() again. If the device still can't
[...]
Thank you!
Reviewed-by Krzysztof Wilczyński <[email protected]>
Krzysztof
Bjorn Helgaas
AppliedQuoted 3 lines · Wesley Sheng
Replace "It" with "If", since it is a conditional statement.
Signed-off-by Wesley Sheng <[email protected]>
Applied to pci/error for v5.14 with Krzysztof's reviewed-by and subject "Documentation: PCI: Fix typo in pci-error-recovery.rst" to match previous convention, thanks!
Quoted 20 lines
--- Documentation/PCI/pci-error-recovery.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/PCI/pci-error-recovery.rst +1
-1@@ -295,7 +295,7 @@ and let the driver restart normal I/O processing. A driver can still return a critical failure for this function if it can't get the device operational after reset. If the platform previously tried a soft reset, it might now try a hard reset (power -cycle) and then call slot_reset() again. It the device still can't +cycle) and then call slot_reset() again. If the device still can't be recovered, there is nothing more that can be done; the platform will typically report a "permanent failure" in such a case. The device will be considered "dead" in this case.Signature · 1 line
2.25.1