2021-05-15 12:44:28

by Heiko Stübner

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

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 <[email protected]>
> Signed-off-by: Yang Shen <[email protected]>

Reviewed-by: Heiko Stuebner <[email protected]>

> ---
> 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 <[email protected]>
>