[01/34] net: arc: Demote non-compliant kernel-doc headers
diff mbox series

Message ID 1621076039-53986-2-git-send-email-shenyang39@huawei.com
State New, archived
Headers show
Series
  • Rid W=1 warnings in net
Related show

Commit Message

Yang Shen May 15, 2021, 10:53 a.m. UTC
Fixes the following W=1 kernel build warning(s):

 drivers/net/ethernet/arc/emac_rockchip.c:18: warning: expecting prototype for emac(). Prototype was for DRV_NAME() instead

Cc: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Yang Shen <shenyang39@huawei.com>
---
 drivers/net/ethernet/arc/emac_rockchip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Heiko Stuebner May 15, 2021, 11:06 a.m. UTC | #1
Am Samstag, 15. Mai 2021, 12:53:26 CEST schrieb Yang Shen:
> Fixes the following W=1 kernel build warning(s):
> 
>  drivers/net/ethernet/arc/emac_rockchip.c:18: warning: expecting prototype for emac(). Prototype was for DRV_NAME() instead
> 
> Cc: Heiko Stuebner <heiko@sntech.de>
> Signed-off-by: Yang Shen <shenyang39@huawei.com>

Reviewed-by: Heiko Stuebner <heiko@sntech.de>

> ---
>  drivers/net/ethernet/arc/emac_rockchip.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/arc/emac_rockchip.c b/drivers/net/ethernet/arc/emac_rockchip.c
> index 48ecdf1..1c9ca3b 100644
> --- a/drivers/net/ethernet/arc/emac_rockchip.c
> +++ b/drivers/net/ethernet/arc/emac_rockchip.c
> @@ -1,5 +1,5 @@
>  // SPDX-License-Identifier: GPL-2.0-or-later
> -/**
> +/*
>   * emac-rockchip.c - Rockchip EMAC specific glue layer
>   *
>   * Copyright (C) 2014 Romain Perier <romain.perier@gmail.com>
>

Patch
diff mbox series

diff --git a/drivers/net/ethernet/arc/emac_rockchip.c b/drivers/net/ethernet/arc/emac_rockchip.c
index 48ecdf1..1c9ca3b 100644
--- a/drivers/net/ethernet/arc/emac_rockchip.c
+++ b/drivers/net/ethernet/arc/emac_rockchip.c
@@ -1,5 +1,5 @@ 
 // SPDX-License-Identifier: GPL-2.0-or-later
-/**
+/*
  * emac-rockchip.c - Rockchip EMAC specific glue layer
  *
  * Copyright (C) 2014 Romain Perier <romain.perier@gmail.com>