ced81eb84d
The "priv->if_mode" is type phy_interface_t which is an enum. In this
context GCC will treat the enum as an unsigned int so this error
handling is never triggered.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
enetc.c | ||
enetc.h | ||
enetc_cbdr.c | ||
enetc_ethtool.c | ||
enetc_hw.h | ||
enetc_mdio.c | ||
enetc_mdio.h | ||
enetc_msg.c | ||
enetc_pci_mdio.c | ||
enetc_pf.c | ||
enetc_pf.h | ||
enetc_ptp.c | ||
enetc_vf.c |