sfc: remove newlines in NL_SET_ERR_MSG_MOD
Subsystems (2)
PATCH 1/1 sfc: remove newlines in NL_SET_ERR_MSG_MOD
Fix following coccicheck warning:
./drivers/net/ethernet/sfc/tc.c:1584:29-80: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD
Signed-off-by Chen Ni <[email protected]>
--- drivers/net/ethernet/sfc/tc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/sfc/tc.c +1 -1
@@ -1581,7 +1581,7 @@ static int efx_tc_flower_replace_foreign_lhs(struct efx_nic *efx, type =efx_tc_indr_netdev_type (net_dev);if (type ==EFX_ENCAP_TYPE_NONE ) { -NL_SET_ERR_MSG_MOD (extack,"Egress encap match on unsupported tunnel device\n" ); +NL_SET_ERR_MSG_MOD (extack,"Egress encap match on unsupported tunnel device" );return -EOPNOTSUPP ; }
Signature · 1 line
2.25.1