Skip to contentSkip to conversation

compiler-gcc-be-consistent-with-underscores-use-for-no_sanitize.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Nov 9, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: compiler-gcc: be consistent with underscores use for no_sanitize
has been removed from the -mm tree. Its filename was
compiler-gcc-be-consistent-with-underscores-use-for-no_sanitize.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Miguel Ojeda <[email protected]>
Subject: compiler-gcc: be consistent with underscores use for no_sanitize
Date: Fri, 21 Oct 2022 13:59:52 +0200

Patch series "compiler-gcc: be consistent with underscores use for no_sanitize".

This patch (of 5):

Other macros that define shorthands for attributes in e.g. compiler_attributes.h and elsewhere use underscores.

Cc Marco Elver <[email protected]>
Cc Alexander Potapenko <[email protected]>
Cc Andrey Konovalov <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Dan Li <[email protected]>
Cc Kees Cook <[email protected]>
Cc Kumar Kartikeya Dwivedi <[email protected]>
Cc Nick Desaulniers <[email protected]>
Cc Uros Bizjak <[email protected]>

---

 include/linux/compiler-gcc.h |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
include/linux/compiler-gcc.h renamed from include/linux/compiler-gcc.h~compiler-gcc-be-consistent-with-underscores-use-for-no_sanitize +4 -4
@@ -83,25 +83,25 @@
 #endif
 
 #if __has_attribute(__no_sanitize_address__)
-#define __no_sanitize_address __attribute__((no_sanitize_address))
+#define __no_sanitize_address __attribute__((__no_sanitize_address__))
 #else
 #define __no_sanitize_address
 #endif
 
 #if defined(__SANITIZE_THREAD__) && __has_attribute(__no_sanitize_thread__)
-#define __no_sanitize_thread __attribute__((no_sanitize_thread))
+#define __no_sanitize_thread __attribute__((__no_sanitize_thread__))
 #else
 #define __no_sanitize_thread
 #endif
 
 #if __has_attribute(__no_sanitize_undefined__)
-#define __no_sanitize_undefined __attribute__((no_sanitize_undefined))
+#define __no_sanitize_undefined __attribute__((__no_sanitize_undefined__))
 #else
 #define __no_sanitize_undefined
 #endif
 
 #if defined(CONFIG_KCOV) && __has_attribute(__no_sanitize_coverage__)
-#define __no_sanitize_coverage __attribute__((no_sanitize_coverage))
+#define __no_sanitize_coverage __attribute__((__no_sanitize_coverage__))
 #else
 #define __no_sanitize_coverage
 #endif

_

Patches currently in -mm which might be from [email protected] are