linux-stable/drivers/net/ethernet/xscale
GUO Zihua 0dbaf0fa62 net: xscale: Fix return type for implementation of ndo_start_xmit
Since Linux now supports CFI, it will be a good idea to fix mismatched
return type for implementation of hooks. Otherwise this might get
cought out by CFI and cause a panic.

eth_xmit() would return either NETDEV_TX_BUSY or NETDEV_TX_OK, so
change the return type to netdev_tx_t directly.

Signed-off-by: GUO Zihua <guozihua@huawei.com>
Link: https://lore.kernel.org/r/20220902081612.60405-1-guozihua@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-09-02 21:18:56 -07:00
..
ixp4xx_eth.c net: xscale: Fix return type for implementation of ndo_start_xmit 2022-09-02 21:18:56 -07:00
ixp46x_ts.h ixp4xx_eth: make ptp support a platform driver 2021-08-30 09:59:11 +01:00
Kconfig net: ixp4xx_eth: Drop platform data support 2022-02-12 18:20:03 +01:00
Makefile ixp4xx_eth: make ptp support a platform driver 2021-08-30 09:59:11 +01:00
ptp_ixp46x.c ixp4xx_eth: fix error check return value of platform_get_irq() 2022-04-12 14:59:42 -07:00