* [PATCH] net: sched: avoid newline at end of message in NL_SET_ERR_MSG_MOD
@ 2022-02-23 2:34 Wan Jiabing
2022-02-23 12:50 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2022-02-23 2:34 UTC (permalink / raw)
To: Jamal Hadi Salim, Cong Wang, Jiri Pirko, David S. Miller,
Jakub Kicinski, netdev, linux-kernel
Cc: jiabing.wan, Wan Jiabing
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>
---
net/sched/act_api.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
--
2.35.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: sched: avoid newline at end of message in NL_SET_ERR_MSG_MOD
2022-02-23 2:34 [PATCH] net: sched: avoid newline at end of message in NL_SET_ERR_MSG_MOD Wan Jiabing
@ 2022-02-23 12:50 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-02-23 12:50 UTC (permalink / raw)
To: Wan Jiabing
Cc: jhs, xiyou.wangcong, jiri, davem, kuba, netdev, linux-kernel,
jiabing.wan
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:
On Wed, 23 Feb 2022 10:34:19 +0800 you wrote:
> 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>
> ---
> net/sched/act_api.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- net: sched: avoid newline at end of message in NL_SET_ERR_MSG_MOD
https://git.kernel.org/netdev/net/c/ecf4a24cf978
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-23 12:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-23 2:34 [PATCH] net: sched: avoid newline at end of message in NL_SET_ERR_MSG_MOD Wan Jiabing
2022-02-23 12:50 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).