Skip to content

Commit ecf4a24

Browse files
Wan Jiabingdavem330
authored andcommitted
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>
1 parent 404ba13 commit ecf4a24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/sched/act_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ static int tcf_action_offload_add_ex(struct tc_action *action,
274274
err = tc_setup_action(&fl_action->action, actions);
275275
if (err) {
276276
NL_SET_ERR_MSG_MOD(extack,
277-
"Failed to setup tc actions for offload\n");
277+
"Failed to setup tc actions for offload");
278278
goto fl_err;
279279
}
280280

0 commit comments

Comments
 (0)