提交 ac70c05b 编写于 作者: S Simon Horman 提交者: David S. Miller

switchdev: correct spelling of notifier in comments

Signed-off-by: NSimon Horman <simon.horman@netronome.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 d299ce14
...@@ -59,7 +59,7 @@ static DEFINE_MUTEX(netdev_switch_mutex); ...@@ -59,7 +59,7 @@ static DEFINE_MUTEX(netdev_switch_mutex);
static RAW_NOTIFIER_HEAD(netdev_switch_notif_chain); static RAW_NOTIFIER_HEAD(netdev_switch_notif_chain);
/** /**
* register_netdev_switch_notifier - Register nofifier * register_netdev_switch_notifier - Register notifier
* @nb: notifier_block * @nb: notifier_block
* *
* Register switch device notifier. This should be used by code * Register switch device notifier. This should be used by code
...@@ -78,7 +78,7 @@ int register_netdev_switch_notifier(struct notifier_block *nb) ...@@ -78,7 +78,7 @@ int register_netdev_switch_notifier(struct notifier_block *nb)
EXPORT_SYMBOL_GPL(register_netdev_switch_notifier); EXPORT_SYMBOL_GPL(register_netdev_switch_notifier);
/** /**
* unregister_netdev_switch_notifier - Unregister nofifier * unregister_netdev_switch_notifier - Unregister notifier
* @nb: notifier_block * @nb: notifier_block
* *
* Unregister switch device notifier. * Unregister switch device notifier.
...@@ -96,7 +96,7 @@ int unregister_netdev_switch_notifier(struct notifier_block *nb) ...@@ -96,7 +96,7 @@ int unregister_netdev_switch_notifier(struct notifier_block *nb)
EXPORT_SYMBOL_GPL(unregister_netdev_switch_notifier); EXPORT_SYMBOL_GPL(unregister_netdev_switch_notifier);
/** /**
* call_netdev_switch_notifiers - Call nofifiers * call_netdev_switch_notifiers - Call notifiers
* @val: value passed unmodified to notifier function * @val: value passed unmodified to notifier function
* @dev: port device * @dev: port device
* @info: notifier information data * @info: notifier information data
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册