aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2022-05-20 19:43:16 +0000
committerJakub Kicinski <[email protected]>2022-05-23 00:23:05 +0000
commitbd1d129daa3ede265a880e2c6a7f91eab0f4dc62 (patch)
treefc587e143b755335d39658489fef432577610143 /net/unix/af_unix.c
parentwifi: rtlwifi: remove always-true condition pointed out by GCC 12 (diff)
downloadkernel-bd1d129daa3ede265a880e2c6a7f91eab0f4dc62.tar.gz
kernel-bd1d129daa3ede265a880e2c6a7f91eab0f4dc62.zip
wifi: ath6k: silence false positive -Wno-dangling-pointer warning on GCC 12
For some reason GCC 12 decided to complain about the common pattern of queuing an object onto a list on the stack in ath6k: inlined from ‘ath6kl_htc_mbox_tx’ at drivers/net/wireless/ath/ath6kl/htc_mbox.c:1142:3: include/linux/list.h:74:19: warning: storing the address of local variable ‘queue’ in ‘*&packet_15(D)->list.prev’ [-Wdangling-pointer=] 74 | new->prev = prev; | ~~~~~~~~~~^~~~~~ Move the warning to W=1, hopefully it goes away with a compiler update. Acked-by: Kalle Valo <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions