OpenCloudOS-Kernel/drivers/net/ethernet/freescale/enetc
Dan Carpenter ced81eb84d enetc: Fix a signedness bug in enetc_of_get_phy()
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: d4fd0404c1 ("enetc: Introduce basic PF and VF ENETC ethernet drivers")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-09-27 10:03:41 +02:00
..
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-08-06 18:44:57 -07:00
Makefile enetc: Add mdio bus driver for the PCIe MDIO endpoint 2019-08-02 18:22:18 -07:00
enetc.c net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
enetc.h enetc: Enable TC offloading with mqprio 2019-05-28 17:11:02 -07:00
enetc_cbdr.c enetc: Add RFS and RSS support 2019-01-24 21:55:53 -08:00
enetc_ethtool.c enetc: add get_ts_info interface for ethtool 2019-05-24 13:16:32 -07:00
enetc_hw.h enetc: Enable TC offloading with mqprio 2019-05-28 17:11:02 -07:00
enetc_mdio.c enetc: Add mdio bus driver for the PCIe MDIO endpoint 2019-08-02 18:22:18 -07:00
enetc_mdio.h enetc: Add mdio bus driver for the PCIe MDIO endpoint 2019-08-02 18:22:18 -07:00
enetc_msg.c enetc: Add vf to pf messaging support 2019-01-24 21:55:53 -08:00
enetc_pci_mdio.c enetc: Add mdio bus driver for the PCIe MDIO endpoint 2019-08-02 18:22:18 -07:00
enetc_pf.c enetc: Fix a signedness bug in enetc_of_get_phy() 2019-09-27 10:03:41 +02:00
enetc_pf.h enetc: Add ENETC PF level external MDIO support 2019-03-01 11:21:32 -08:00
enetc_ptp.c enetc: Add missing call to 'pci_free_irq_vectors()' in probe and remove functions 2019-08-31 23:53:17 -07:00
enetc_vf.c enetc: Enable TC offloading with mqprio 2019-05-28 17:11:02 -07:00