OpenCloudOS-Kernel/drivers/net/wwan/t7xx
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
..
Makefile Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_cldma.c
t7xx_cldma.h
t7xx_dpmaif.c net: wwan: t7xx: Fix return type of t7xx_dl_add_timedout() 2022-05-16 11:41:50 +01:00
t7xx_dpmaif.h net: wwan: t7xx: Data path HW layer 2022-05-09 10:51:59 +01:00
t7xx_hif_cldma.c Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_hif_cldma.h Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_hif_dpmaif.c net: wwan: t7xx: Introduce power management 2022-05-09 10:51:59 +01:00
t7xx_hif_dpmaif.h net: wwan: t7xx: Introduce power management 2022-05-09 10:51:59 +01:00
t7xx_hif_dpmaif_rx.c net: wwan: t7xx: Avoid calls to skb_data_area_size() 2022-05-16 13:45:26 -07:00
t7xx_hif_dpmaif_rx.h net: wwan: t7xx: Add data path interface 2022-05-09 10:51:59 +01:00
t7xx_hif_dpmaif_tx.c net: wwan: t7xx: Device deep sleep lock/unlock 2022-05-09 10:51:59 +01:00
t7xx_hif_dpmaif_tx.h net: wwan: t7xx: Add data path interface 2022-05-09 10:51:59 +01:00
t7xx_mhccif.c net: wwan: t7xx: Device deep sleep lock/unlock 2022-05-09 10:51:59 +01:00
t7xx_mhccif.h Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_modem_ops.c Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_modem_ops.h Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_netdev.c net: wwan: t7xx: Fix return type of t7xx_ccmni_start_xmit 2022-09-19 18:28:50 -07:00
t7xx_netdev.h net: wwan: t7xx: Add WWAN network interface 2022-05-09 10:51:59 +01:00
t7xx_pci.c Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_pci.h Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_pcie_mac.c
t7xx_pcie_mac.h
t7xx_port.h Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_port_ctrl_msg.c Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_port_proxy.c Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_port_proxy.h Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_port_wwan.c Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_reg.h Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_state_monitor.c Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00
t7xx_state_monitor.h Revert "Merge branch 'wwan-t7xx-fw-flashing-and-coredump-support'" 2022-08-19 15:30:05 -07:00