aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/netevent.c
diff options
context:
space:
mode:
authorXiongfeng Wang <[email protected]>2021-03-27 08:15:51 +0000
committerDavid S. Miller <[email protected]>2021-03-29 00:56:56 +0000
commitbb2882bc6c54672b4c57a2108a18ec3acc7c878c (patch)
tree93d928c768c13e1f7a61b916c574122bad360775 /net/core/netevent.c
parentnet: core: Correct function name dev_uc_flush() in the kerneldoc (diff)
downloadkernel-bb2882bc6c54672b4c57a2108a18ec3acc7c878c.tar.gz
kernel-bb2882bc6c54672b4c57a2108a18ec3acc7c878c.zip
net: core: Correct function name netevent_unregister_notifier() in the kerneldoc
Fix the following W=1 kernel build warning(s): net/core/netevent.c:45: warning: expecting prototype for netevent_unregister_notifier(). Prototype was for unregister_netevent_notifier() instead Reported-by: Hulk Robot <[email protected]> Signed-off-by: Xiongfeng Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/core/netevent.c')
-rw-r--r--net/core/netevent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/netevent.c b/net/core/netevent.c
index d76ed7739c70..5bb615e963cc 100644
--- a/net/core/netevent.c
+++ b/net/core/netevent.c
@@ -32,7 +32,7 @@ int register_netevent_notifier(struct notifier_block *nb)
EXPORT_SYMBOL_GPL(register_netevent_notifier);
/**
- * netevent_unregister_notifier - unregister a netevent notifier block
+ * unregister_netevent_notifier - unregister a netevent notifier block
* @nb: notifier
*
* Unregister a notifier previously registered by