diff options
author | Kees Cook <keescook@chromium.org> | 2022-10-06 22:20:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-10-07 10:49:29 +0300 |
commit | 4af609b216e8d9e8d4b03d49ca5b965e87c344b3 (patch) | |
tree | 121ab8ac70b3ca236c624251eb0aa06ca5cd6f51 /drivers/net/ethernet/broadcom/Makefile | |
parent | fb4a5dfca0f0a027e2d89be00e53adb2827943f6 (diff) | |
download | linux-4af609b216e8d9e8d4b03d49ca5b965e87c344b3.tar.xz |
net: ethernet: mediatek: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/Makefile')
0 files changed, 0 insertions, 0 deletions