linux_dsm_epyc7002/drivers/net/ethernet/ni
Dan Carpenter 1a4b62a0b8 net: nixge: Fix a signedness bug in nixge_probe()
The "priv->phy_mode" is an enum and in this context GCC will treat it
as an unsigned int so it can never be less than zero.

Fixes: 492caffa8a ("net: ethernet: nixge: Add support for National Instruments XGE netdev")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-09-27 10:20:36 +02:00
..
Kconfig net: nixge: Spelling s/Instrument/Instruments/ 2019-08-01 13:45:49 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
nixge.c net: nixge: Fix a signedness bug in nixge_probe() 2019-09-27 10:20:36 +02:00