Skip to contentSkip to conversation

Documentation PCI: Fix typo in pci-error-recovery.rst

PATCH Applied Wesley Sheng 4 participants 4 messages May 31, 2021 – Jun 1, 2021

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation PCI: Fix typo in pci-error-recovery.rst

Replace "It" with "If", since it is a conditional statement.

---
 Documentation/PCI/pci-error-recovery.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/PCI/pci-error-recovery.rst +1 -1
index 84ceebb08cac..187f43a03200 100644
@@ -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
maintainer
#1 lore raw
Quoted 25 lines · Wesley Sheng

Replace "It" with "If", since it is a conditional statement.

---
 Documentation/PCI/pci-error-recovery.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/PCI/pci-error-recovery.rst +1 -2
index 84ceebb08cac..187f43a03200 100644
@@ -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.
Reviewed-by on v1 1/1
#2 lore raw
In reply to Wesley Sheng

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!

Krzysztof

#3 lore raw
In reply to Wesley Sheng
Quoted 3 lines · Wesley Sheng

Replace "It" with "If", since it is a conditional statement.

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
index 84ceebb08cac..187f43a03200 100644
@@ -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