[PATCH] powerpc/eeh: fix incorrect function name in comment

Gavin Shan gwshan at linux.vnet.ibm.com
Mon Feb 8 14:49:48 AEDT 2016


On Mon, Feb 08, 2016 at 02:39:19PM +1100, Andrew Donnellan wrote:
>The comment block above pcibios_set_pcie_reset_state() incorrectly refers
>to pcibios_set_pcie_slot_reset(). Fix the comment accordingly.
>
>Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>

Acked-by: Gavin Shan <gwshan at linux.vnet.ibm.com>

Thanks,
Gavin

>---
> arch/powerpc/kernel/eeh.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/arch/powerpc/kernel/eeh.c b/arch/powerpc/kernel/eeh.c
>index 40e4d4a..8c6005c 100644
>--- a/arch/powerpc/kernel/eeh.c
>+++ b/arch/powerpc/kernel/eeh.c
>@@ -739,7 +739,7 @@ static void *eeh_restore_dev_state(void *data, void *userdata)
> }
>
> /**
>- * pcibios_set_pcie_slot_reset - Set PCI-E reset state
>+ * pcibios_set_pcie_reset_state - Set PCI-E reset state
>  * @dev: pci device struct
>  * @state: reset state to enter
>  *
>-- 
>Andrew Donnellan              Software Engineer, OzLabs
>andrew.donnellan at au1.ibm.com  Australia Development Lab, Canberra
>+61 2 6201 8874 (work)        IBM Australia Limited
>



More information about the Linuxppc-dev mailing list