summaryrefslogtreecommitdiffstats
path: root/net/sched/act_api.c
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2022-02-23 03:34:19 +0100
committerDavid S. Miller <davem@davemloft.net>2022-02-23 13:45:44 +0100
commitecf4a24cf97838fb0b78d4ede0f91d80b058289c (patch)
treecff99caec90552c22be854b1c28340db5db2f996 /net/sched/act_api.c
parentMAINTAINERS: add myself as co-maintainer for Realtek DSA switch drivers (diff)
downloadlinux-ecf4a24cf97838fb0b78d4ede0f91d80b058289c.tar.xz
linux-ecf4a24cf97838fb0b78d4ede0f91d80b058289c.zip
net: sched: avoid newline at end of message in NL_SET_ERR_MSG_MOD
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>
Diffstat (limited to 'net/sched/act_api.c')
-rw-r--r--net/sched/act_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/act_api.c b/net/sched/act_api.c
index 2811348f3acc..ca03e7284254 100644
--- 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;
}