diff options
| author | GUO Zihua <[email protected]> | 2022-09-02 16:15:21 +0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-09-02 21:19:35 -0700 |
| commit | c8ef3c94bda0e21123202d057d4a299698fa0ed9 (patch) | |
| tree | b2a32ca70c888916c52c3bd7e6400e75ef5c8847 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 7b620e156097028e4c9b6481a84ec1e1e72877ca (diff) | |
net: lantiq_etop: 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.
ltq_etop_tx() 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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions