Skip to content

Commit

Permalink
net: sched: avoid newline at end of message in NL_SET_ERR_MSG_MOD
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wan Jiabing authored and David S. Miller committed Feb 23, 2022
1 parent 404ba13 commit ecf4a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sched/act_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit ecf4a24

Please sign in to comment.