summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-05-23 13:32:35 +0200
committerKalle Valo <kvalo@kernel.org>2023-05-25 19:14:15 +0300
commit47e612268ea02f7d2bcbaa47528698b5be61a8cf (patch)
treea6151d5c090d8dcf7024b6c137a46c7427902d1f /tools/perf/scripts/python
parent56fc4d482783f5e45a6a2b3ec0d9f557908cdf77 (diff)
downloadlinux-47e612268ea02f7d2bcbaa47528698b5be61a8cf.tar.gz
linux-47e612268ea02f7d2bcbaa47528698b5be61a8cf.zip
wifi: rtw89: use flexible array member in rtw89_btc_btf_tlv
struct rtw89_btc_btf_tlv contains a one-byte member that is intended as a flexible array: In function 'fortify_memcpy_chk', inlined from '_append_tdma' at drivers/net/wireless/realtek/rtw89/coex.c:1579:3: include/linux/fortify-string.h:583:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning] 583 | __write_overflow_field(p_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Make this actually use a flexible array to let the compiler understand. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Ping-Ke Shih <pkshih@realtek.com> Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230523113241.2772811-1-arnd@kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions