diff mbox series

drivers/net/ethernet: fix a typo for stmmac_pltfr_suspend

Message ID 1599653964-29741-1-git-send-email-wangqing@vivo.com (mailing list archive)
State New, archived
Headers show
Series drivers/net/ethernet: fix a typo for stmmac_pltfr_suspend | expand

Commit Message

王擎 Sept. 9, 2020, 12:19 p.m. UTC
Change the comment typo: "direcly" -> "directly".

Signed-off-by: Wang Qing <wangqing@vivo.com>
---
 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Simon Horman Sept. 9, 2020, 4:35 p.m. UTC | #1
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 <wangqing@vivo.com>
> ---
>  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
>
diff mbox series

Patch

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.
  */