projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
404ba13
)
net: sched: avoid newline at end of message in NL_SET_ERR_MSG_MOD
author
Wan Jiabing
<wanjiabing@vivo.com>
Wed, 23 Feb 2022 02:34:19 +0000
(10:34 +0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 23 Feb 2022 12:45:44 +0000
(12:45 +0000)
Fix following coccicheck warning:
./net/sched/act_api.c:277:7-49: WARNING avoid newline at end of message
in NL_SET_ERR_MSG_MOD
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_api.c
patch
|
blob
|
history
diff --git
a/net/sched/act_api.c
b/net/sched/act_api.c
index 2811348f3acc0b853f54f001b6e80ce3adbe6ad4..ca03e72842541f131f9e54dc112ab92a7519b458 100644
(file)
--- a/
net/sched/act_api.c
+++ b/
net/sched/act_api.c
@@
-274,7
+274,7
@@
static int tcf_action_offload_add_ex(struct tc_action *action,
err = tc_setup_action(&fl_action->action, actions);
if (err) {
NL_SET_ERR_MSG_MOD(extack,
- "Failed to setup tc actions for offload
\n
");
+ "Failed to setup tc actions for offload");
goto fl_err;
}