nfp: flower: avoid newline at the end of message in NL_SET_ERR_MSG_MOD
Subsystems (3)
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 <[email protected]>
Signed-off-by Simon Horman <[email protected]>
--- drivers/net/ethernet/netronome/nfp/flower/action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/netronome/nfp/flower/action.c +1 -1
@@ -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 ; }
Signature · 1 line
2.35.1
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · 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_MODSigned-off-by Niklas Söderlund <[email protected]>Signed-off-by Simon Horman <[email protected]>[...]
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!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html