-
Arnd Bergmann authored
[ Upstream commit 5c595ac4 ] gcc-11 adds support for -fsanitize=kernel-hwaddress, so it becomes possible to enable CONFIG_KASAN_SW_TAGS. Unfortunately this fails to build at the moment, because the corresponding command line arguments use llvm specific syntax. Change it to use the cc-param macro instead, which works on both clang and gcc. [[email protected]: fixup for "kasan: fix hwasan build for gcc"] Link: https://lkml.kernel.org/r/YHQZVfVVLE/[email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by:
Arnd Bergmann <[email protected]> Signed-off-by:
Marco Elver <[email protected]> Reviewed-by:
Marco Elver <[email protected]> Acked-by:
Andrey Konovalov <[email protected]> Cc: Masahiro Yamada <[email protected]> Cc: Michal Marek <[email protected]> Cc: Andrey Ryabinin <[email protected]> Cc: Nathan Chancellor <[email protected]> Cc: Nick Desaulniers <[email protected]> Cc: Alexander Potapenko <[email protected]> Cc: Dmitry Vyukov <[email protected]> Signed-off-by:
Andrew Morton <[email protected]> Signed-off-by:
Linus Torvalds <[email protected]> Signed-off-by:
Sasha Levin <[email protected]>
393200a1
Loading