diff options
author | Wan Jiabing <wanjiabing@vivo.com> | 2022-03-01 14:23:54 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-02 04:42:26 +0300 |
commit | 323d51cac6a1defa48620adb3f440f7634083aa3 (patch) | |
tree | 93180052d818f0b88df7143d5c8845c18c0642b9 /drivers/net/ethernet | |
parent | fb3f903769e805221eb19209b3d9128d398038a1 (diff) | |
download | linux-323d51cac6a1defa48620adb3f440f7634083aa3.tar.xz |
nfp: avoid newline at end of message in NL_SET_ERR_MSG_MOD
Fix the following coccicheck warning:
./drivers/net/ethernet/netronome/nfp/flower/qos_conf.c:750:7-55: WARNING
avoid newline at end of message in NL_SET_ERR_MSG_MOD
Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20220301112356.1820985-1-wanjiabing@vivo.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/netronome/nfp/flower/qos_conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/netronome/nfp/flower/qos_conf.c b/drivers/net/ethernet/netronome/nfp/flower/qos_conf.c index cd3fdb9f953b..3206ba83b1aa 100644 --- a/drivers/net/ethernet/netronome/nfp/flower/qos_conf.c +++ b/drivers/net/ethernet/netronome/nfp/flower/qos_conf.c @@ -747,7 +747,7 @@ nfp_act_remove_actions(struct nfp_app *app, struct flow_offload_action *fl_act, meter_entry = nfp_flower_search_meter_entry(app, meter_id); if (!meter_entry) { NL_SET_ERR_MSG_MOD(extack, - "no meter entry when delete the action index.\n"); + "no meter entry when delete the action index."); return -ENOENT; } pps = !meter_entry->bps; |