10e44311bd
[ Upstream commit e1ea6db35fc3ba5ff063f097385e9f7a88c25356 ] An old cleanup went a little too far and causes a warning with clang-16 and higher as it breaks control flow integrity (KCFI) rules: drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy_shim.c:64:34: error: cast from 'void (*)(struct brcms_phy *)' to 'void (*)(void *)' converts to incompatible function type [-Werror,-Wcast-function-type-strict] 64 | brcms_init_timer(physhim->wl, (void (*)(void *))fn, | ^~~~~~~~~~~~~~~~~~~~ Change this one instance back to passing a void pointer so it can be used with the timer callback interface. Fixes: d89a4c80601d ("staging: brcm80211: removed void * from softmac phy") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://msgid.link/20240213100548.457854-1-arnd@kernel.org Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
---|---|---|
.. | ||
phy | ||
aiutils.c | ||
aiutils.h | ||
ampdu.c | ||
ampdu.h | ||
antsel.c | ||
antsel.h | ||
brcms_trace_brcmsmac.h | ||
brcms_trace_brcmsmac_msg.h | ||
brcms_trace_brcmsmac_tx.h | ||
brcms_trace_events.c | ||
brcms_trace_events.h | ||
channel.c | ||
channel.h | ||
d11.h | ||
debug.c | ||
debug.h | ||
dma.c | ||
dma.h | ||
led.c | ||
led.h | ||
mac80211_if.c | ||
mac80211_if.h | ||
main.c | ||
main.h | ||
Makefile | ||
phy_shim.c | ||
phy_shim.h | ||
pmu.c | ||
pmu.h | ||
pub.h | ||
rate.c | ||
rate.h | ||
scb.h | ||
stf.c | ||
stf.h | ||
types.h | ||
ucode_loader.c | ||
ucode_loader.h |