2020-09-09 12:27:38

by 王擎

[permalink] [raw]
Subject: [PATCH] drivers/net/ethernet: fix a typo for stmmac_pltfr_suspend

Change the comment typo: "direcly" -> "directly".

Signed-off-by: Wang Qing <[email protected]>
---
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
index f32317f..b666bb9
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
@@ -711,7 +711,7 @@ EXPORT_SYMBOL_GPL(stmmac_pltfr_remove);
/**
* stmmac_pltfr_suspend
* @dev: device pointer
- * Description: this function is invoked when suspend the driver and it direcly
+ * Description: this function is invoked when suspend the driver and it directly
* call the main suspend function and then, if required, on some platform, it
* can call an exit helper.
*/
--
2.7.4


2020-09-09 16:39:15

by Simon Horman

[permalink] [raw]
Subject: Re: [PATCH] drivers/net/ethernet: fix a typo for stmmac_pltfr_suspend

Hi Wang,

On Wed, Sep 09, 2020 at 08:19:21PM +0800, Wang Qing wrote:
> Change the comment typo: "direcly" -> "directly".
>
> Signed-off-by: Wang Qing <[email protected]>
> ---
> drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

git log tells me that the correct prefix for this patch
is probably "net: stmmac:" rather than "drivers/net/ethernet:'

Probably this patch is targeted at net-next and should include net-next
in the subject like this: [PATCH net-next] ...

>
> diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
> index f32317f..b666bb9
> --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
> +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
> @@ -711,7 +711,7 @@ EXPORT_SYMBOL_GPL(stmmac_pltfr_remove);
> /**
> * stmmac_pltfr_suspend
> * @dev: device pointer
> - * Description: this function is invoked when suspend the driver and it direcly
> + * Description: this function is invoked when suspend the driver and it directly
> * call the main suspend function and then, if required, on some platform, it
> * can call an exit helper.
> */
> --
> 2.7.4
>