Skip to contentSkip to conversation

ice: Match parameter name for ice_cfg_phy_fc()

PATCH New Tony Nguyen 1 participant 1 message Dec 15, 2022

Subsystems (2)
lore
Share & tools
lore

Tony Nguyen

author maintainer
#0 lore raw

PATCH 1/1 ice: Match parameter name for ice_cfg_phy_fc()

The parameter name in the function declaration and definition do not match; adjust the naming for consistency and to avoid confusion.

---
 drivers/net/ethernet/intel/ice/ice_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/ice/ice_common.h +1 -1
index 6a7898565072..8ba5f935a092 100644
@@ -122,7 +122,7 @@ ice_set_fc(struct ice_port_info *pi, u8 *aq_failures,
 	   bool ena_auto_link_update);
 int
 ice_cfg_phy_fc(struct ice_port_info *pi, struct ice_aqc_set_phy_cfg_data *cfg,
-	       enum ice_fc_mode fc);
+	       enum ice_fc_mode req_mode);
 bool
 ice_phy_caps_equals_cfg(struct ice_aqc_get_phy_caps_data *caps,
 			struct ice_aqc_set_phy_cfg_data *cfg);
Signature · 6 lines
2.20.1

_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan