The patch titled Subject: kasan-add-no_sanitize-attribute-for-clang-builds-v2 has been added to the -mm tree. Its filename is kasan-add-no_sanitize-attribute-for-clang-builds-v2.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/kasan-add-no_sanitize-attribute-for-clang-builds-v2.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/kasan-add-no_sanitize-attribute-for-clang-builds-v2.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrey Konovalov <andreyknvl@xxxxxxxxxx> Subject: kasan-add-no_sanitize-attribute-for-clang-builds-v2 remove redundant #ifdef CONFIG_KASAN check Link: http://lkml.kernel.org/r/c79aa31a2a2790f6131ed607c58b0dd45dd62a6c.1523967959.git.andreyknvl@xxxxxxxxxx Signed-off-by: Andrey Konovalov <andreyknvl@xxxxxxxxxx> Cc: Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/compiler-clang.h | 2 -- 1 file changed, 2 deletions(-) diff -puN include/linux/compiler-clang.h~kasan-add-no_sanitize-attribute-for-clang-builds-v2 include/linux/compiler-clang.h --- a/include/linux/compiler-clang.h~kasan-add-no_sanitize-attribute-for-clang-builds-v2 +++ a/include/linux/compiler-clang.h @@ -25,10 +25,8 @@ #define __SANITIZE_ADDRESS__ #endif -#ifdef CONFIG_KASAN #undef __no_sanitize_address #define __no_sanitize_address __attribute__((no_sanitize("address"))) -#endif /* Clang doesn't have a way to turn it off per-function, yet. */ #ifdef __noretpoline _ Patches currently in -mm which might be from andreyknvl@xxxxxxxxxx are kasan-add-no_sanitize-attribute-for-clang-builds.patch kasan-add-no_sanitize-attribute-for-clang-builds-v2.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html