summaryrefslogtreecommitdiff
path: root/net/switchdev
diff options
context:
space:
mode:
authorSimon Horman <simon.horman@netronome.com>2015-03-12 04:42:50 +0300
committerDavid S. Miller <davem@davemloft.net>2015-03-12 06:06:39 +0300
commitac70c05b6f2b228f778cbde94f64e5df8a2c4d55 (patch)
treec2e9160890b35604f2ddabf8c8e646d678df9a90 /net/switchdev
parentd299ce149c1aa6a2e2c8db44974a6a1c07d7303b (diff)
downloadlinux-ac70c05b6f2b228f778cbde94f64e5df8a2c4d55.tar.xz
switchdev: correct spelling of notifier in comments
Signed-off-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev')
-rw-r--r--net/switchdev/switchdev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/switchdev/switchdev.c b/net/switchdev/switchdev.c
index 8cf42a69baf4..b7a23132c610 100644
--- a/net/switchdev/switchdev.c
+++ b/net/switchdev/switchdev.c
@@ -59,7 +59,7 @@ static DEFINE_MUTEX(netdev_switch_mutex);
static RAW_NOTIFIER_HEAD(netdev_switch_notif_chain);
/**
- * register_netdev_switch_notifier - Register nofifier
+ * register_netdev_switch_notifier - Register notifier
* @nb: notifier_block
*
* Register switch device notifier. This should be used by code
@@ -78,7 +78,7 @@ int register_netdev_switch_notifier(struct notifier_block *nb)
EXPORT_SYMBOL_GPL(register_netdev_switch_notifier);
/**
- * unregister_netdev_switch_notifier - Unregister nofifier
+ * unregister_netdev_switch_notifier - Unregister notifier
* @nb: notifier_block
*
* Unregister switch device notifier.
@@ -96,7 +96,7 @@ int unregister_netdev_switch_notifier(struct notifier_block *nb)
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
* @dev: port device
* @info: notifier information data