linux/drivers/net/ethernet/freescale
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
..
dpaa dpaa_eth: Use refcount_t for refcount 2019-08-08 17:57:54 -07:00
dpaa2 dpaa2-eth: Poll Tx pending frames counter on if down 2019-09-05 00:24:06 +02:00
enetc enetc: Fix a signedness bug in enetc_of_get_phy() 2019-09-27 10:03:41 +02:00
fman fsl/fman: Remove comment referring to non-existent function 2019-07-25 11:53:37 -07:00
fs_enet net: Use skb_frag_off accessors 2019-07-30 14:21:32 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile enetc: Introduce basic PF and VF ENETC ethernet drivers 2019-01-24 21:55:53 -08:00
fec.h net: fec: remove workaround to restart phylib state machine on MDIO timeout 2018-12-18 15:01:55 -08:00
fec_main.c net: fec: add C45 MDIO read/write support 2019-08-22 16:16:03 -07:00
fec_mpc52xx.c net: ethernet: fix similar warning reported by kbuild test robot 2019-05-10 15:14:29 -07:00
fec_mpc52xx.h
fec_mpc52xx_phy.c
fec_ptp.c net: fec_ptp: Use dev_err() instead of pr_err() 2019-06-05 12:12:40 -07:00
fsl_pq_mdio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
gianfar.c gianfar: Make reset_gfar static 2019-09-25 13:56:41 +02:00
gianfar.h gianfar: cleanup gianfar.h 2019-09-05 12:28:15 +02:00
gianfar_ethtool.c gianfar: remove forward declarations 2019-09-05 12:28:14 +02:00
ucc_geth.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ucc_geth.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ucc_geth_ethtool.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
xgmac_mdio.c net/fsl: use of_property_read_bool 2016-08-08 16:15:00 -07:00