Commit d467d0bc authored by Zheng Yongjun's avatar Zheng Yongjun Committed by David S. Miller

rtnetlink: Fix spelling mistakes

Signed-off-by: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 270d47dc
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
* *
* Fixes: * Fixes:
* Vitaly E. Lavrov RTA_OK arithmetics was wrong. * Vitaly E. Lavrov RTA_OK arithmetic was wrong.
*/ */
#include <linux/bitops.h> #include <linux/bitops.h>
...@@ -234,7 +234,7 @@ static int rtnl_register_internal(struct module *owner, ...@@ -234,7 +234,7 @@ static int rtnl_register_internal(struct module *owner,
* @msgtype: rtnetlink message type * @msgtype: rtnetlink message type
* @doit: Function pointer called for each request message * @doit: Function pointer called for each request message
* @dumpit: Function pointer called for each dump request (NLM_F_DUMP) message * @dumpit: Function pointer called for each dump request (NLM_F_DUMP) message
* @flags: rtnl_link_flags to modifiy behaviour of doit/dumpit functions * @flags: rtnl_link_flags to modify behaviour of doit/dumpit functions
* *
* Like rtnl_register, but for use by removable modules. * Like rtnl_register, but for use by removable modules.
*/ */
...@@ -254,7 +254,7 @@ EXPORT_SYMBOL_GPL(rtnl_register_module); ...@@ -254,7 +254,7 @@ EXPORT_SYMBOL_GPL(rtnl_register_module);
* @msgtype: rtnetlink message type * @msgtype: rtnetlink message type
* @doit: Function pointer called for each request message * @doit: Function pointer called for each request message
* @dumpit: Function pointer called for each dump request (NLM_F_DUMP) message * @dumpit: Function pointer called for each dump request (NLM_F_DUMP) message
* @flags: rtnl_link_flags to modifiy behaviour of doit/dumpit functions * @flags: rtnl_link_flags to modify behaviour of doit/dumpit functions
* *
* Registers the specified function pointers (at least one of them has * Registers the specified function pointers (at least one of them has
* to be non-NULL) to be called whenever a request message for the * to be non-NULL) to be called whenever a request message for the
...@@ -2567,7 +2567,7 @@ static int do_set_proto_down(struct net_device *dev, ...@@ -2567,7 +2567,7 @@ static int do_set_proto_down(struct net_device *dev,
if (nl_proto_down) { if (nl_proto_down) {
proto_down = nla_get_u8(nl_proto_down); proto_down = nla_get_u8(nl_proto_down);
/* Dont turn off protodown if there are active reasons */ /* Don't turn off protodown if there are active reasons */
if (!proto_down && dev->proto_down_reason) { if (!proto_down && dev->proto_down_reason) {
NL_SET_ERR_MSG(extack, "Cannot clear protodown, active reasons"); NL_SET_ERR_MSG(extack, "Cannot clear protodown, active reasons");
return -EBUSY; return -EBUSY;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment