Re: [PATCH 01/34] net: arc: Demote non-compliant kernel-doc headers

From: Heiko Stuebner
Date: Sat May 15 2021 - 07:06:32 EST


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@xxxxxxxxx>
> Signed-off-by: Yang Shen <shenyang39@xxxxxxxxxx>

Reviewed-by: Heiko Stuebner <heiko@xxxxxxxxx>

> ---
> 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@xxxxxxxxx>
>