[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200922155753.4010aa81@ceranb>
Date: Tue, 22 Sep 2020 15:57:53 +0200
From: Ivan Vecera <ivecera@...hat.com>
To: Tian Tao <tiantao6@...ilicon.com>
Cc: <jiri@...nulli.us>, <davem@...emloft.net>, <kuba@...nel.org>,
<netdev@...r.kernel.org>
Subject: Re: [PATCH] net: switchdev: Fixed kerneldoc warning
On Tue, 22 Sep 2020 21:32:19 +0800
Tian Tao <tiantao6@...ilicon.com> wrote:
> Update kernel-doc line comments to fix warnings reported by make W=1.
> net/switchdev/switchdev.c:413: warning: Function parameter or
> member 'extack' not described in 'call_switchdev_notifiers'
>
> Signed-off-by: Tian Tao <tiantao6@...ilicon.com>
> ---
> net/switchdev/switchdev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/switchdev/switchdev.c b/net/switchdev/switchdev.c
> index 865f3e0..23d8685 100644
> --- a/net/switchdev/switchdev.c
> +++ b/net/switchdev/switchdev.c
> @@ -404,7 +404,7 @@ EXPORT_SYMBOL_GPL(unregister_switchdev_notifier);
> * @val: value passed unmodified to notifier function
> * @dev: port device
> * @info: notifier information data
> - *
> + * @extack: netlink extended ack
> * Call all network notifier blocks.
> */
> int call_switchdev_notifiers(unsigned long val, struct net_device *dev,
Acked-by: Ivan Vecera <ivecera@...hat.com>
Powered by blists - more mailing lists