mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-28 01:52:36 +00:00
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> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| spl2sw_define.h | ||
| spl2sw_desc.c | ||
| spl2sw_desc.h | ||
| spl2sw_driver.c | ||
| spl2sw_int.c | ||
| spl2sw_int.h | ||
| spl2sw_mac.c | ||
| spl2sw_mac.h | ||
| spl2sw_mdio.c | ||
| spl2sw_mdio.h | ||
| spl2sw_phy.c | ||
| spl2sw_phy.h | ||
| spl2sw_register.h | ||