lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 12 Mar 2022 10:58:23 +0100 From: Niklas Söderlund <niklas.soderlund@...igine.com> To: netdev@...r.kernel.org, Jakub Kicinski <kuba@...nel.org> Cc: Simon Horman <simon.horman@...igine.com>, oss-drivers@...igine.com, Niklas Söderlund <niklas.soderlund@...igine.com> Subject: [net-next] nfp: flower: avoid newline at the end of message in NL_SET_ERR_MSG_MOD 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@...igine.com> Signed-off-by: Simon Horman <simon.horman@...igine.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
Powered by blists - more mailing lists