All of lore.kernel.org
 help / color / mirror / Atom feed
* [net-next] nfp: flower: avoid newline at the end of message in NL_SET_ERR_MSG_MOD
@ 2022-03-12  9:58 Niklas Söderlund
  2022-03-14 22:40 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Niklas Söderlund @ 2022-03-12  9:58 UTC (permalink / raw)
  To: netdev, Jakub Kicinski; +Cc: Simon Horman, oss-drivers, Niklas Söderlund

Fix the following coccicheck warning:

    drivers/net/ethernet/netronome/nfp/flower/action.c:959:7-69: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD

Signed-off-by: Niklas Söderlund <niklas.soderlund@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
---
 drivers/net/ethernet/netronome/nfp/flower/action.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/netronome/nfp/flower/action.c b/drivers/net/ethernet/netronome/nfp/flower/action.c
index 2c40a3959f94da31..1b9421e844a95e2c 100644
--- a/drivers/net/ethernet/netronome/nfp/flower/action.c
+++ b/drivers/net/ethernet/netronome/nfp/flower/action.c
@@ -956,7 +956,7 @@ nfp_flower_meter_action(struct nfp_app *app,
 	meter_id = action->hw_index;
 	if (!nfp_flower_search_meter_entry(app, meter_id)) {
 		NL_SET_ERR_MSG_MOD(extack,
-				   "can not offload flow table with unsupported police action.\n");
+				   "can not offload flow table with unsupported police action.");
 		return -EOPNOTSUPP;
 	}
 
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [net-next] nfp: flower: avoid newline at the end of message in NL_SET_ERR_MSG_MOD
  2022-03-12  9:58 [net-next] nfp: flower: avoid newline at the end of message in NL_SET_ERR_MSG_MOD Niklas Söderlund
@ 2022-03-14 22:40 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-03-14 22:40 UTC (permalink / raw)
  To: =?utf-8?q?Niklas_S=C3=B6derlund_=3Cniklas=2Esoderlund=40corigine=2Ecom=3E?=
  Cc: netdev, kuba, simon.horman, oss-drivers

Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Sat, 12 Mar 2022 10:58:23 +0100 you wrote:
> Fix the following coccicheck warning:
> 
>     drivers/net/ethernet/netronome/nfp/flower/action.c:959:7-69: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD
> 
> Signed-off-by: Niklas Söderlund <niklas.soderlund@corigine.com>
> Signed-off-by: Simon Horman <simon.horman@corigine.com>
> 
> [...]

Here is the summary with links:
  - [net-next] nfp: flower: avoid newline at the end of message in NL_SET_ERR_MSG_MOD
    https://git.kernel.org/netdev/net-next/c/bdd6a89de44b

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-03-14 22:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-12  9:58 [net-next] nfp: flower: avoid newline at the end of message in NL_SET_ERR_MSG_MOD Niklas Söderlund
2022-03-14 22:40 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.