diff options
author | Kees Cook <[email protected]> | 2022-10-06 12:20:53 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-10-07 08:50:07 +0100 |
commit | aabf6155dfb83262ef9a10af4bef945e7aba9b8e (patch) | |
tree | f6f3bcd9965f7a636e41fcdcea12f8154117a8d8 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 4af609b216e8d9e8d4b03d49ca5b965e87c344b3 (diff) |
net: ethernet: bgmac: 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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions