aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNathan Huckleberry <[email protected]>2022-09-12 12:40:30 -0700
committerJakub Kicinski <[email protected]>2022-09-19 18:23:04 -0700
commitfcb7c210a24209ea8f6f32593580b57f52382ec2 (patch)
tree30201bedf7f69d62b587c02faedd1fc9cb88b764 /tools/perf/scripts/python
parent4dccf41d79dd533d91891e4acdc091e5143d0792 (diff)
net: ax88796c: Fix return type of ax88796c_start_xmit
The ndo_start_xmit field in net_device_ops is expected to be of type netdev_tx_t (*ndo_start_xmit)(struct sk_buff *skb, struct net_device *dev). The mismatched return type breaks forward edge kCFI since the underlying function definition does not match the function hook definition. The return type of ax88796c_start_xmit should be changed from int to netdev_tx_t. Reported-by: Dan Carpenter <[email protected]> Link: https://github.com/ClangBuiltLinux/linux/issues/1703 Cc: [email protected] Signed-off-by: Nathan Huckleberry <[email protected]> Acked-by: Lukasz Stelmach <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions