Skip to content

Commit

Permalink
net: core: Correct function name netevent_unregister_notifier() in th…
Browse files Browse the repository at this point in the history
…e 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 <hulkci@huawei.com>
Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Xiongfeng Wang authored and David S. Miller committed Mar 29, 2021
1 parent af82508 commit bb2882b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/core/netevent.c
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit bb2882b

Please sign in to comment.