summaryrefslogtreecommitdiffstats
path: root/net/switchdev
diff options
context:
space:
mode:
authorSimon Horman2015-03-12 02:42:50 +0100
committerDavid S. Miller2015-03-12 04:06:39 +0100
commitac70c05b6f2b228f778cbde94f64e5df8a2c4d55 (patch)
treec2e9160890b35604f2ddabf8c8e646d678df9a90 /net/switchdev
parentvxlan: Correct path typo in comment (diff)
downloadkernel-qcow2-linux-ac70c05b6f2b228f778cbde94f64e5df8a2c4d55.tar.gz
kernel-qcow2-linux-ac70c05b6f2b228f778cbde94f64e5df8a2c4d55.tar.xz
kernel-qcow2-linux-ac70c05b6f2b228f778cbde94f64e5df8a2c4d55.zip
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