diff options
author | Mark Brown <broonie@kernel.org> | 2024-09-12 12:38:44 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-09-12 12:38:44 +0100 |
commit | f10d52087cbe85dcff2af3dc94c5b9d06e6d4b9a (patch) | |
tree | d07ff0a3767fbb6118505de85ad657f78f512c06 /drivers/net/ethernet/intel/ice/ice_ethtool.c | |
parent | 740c1c84bfa3d8c63bd3b01fb570e7452f51fbd8 (diff) | |
parent | b787a33864121a565aeb0e88561bf6062a19f99c (diff) |
spi: Merge up fixes
A patch for Qualcomm depends on some fixes.
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_ethtool.c')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_ethtool.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_ethtool.c b/drivers/net/ethernet/intel/ice/ice_ethtool.c index 8c990c976132..bc79ba974e49 100644 --- a/drivers/net/ethernet/intel/ice/ice_ethtool.c +++ b/drivers/net/ethernet/intel/ice/ice_ethtool.c @@ -4673,10 +4673,10 @@ static int ice_get_port_fec_stats(struct ice_hw *hw, u16 pcs_quad, u16 pcs_port, if (err) return err; - fec_stats->uncorrectable_blocks.total = (fec_corr_high_val << 16) + - fec_corr_low_val; - fec_stats->corrected_blocks.total = (fec_uncorr_high_val << 16) + - fec_uncorr_low_val; + fec_stats->corrected_blocks.total = (fec_corr_high_val << 16) + + fec_corr_low_val; + fec_stats->uncorrectable_blocks.total = (fec_uncorr_high_val << 16) + + fec_uncorr_low_val; return 0; } |