2022-06-23 10:21:10

by Jiang Jian

[permalink] [raw]
Subject: [PATCH] powerpc/eeh: drop unexpected word 'for' in comments

there is an unexpected word 'for' in the comments that need to be dropped

file - arch/powerpc/kernel/eeh_driver.c
line - 753

* presence state. This might happen for for PCIe slots if the PE containing

changed to:

* presence state. This might happen for PCIe slots if the PE containing

Signed-off-by: Jiang Jian <[email protected]>
---
arch/powerpc/kernel/eeh_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/kernel/eeh_driver.c b/arch/powerpc/kernel/eeh_driver.c
index 260273e56431..f279295179bd 100644
--- a/arch/powerpc/kernel/eeh_driver.c
+++ b/arch/powerpc/kernel/eeh_driver.c
@@ -750,7 +750,7 @@ static void eeh_pe_cleanup(struct eeh_pe *pe)
* @pdev: pci_dev to check
*
* This function may return a false positive if we can't determine the slot's
- * presence state. This might happen for for PCIe slots if the PE containing
+ * presence state. This might happen for PCIe slots if the PE containing
* the upstream bridge is also frozen, or the bridge is part of the same PE
* as the device.
*
--
2.17.1