OpenCloudOS-Kernel/drivers/staging/rtl8192u
Kees Cook 6cfed59848 staging: rtl*: Remove tasklet callback casts
In order to make the entire kernel usable under Clang's Control Flow
Integrity protections, function prototype casts need to be avoided
because this will trip CFI checks at runtime (i.e. a mismatch between
the caller's expected function prototype and the destination function's
prototype). Many of these cases can be found with -Wcast-function-type,
which found that the rtl wifi drivers had a bunch of needless function
casts. Remove function casts for tasklet callbacks in the various drivers.

Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/201911150926.2894A4F973@keescook
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-16 14:41:02 +01:00
..
ieee80211 staging: rtl*: Remove tasklet callback casts 2019-11-16 14:41:02 +01:00
Kconfig staging: rtl8192u: ieee80211: ieee80211_crypt_ccmp.c: Use crypto API ccm(aes) 2019-08-18 08:51:11 +02:00
Makefile staging: prefix header search paths with $(srctree)/ 2019-02-04 12:30:27 +01:00
authors
changes
copying
r819xU_cmdpkt.c staging: rtl8192u: fix indentation issue 2019-11-15 14:11:23 +08:00
r819xU_cmdpkt.h staging:rtl8192u: Remove typedef of cmpk_set_cfg_t - Style 2018-07-30 11:12:32 +02:00
r819xU_firmware.c staging: rtl8192u: Fix indentation 2019-08-28 22:22:13 +02:00
r819xU_firmware.h staging:rtl8192u: Remove typedef from enum opt_rst_type_e - Style 2018-09-10 17:12:16 +02:00
r819xU_firmware_img.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
r819xU_firmware_img.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
r819xU_phy.c staging: rtl8192u: remove code under TO_DO_LIST 2019-08-25 10:27:39 +02:00
r819xU_phy.h staging:rtl8192u: Refactor BaseBand_Config_Type - Style 2018-08-27 19:27:48 +02:00
r819xU_phyreg.h staging: rtl8192u: Fix misspellings in comments - Style 2018-11-05 14:16:33 +01:00
r8180_93cx6.c staging: rtl8192u: Add space around binary operators 2019-08-25 10:27:39 +02:00
r8180_93cx6.h staging:rtl8192u: Add required SPDX-License-Identifier - Style 2018-09-10 10:37:54 +02:00
r8190_rtl8256.c staging: rtl8192u: Fix indentation for cleaner code 2019-10-07 12:25:47 +02:00
r8190_rtl8256.h staging:rtl8192u: Add SPDX-License-Identifier tag - Style 2018-08-27 19:28:16 +02:00
r8192U.h staging: rtl8192u: rename struct name _rt_firmare_seg_container 2018-11-07 12:35:10 +01:00
r8192U_core.c staging: rtl*: Remove tasklet callback casts 2019-11-16 14:41:02 +01:00
r8192U_dm.c drivers/staging/rtl8192u: fix indentation issue, remove extra tab 2019-07-25 09:58:26 +02:00
r8192U_dm.h staging: rtl8192u: Remove function dm_backup_dynamic_mechanism_state() 2019-07-01 09:11:23 +02:00
r8192U_hw.h staging: rtl8192u: add proper SPDX identifiers on files that did not have them. 2019-04-03 11:10:17 +02:00
r8192U_wx.c staging: rtl8192u: add proper SPDX identifiers on files that did not have them. 2019-04-03 11:10:17 +02:00
r8192U_wx.h staging: rtl8192u: add proper SPDX identifiers on files that did not have them. 2019-04-03 11:10:17 +02:00