path: root/lib/Kconfig.kasan
diff options
authorArnd Bergmann <>2021-04-16 15:45:57 -0700
committerLinus Torvalds <>2021-04-16 16:10:36 -0700
commit5c595ac4c776c44b5c59de22ab43b3fe256d9fbb (patch)
tree74b365db8f703503d42bb225cbe828693cbabcf0 /lib/Kconfig.kasan
parent845be1cd34464620861b457b808e5fb2115d06b0 (diff)
kasan: fix hwasan build for gcc
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. [ fixup for "kasan: fix hwasan build for gcc"] Link: Link: Signed-off-by: Arnd Bergmann <> Signed-off-by: Marco Elver <> Reviewed-by: Marco Elver <> Acked-by: Andrey Konovalov <> Cc: Masahiro Yamada <> Cc: Michal Marek <> Cc: Andrey Ryabinin <> Cc: Nathan Chancellor <> Cc: Nick Desaulniers <> Cc: Alexander Potapenko <> Cc: Dmitry Vyukov <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'lib/Kconfig.kasan')
0 files changed, 0 insertions, 0 deletions