Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] net: switchdev: Fixed kerneldoc warning
@ 2020-09-22 13:32 Tian Tao
  2020-09-22 13:57 ` Ivan Vecera
  2020-09-24  0:47 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Tian Tao @ 2020-09-22 13:32 UTC (permalink / raw)
  To: jiri, ivecera, davem, kuba, netdev

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@hisilicon.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,
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] net: switchdev: Fixed kerneldoc warning
  2020-09-22 13:32 [PATCH] net: switchdev: Fixed kerneldoc warning Tian Tao
@ 2020-09-22 13:57 ` Ivan Vecera
  2020-09-24  0:47 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Ivan Vecera @ 2020-09-22 13:57 UTC (permalink / raw)
  To: Tian Tao; +Cc: jiri, davem, kuba, netdev

On Tue, 22 Sep 2020 21:32:19 +0800
Tian Tao <tiantao6@hisilicon.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@hisilicon.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@redhat.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] net: switchdev: Fixed kerneldoc warning
  2020-09-22 13:32 [PATCH] net: switchdev: Fixed kerneldoc warning Tian Tao
  2020-09-22 13:57 ` Ivan Vecera
@ 2020-09-24  0:47 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2020-09-24  0:47 UTC (permalink / raw)
  To: tiantao6; +Cc: jiri, ivecera, kuba, netdev

From: Tian Tao <tiantao6@hisilicon.com>
Date: Tue, 22 Sep 2020 21:32:19 +0800

> 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@hisilicon.com>

Applied.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-24  0:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-22 13:32 [PATCH] net: switchdev: Fixed kerneldoc warning Tian Tao
2020-09-22 13:57 ` Ivan Vecera
2020-09-24  0:47 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).