linux/drivers/staging/rtl8192u
Nathan Huckleberry 2851349ac3 staging: rtl8192u: Fix return type of ieee80211_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 ieee80211_xmit should be changed from int to
netdev_tx_t.

Link: https://github.com/ClangBuiltLinux/linux/issues/1703
Cc: llvm@lists.linux.dev
Reported-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nathan Huckleberry <nhuck@google.com>
Link: https://lore.kernel.org/r/20220914210750.423048-1-nhuck@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-09-24 13:05:33 +02:00
..
ieee80211 staging: rtl8192u: Fix return type of ieee80211_xmit 2022-09-24 13:05:33 +02:00
authors
changes
Kconfig
Makefile staging: rtl8192u: move debug files to debugfs 2022-08-16 15:13:27 +02:00
r819xU_cmdpkt.c
r819xU_cmdpkt.h
r819xU_firmware_img.c
r819xU_firmware_img.h
r819xU_firmware.c
r819xU_firmware.h
r819xU_phy.c staging/rtl8192u: Prefer kcalloc over open coded arithmetic 2021-08-26 12:14:27 +02:00
r819xU_phy.h
r819xU_phyreg.h
r8180_93cx6.c
r8180_93cx6.h
r8190_rtl8256.c
r8190_rtl8256.h
r8192U_core.c staging: rtl8192u: fix rmmod warn when device is renamed 2022-08-16 15:13:27 +02:00
r8192U_debugfs.c staging: rtl8192u: fix rmmod warn when device is renamed 2022-08-16 15:13:27 +02:00
r8192U_dm.c staging: rtl8192u: Fix sleep in atomic context bug in dm_fsync_timer_callback 2022-07-11 10:05:35 +02:00
r8192U_dm.h staging: rtl8192u: Fix sleep in atomic context bug in dm_fsync_timer_callback 2022-07-11 10:05:35 +02:00
r8192U_hw.h
r8192U_wx.c
r8192U_wx.h
r8192U.h staging: rtl8192u: fix rmmod warn when device is renamed 2022-08-16 15:13:27 +02:00