]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ice: remove invalid parameter of equalizer
authorMateusz Polchlopek <mateusz.polchlopek@intel.com>
Tue, 31 Dec 2024 09:50:44 +0000 (10:50 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 24 Jan 2025 18:49:42 +0000 (10:49 -0800)
commitc5cc2a27e04f2fcd77c74ada9aef76a758a24697
tree439d8151ba616d56ace80a6cd330955214a66c99
parent18625e26fefced78f2ae28b25e80a07079821e04
ice: remove invalid parameter of equalizer

It occurred that in the commit 70838938e89c ("ice: Implement driver
functionality to dump serdes equalizer values") the invalid DRATE parameter
for reading has been added. The output of the command:

  $ ethtool -d <ethX>

returns the garbage value in the place where DRATE value should be
stored.

Remove mentioned parameter to prevent return of corrupted data to
userspace.

Fixes: 70838938e89c ("ice: Implement driver functionality to dump serdes equalizer values")
Signed-off-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Tested-by: Rinitha S <sx.rinitha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_adminq_cmd.h
drivers/net/ethernet/intel/ice/ice_ethtool.c
drivers/net/ethernet/intel/ice/ice_ethtool.h