linux-stable/drivers/net/ethernet/sunplus
GUO Zihua 7b620e1560 net: sunplus: 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.

spl2sw_ethernet_start_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/20220902081550.60095-1-guozihua@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-09-02 21:19:14 -07:00
..
Kconfig net: ethernet: Fix unmet direct dependencies detected for NVMEM_SUNPLUS_OCOTP 2022-05-16 18:02:21 -07:00
Makefile
spl2sw_define.h
spl2sw_desc.c
spl2sw_desc.h
spl2sw_driver.c net: sunplus: Fix return type for implementation of ndo_start_xmit 2022-09-02 21:19:14 -07:00
spl2sw_int.c net: ethernet: SP7021: fix a use after free of skb->len 2022-05-19 17:46:56 -07:00
spl2sw_int.h
spl2sw_mac.c
spl2sw_mac.h
spl2sw_mdio.c net: ethernet: sunplus: add missing of_node_put() in spl2sw_mdio_init() 2022-05-18 14:08:49 +01:00
spl2sw_mdio.h
spl2sw_phy.c
spl2sw_phy.h
spl2sw_register.h