diff options
author | 2023-07-11 14:34:14 +0800 | |
---|---|---|
committer | 2023-07-12 16:54:52 -0700 | |
commit | aa846677a9fb19a0f2c58154c140398aa92a87ba (patch) | |
tree | 5347f7805ef3ac7fafbaa2530b3a9f3bbc7f0de3 /tools/perf/scripts/python/task-analyzer.py | |
parent | net/sched: make psched_mtu() RTNL-less safe (diff) | |
download | wireguard-linux-aa846677a9fb19a0f2c58154c140398aa92a87ba.tar.xz wireguard-linux-aa846677a9fb19a0f2c58154c140398aa92a87ba.zip |
net: txgbe: fix eeprom calculation error
For some device types like TXGBE_ID_XAUI, *checksum computed in
txgbe_calc_eeprom_checksum() is larger than TXGBE_EEPROM_SUM. Remove the
limit on the size of *checksum.
Fixes: 049fe5365324 ("net: txgbe: Add operations to interact with firmware")
Fixes: 5e2ea7801fac ("net: txgbe: Fix unsigned comparison to zero in txgbe_calc_eeprom_checksum()")
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Link: https://lore.kernel.org/r/20230711063414.3311-1-jiawenwu@trustnetic.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions