aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/wireless/ath/carl9170
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2022-10-06 12:20:51 -0700
committerKalle Valo <quic_kvalo@quicinc.com>2022-10-12 09:36:38 +0300
commit2577a58df24417dcdd35a3ba5b9e4e419a7d1234 (patch)
tree8b893786fab502e80eea513f4c777e79c54ecee3 /drivers/net/wireless/ath/carl9170
parentwifi: ath9k: verify the expected usb_endpoints are present (diff)
downloadwireguard-linux-2577a58df24417dcdd35a3ba5b9e4e419a7d1234.tar.xz
wireguard-linux-2577a58df24417dcdd35a3ba5b9e4e419a7d1234.zip
wifi: carl9170: Remove -Warray-bounds exception
GCC-12 emits false positive -Warray-bounds warnings with CONFIG_UBSAN_SHIFT (-fsanitize=shift). This is fixed in GCC 13[1], and there is top-level Makefile logic to remove -Warray-bounds for known-bad GCC versions staring with commit f0be87c42cbd ("gcc-12: disable '-Warray-bounds' universally for now"). Remove the local work-around. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105679 Signed-off-by: Kees Cook <keescook@chromium.org> Acked-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://lore.kernel.org/r/20221006192051.1742930-1-keescook@chromium.org
Diffstat (limited to 'drivers/net/wireless/ath/carl9170')
-rw-r--r--drivers/net/wireless/ath/carl9170/Makefile5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/carl9170/Makefile b/drivers/net/wireless/ath/carl9170/Makefile
index 7463baa62fa8..1a81868ce26d 100644
--- a/drivers/net/wireless/ath/carl9170/Makefile
+++ b/drivers/net/wireless/ath/carl9170/Makefile
@@ -3,8 +3,3 @@ carl9170-objs := main.o usb.o cmd.o mac.o phy.o led.o fw.o tx.o rx.o
carl9170-$(CONFIG_CARL9170_DEBUGFS) += debug.o
obj-$(CONFIG_CARL9170) += carl9170.o
-
-# FIXME: temporarily silence -Warray-bounds on non W=1+ builds
-ifndef KBUILD_EXTRA_WARN
-CFLAGS_cmd.o += -Wno-array-bounds
-endif