Home
last modified time | relevance | path

Searched hist:"56714 e5f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dtracepoint.h56714e5f Tue Jun 13 09:09:15 CDT 2023 Kalle Valo <kvalo@kernel.org> wifi: brcmfmac: fix gnu_printf warnings

With GCC 13.1 and W=1 brcmfmac has warnings like this:

./include/trace/perf.h:26:16: warning: function 'perf_trace_brcmf_dbg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format]

Add a workaround which disables -Wsuggest-attribute=format in tracepoint.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-2-kvalo@kernel.org