diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-12 16:09:26 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-12 16:09:26 -0700 |
commit | c3e46874dfb9a2ef08085bb147dc371e72738673 (patch) | |
tree | bef2b1c2aa18123cf30875fa2c4ae2a6ed413bc0 /include/linux/compiler-gcc.h | |
parent | d41adc4e22c62640fa7de93f713a3c5b3638ab2e (diff) | |
parent | b83a908498d68fafca931e1276e145b339cac5fb (diff) | |
download | linux-c3e46874dfb9a2ef08085bb147dc371e72738673.tar.gz linux-c3e46874dfb9a2ef08085bb147dc371e72738673.tar.bz2 linux-c3e46874dfb9a2ef08085bb147dc371e72738673.zip |
Merge tag 'compiler-attributes-for-linus-v5.15-rc1-v2' of git://github.com/ojeda/linux
Pull compiler attributes updates from Miguel Ojeda:
- Fix __has_attribute(__no_sanitize_coverage__) for GCC 4 (Marco Elver)
- Add Nick as Reviewer for compiler_attributes.h (Nick Desaulniers)
- Move __compiletime_{error|warning} (Nick Desaulniers)
* tag 'compiler-attributes-for-linus-v5.15-rc1-v2' of git://github.com/ojeda/linux:
compiler_attributes.h: move __compiletime_{error|warning}
MAINTAINERS: add Nick as Reviewer for compiler_attributes.h
Compiler Attributes: fix __has_attribute(__no_sanitize_coverage__) for GCC 4
Diffstat (limited to 'include/linux/compiler-gcc.h')
-rw-r--r-- | include/linux/compiler-gcc.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h index cb9217fc60af..21c36b69eb06 100644 --- a/include/linux/compiler-gcc.h +++ b/include/linux/compiler-gcc.h @@ -43,9 +43,6 @@ #define __compiletime_object_size(obj) __builtin_object_size(obj, 0) -#define __compiletime_warning(message) __attribute__((__warning__(message))) -#define __compiletime_error(message) __attribute__((__error__(message))) - #if defined(LATENT_ENTROPY_PLUGIN) && !defined(__CHECKER__) #define __latent_entropy __attribute__((latent_entropy)) #endif |