From: Kees Cook Date: Tue, 8 Feb 2022 22:53:43 +0000 (-0800) Subject: fortify: Replace open-coded __gnu_inline attribute X-Git-Tag: v5.18-rc1~100^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f361143141362485b39eb40bb4910e3f4219180f;p=thirdparty%2Flinux.git fortify: Replace open-coded __gnu_inline attribute Replace open-coded gnu_inline attribute with the normal kernel convention for attributes: __gnu_inline Signed-off-by: Kees Cook Reviewed-by: Nick Desaulniers Link: https://lore.kernel.org/r/20220208225350.1331628-2-keescook@chromium.org --- diff --git a/include/linux/fortify-string.h b/include/linux/fortify-string.h index 53123712bb3b3..439aad24ab3bd 100644 --- a/include/linux/fortify-string.h +++ b/include/linux/fortify-string.h @@ -2,7 +2,7 @@ #ifndef _LINUX_FORTIFY_STRING_H_ #define _LINUX_FORTIFY_STRING_H_ -#define __FORTIFY_INLINE extern __always_inline __attribute__((gnu_inline)) +#define __FORTIFY_INLINE extern __always_inline __gnu_inline #define __RENAME(x) __asm__(#x) void fortify_panic(const char *name) __noreturn __cold;