linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation PCI: Fix typo in pci-error-recovery.rst
@ 2021-05-31  8:12 Wesley Sheng
  2021-05-31 14:32 ` Krzysztof Wilczyński
  2021-06-01 16:04 ` Bjorn Helgaas
  0 siblings, 2 replies; 3+ messages in thread
From: Wesley Sheng @ 2021-05-31  8:12 UTC (permalink / raw)
  To: linasvepstas, ruscur, oohall, bhelgaas, corbet, linux-pci,
	linuxppc-dev, linux-doc, linux-kernel
  Cc: wesleyshenggit, wesley.sheng

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

Signed-off-by: Wesley Sheng <wesley.sheng@amd.com>
---
 Documentation/PCI/pci-error-recovery.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/PCI/pci-error-recovery.rst b/Documentation/PCI/pci-error-recovery.rst
index 84ceebb08cac..187f43a03200 100644
--- a/Documentation/PCI/pci-error-recovery.rst
+++ b/Documentation/PCI/pci-error-recovery.rst
@@ -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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation PCI: Fix typo in pci-error-recovery.rst
  2021-05-31  8:12 [PATCH] Documentation PCI: Fix typo in pci-error-recovery.rst Wesley Sheng
@ 2021-05-31 14:32 ` Krzysztof Wilczyński
  2021-06-01 16:04 ` Bjorn Helgaas
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Wilczyński @ 2021-05-31 14:32 UTC (permalink / raw)
  To: Wesley Sheng
  Cc: linasvepstas, ruscur, oohall, bhelgaas, corbet, linux-pci,
	linuxppc-dev, linux-doc, linux-kernel, wesleyshenggit

Hi Wesley,

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

Nice catch!

> -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 <kw@linux.com>

	Krzysztof

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation PCI: Fix typo in pci-error-recovery.rst
  2021-05-31  8:12 [PATCH] Documentation PCI: Fix typo in pci-error-recovery.rst Wesley Sheng
  2021-05-31 14:32 ` Krzysztof Wilczyński
@ 2021-06-01 16:04 ` Bjorn Helgaas
  1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Helgaas @ 2021-06-01 16:04 UTC (permalink / raw)
  To: Wesley Sheng
  Cc: linasvepstas, ruscur, oohall, bhelgaas, corbet, linux-pci,
	linuxppc-dev, linux-doc, linux-kernel, wesleyshenggit

On Mon, May 31, 2021 at 04:12:15PM +0800, Wesley Sheng wrote:
> Replace "It" with "If", since it is a conditional statement.
> 
> Signed-off-by: Wesley Sheng <wesley.sheng@amd.com>

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!

> ---
>  Documentation/PCI/pci-error-recovery.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/PCI/pci-error-recovery.rst b/Documentation/PCI/pci-error-recovery.rst
> index 84ceebb08cac..187f43a03200 100644
> --- a/Documentation/PCI/pci-error-recovery.rst
> +++ b/Documentation/PCI/pci-error-recovery.rst
> @@ -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
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-01 16:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-31  8:12 [PATCH] Documentation PCI: Fix typo in pci-error-recovery.rst Wesley Sheng
2021-05-31 14:32 ` Krzysztof Wilczyński
2021-06-01 16:04 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).