提交 323d51ca 编写于 作者: W Wan Jiabing 提交者: Jakub Kicinski

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: NWan Jiabing <wanjiabing@vivo.com>
Reviewed-by: NSimon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20220301112356.1820985-1-wanjiabing@vivo.comSigned-off-by: NJakub Kicinski <kuba@kernel.org>
上级 fb3f9037
...@@ -747,7 +747,7 @@ nfp_act_remove_actions(struct nfp_app *app, struct flow_offload_action *fl_act, ...@@ -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); meter_entry = nfp_flower_search_meter_entry(app, meter_id);
if (!meter_entry) { if (!meter_entry) {
NL_SET_ERR_MSG_MOD(extack, 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; return -ENOENT;
} }
pps = !meter_entry->bps; pps = !meter_entry->bps;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册