Thread (7 messages) flat view 7 messages, 3 authors, 2018-01-25
STALE3141d

[PATCH net-next 3/4] net: core: Fix kernel-doc for call_netdevice_notifiers_info()

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2018-01-23 03:14:58
Also in: lkml
Subsystem: networking [general], the rest · Maintainers: "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

Remove the @dev comment, since we do not have a net_device argument, fixes the
following kernel doc warning: /net/core/dev.c:1707: warning: Excess function
parameter 'dev' description in 'call_netdevice_notifiers_info'

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 net/core/dev.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/net/core/dev.c b/net/core/dev.c
index 94435cd09072..7af0ef425ca3 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -1694,7 +1694,6 @@ EXPORT_SYMBOL(unregister_netdevice_notifier);
 /**
  *	call_netdevice_notifiers_info - call all network notifier blocks
  *	@val: value passed unmodified to notifier function
- *	@dev: net_device pointer passed unmodified to notifier function
  *	@info: notifier information data
  *
  *	Call all network notifier blocks.  Parameters and return value
-- 
2.14.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help