mirror_ubuntu-kernels/drivers/net/wireless/broadcom/brcm80211/brcmsmac
Kalle Valo 4b6ec74ec4 wifi: brcmsmac: fix gnu_printf warnings
With GCC 13.1 and W=1 brcmsmac has warnings like this:

./include/trace/stages/stage5_get_offsets.h:23:31: warning: function 'trace_event_get_offsets_brcms_dbg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]

Add a workaround which disables -Wsuggest-attribute=format in
brcms_trace_brcmsmac_msg.h. I see similar workarounds in other drivers as well.

Compile tested only.

Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230613140918.389690-3-kvalo@kernel.org
2023-06-16 12:24:15 +03:00
..
phy
aiutils.c brcmsmac: Drop unnecessary NULL check after container_of 2021-06-15 13:42:30 +03:00
aiutils.h
ampdu.c wifi: brcmsmac: ampdu: remove unused suc_mpdu variable 2023-03-31 17:53:50 +03:00
ampdu.h
antsel.c
antsel.h
brcms_trace_brcmsmac_msg.h wifi: brcmsmac: fix gnu_printf warnings 2023-06-16 12:24:15 +03:00
brcms_trace_brcmsmac_tx.h
brcms_trace_brcmsmac.h
brcms_trace_events.c
brcms_trace_events.h
channel.c
channel.h
d11.h brcmsmac: Fix the spelling configation to configuration in the file d11.h 2021-02-11 08:44:41 +02:00
debug.c
debug.h
dma.c
dma.h
led.c gpiolib: split linux/gpio/driver.h out of linux/gpio.h 2023-03-06 12:33:01 +02:00
led.h brcmsmac: rework LED dependencies 2021-12-08 20:17:06 +02:00
mac80211_if.c wifi: brcmsmac: remove unused has_5g variable 2023-03-31 17:50:33 +03:00
mac80211_if.h
main.c wifi: brcmsmac: fix repeated words in comments 2022-07-18 15:07:57 +03:00
main.h
Makefile brcmsmac: rework LED dependencies 2021-12-08 20:17:06 +02:00
phy_shim.c
phy_shim.h
pmu.c
pmu.h
pub.h
rate.c
rate.h
scb.h
stf.c
stf.h brcmsmac: Remove the repeated declaration 2021-06-15 13:43:22 +03:00
types.h wifi: brcmsmac: remove duplicate words 2022-08-09 08:59:06 +03:00
ucode_loader.c
ucode_loader.h