Skip to content

Commit

Permalink
nfp: xsk: avoid newline at the end of message in NL_SET_ERR_MSG_MOD
Browse files Browse the repository at this point in the history
Fix the following coccicheck warning:
drivers/net/ethernet/netronome/nfp/nfp_net_common.c:3434:8-48: WARNING
avoid newline at end of message in NL_SET_ERR_MSG_MOD

Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Guo Zhengkui authored and David S. Miller committed Mar 7, 2022
1 parent 7de8eb0 commit 0c1794c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/netronome/nfp/nfp_net_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -3431,7 +3431,7 @@ nfp_net_check_config(struct nfp_net *nn, struct nfp_net_dp *dp,

if (xsk_pool_get_rx_frame_size(dp->xsk_pools[r]) < xsk_min_fl_bufsz) {
NL_SET_ERR_MSG_MOD(extack,
"XSK buffer pool chunk size too small\n");
"XSK buffer pool chunk size too small");
return -EINVAL;
}
}
Expand Down

0 comments on commit 0c1794c

Please sign in to comment.