ice: Fix newline at the end of NL_SET_ERR_MSG_MOD
Subsystems (2)
PATCH v2 1/1 ice: Fix newline at the end of NL_SET_ERR_MSG_MOD
Newline character is not needed at the end of NL_SET_ERR_MSG_MOD.
--- drivers/net/ethernet/intel/ice/ice_tc_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/ice/ice_tc_lib.c +1 -1
@@ -670,7 +670,7 @@ static int ice_del_tc_fltr(struct ice_vsi *vsi, struct ice_tc_flower_fltr *fltr) err =ice_rem_adv_rule_by_id (&pf->hw, &rule_rem);if (err) {if (err ==ICE_ERR_DOES_NOT_EXIST ) { -NL_SET_ERR_MSG_MOD (fltr->extack,"filter does not exist\n" ); +NL_SET_ERR_MSG_MOD (fltr->extack,"Filter does not exist" );return -ENOENT ; }NL_SET_ERR_MSG_MOD (fltr->extack,"Failed to delete TC flower filter" );
Signature · 1 line
2.30.1
G
PATCH v2 1/1 ice: Fix newline at the end of NL_SET_ERR_MSG_MOD
Quoted 10 lines
-----Original Message-----
From: Intel-wired-lan <[email protected]> On Behalf Of Wojciech Drewek
Sent: Monday, August 30, 2021 7:42 PM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH net-next v2] ice: Fix newline at the end ofNL_SET_ERR_MSG_MOD
Quoted 9 lines
Newline character is not needed at the end of
NL_SET_ERR_MSG_MOD.Signed-off-by Wojciech Drewek <[email protected]>Reported-by kernel test robot <[email protected]>Reported-by Julia Lawall <[email protected]>--- drivers/net/ethernet/intel/ice/ice_tc_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
PATCH v2 1/1 ice: Fix newline at the end of NL_SET_ERR_MSG_MOD
In reply to Wojciech DrewekQuoted 15 lines · Wojciech Drewek
Newline character is not needed at the end of
NL_SET_ERR_MSG_MOD.Signed-off-by Wojciech Drewek <[email protected]>Reported-by kernel test robot <[email protected]>Reported-by Julia Lawall <[email protected]>--- drivers/net/ethernet/intel/ice/ice_tc_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/ethernet/intel/ice/ice_tc_lib.c +0
-0
drivers/net/ethernet/intel/ice/ice_tc_lib.c static int ice_del_tc_fltr(struct ice_vsi *vsi, struct ice_tc_flower_fltr *fltr) · line 676
Quoted 8 lines
drivers/net/ethernet/intel/ice/ice_tc_lib.c +1
-1@@ -670,7 +670,7 @@ static int ice_del_tc_fltr(struct ice_vsi *vsi, struct ice_tc_flower_fltr *fltr) err =ice_rem_adv_rule_by_id (&pf->hw, &rule_rem);if (err) {if (err ==ICE_ERR_DOES_NOT_EXIST ) { -NL_SET_ERR_MSG_MOD (fltr->extack,"filter does not exist\n" ); +NL_SET_ERR_MSG_MOD (fltr->extack,"Filter does not exist" );return -ENOENT ; }NL_SET_ERR_MSG_MOD (fltr->extack,"Failed to delete TC flower filter" );