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 staging: rtl819x: select CONFIG_CRC32 2021-01-05 15:27:22 +01:00
Makefile staging: rtl8192u: move debug files to debugfs 2022-08-16 15:13:27 +02:00
r819xU_cmdpkt.c staging: r819xU_cmdpkt: Remove functionless method 'cmpk_handle_query_config_rx' 2021-05-10 11:19:23 +02:00
r819xU_cmdpkt.h
r819xU_firmware_img.c
r819xU_firmware_img.h staging: rtl8192u: clean up blank line style issues 2020-09-22 09:51:11 +02:00
r819xU_firmware.c staging: rtl8192u: clean up blank line style issues 2020-09-22 09:51:11 +02:00
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 staging: rtl8192u: clean up blank line style issues 2020-09-22 09:51:11 +02:00
r8180_93cx6.c
r8180_93cx6.h
r8190_rtl8256.c staging: rtl8192u: remove unnecessary return in r8190_rtl8256.c 2021-03-10 09:25:26 +01:00
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 staging: rtl8192u: fix spaces in r8192U_hw.h 2021-06-03 15:59:18 +02:00
r8192U_wx.c r8192U_wx.c: style: avoid multiple blank lines 2021-03-26 15:01:16 +01:00
r8192U_wx.h
r8192U.h staging: rtl8192u: fix rmmod warn when device is renamed 2022-08-16 15:13:27 +02:00