linux/drivers/net/wwan
Nathan Huckleberry 73c99e2603 net: wwan: t7xx: Fix return type of t7xx_ccmni_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 t7xx_ccmni_start_xmit should be changed from int to
netdev_tx_t.

Reported-by: Dan Carpenter <error27@gmail.com>
Link: https://github.com/ClangBuiltLinux/linux/issues/1703
Cc: llvm@lists.linux.dev
Signed-off-by: Nathan Huckleberry <nhuck@google.com>
Acked-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Link: https://lore.kernel.org/r/20220912214510.929070-1-nhuck@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-09-19 18:28:50 -07:00
..
iosm net: wwan: iosm: Fix return type of ipc_wwan_link_transmit 2022-09-19 18:28:50 -07:00
t7xx net: wwan: t7xx: Fix return type of t7xx_ccmni_start_xmit 2022-09-19 18:28:50 -07:00
Kconfig Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
Makefile net: wwan: t7xx: Add core components 2022-05-09 10:51:59 +01:00
mhi_wwan_ctrl.c
mhi_wwan_mbim.c net: wwan: Fix MRU mismatch issue which may lead to data connection lost 2022-01-15 22:40:52 +00:00
qcom_bam_dmux.c net: wwan: qcom_bam_dmux: fix wrong pointer passed to IS_ERR() 2022-03-22 09:36:46 +01:00
rpmsg_wwan_ctrl.c
wwan_core.c net: wwan: debugfs obtained dev reference not dropped 2022-02-14 14:09:59 +00:00
wwan_hwsim.c wwan_hwsim: Avoid flush_scheduled_work() usage 2022-04-25 12:10:24 -07:00