summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2022-11-05 16:07:22 +0800
committerJakub Kicinski <kuba@kernel.org>2022-11-07 20:00:10 -0800
commit5e2ea7801faccc011359db5ad6af5987b513f314 (patch)
tree04153647c8d6da1c931285c6233a91fb1d555083 /tools/perf/scripts/python
parenta068d33e542f5d5be2e5de3cf1122c4347d3e2af (diff)
net: txgbe: Fix unsigned comparison to zero in txgbe_calc_eeprom_checksum()
The error checks on checksum for a negative error return always fails because it is unsigned and can never be negative. Fixes: 049fe5365324 ("net: txgbe: Add operations to interact with firmware") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions