summaryrefslogtreecommitdiff
path: root/drivers/net/phy/phy.c
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 /drivers/net/phy/phy.c
parenta068d33e542f5d5be2e5de3cf1122c4347d3e2af (diff)
downloadlinux-5e2ea7801faccc011359db5ad6af5987b513f314.tar.gz
linux-5e2ea7801faccc011359db5ad6af5987b513f314.tar.bz2
linux-5e2ea7801faccc011359db5ad6af5987b513f314.zip
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 'drivers/net/phy/phy.c')
0 files changed, 0 insertions, 0 deletions