diff options
author | Kees Cook <keescook@chromium.org> | 2022-10-06 12:20:35 -0700 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-10-19 21:33:30 +0200 |
commit | 26117d92d001659b10f37ff0a338db2c8523c234 (patch) | |
tree | 7124be5d73d85fcf73647cafca1a79ebf844a38d /net/unix/unix_bpf.c | |
parent | b2df8a1bc303e01b034d11d8265354df052cd938 (diff) |
can: kvaser_usb: 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>
Link: https://lore.kernel.org/all/20221006192035.1742912-1-keescook@chromium.org
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions