diff options
author | Niklas Söderlund <niklas.soderlund@corigine.com> | 2022-03-12 12:58:23 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-15 01:22:47 +0300 |
commit | bdd6a89de44b9e07d0b106076260d2367fe0e49a (patch) | |
tree | f567dc200aeb945041698a63c3a25560340a5388 /drivers | |
parent | 8772cc499bff844cf00d1b0b4428633d77c60a0d (diff) | |
download | linux-bdd6a89de44b9e07d0b106076260d2367fe0e49a.tar.xz |
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@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20220312095823.2425775-1-niklas.soderlund@corigine.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/netronome/nfp/flower/action.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/netronome/nfp/flower/action.c b/drivers/net/ethernet/netronome/nfp/flower/action.c index 2c40a3959f94..1b9421e844a9 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; } |