Skip to content

Commit f361143

Browse files
committed
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 <keescook@chromium.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Link: https://lore.kernel.org/r/20220208225350.1331628-2-keescook@chromium.org
1 parent 818ab43 commit f361143

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/fortify-string.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#ifndef _LINUX_FORTIFY_STRING_H_
33
#define _LINUX_FORTIFY_STRING_H_
44

5-
#define __FORTIFY_INLINE extern __always_inline __attribute__((gnu_inline))
5+
#define __FORTIFY_INLINE extern __always_inline __gnu_inline
66
#define __RENAME(x) __asm__(#x)
77

88
void fortify_panic(const char *name) __noreturn __cold;

0 commit comments

Comments
 (0)