mirror of
https://github.com/torvalds/linux.git
synced 2025-11-11 14:10:37 +02: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. 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> |
||
|---|---|---|
| .. | ||
| ixp4xx_eth.c | ||
| ixp46x_ts.h | ||
| Kconfig | ||
| Makefile | ||
| ptp_ixp46x.c | ||