ice: Match parameter name for ice_cfg_phy_fc()
authorTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 15 Dec 2022 21:36:37 +0000 (13:36 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 19 Jan 2023 16:18:03 +0000 (08:18 -0800)
The parameter name in the function declaration and definition do not
match; adjust the naming for consistency and to avoid confusion.

Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_common.h

index 22839c4f7247fb6fc9e271f365abc16babf7b0cd..98aa8d124730a2899316e7632dc94bdb0eed465e 100644 (file)
@@ -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);