summary refs log tree commit diff
path: root/security/security.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-06-11 15:51:56 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2017-06-11 15:51:56 -0700
commit6d53cefb18e4646fb4bf62ccb6098fb3808486df (patch)
tree6e0db894dc3861cb6119a3a22d3add8f692f75ec /security/security.c
parent5ad9345d2321eb1442794098506d136d01cf8345 (diff)
downloadlinux-6d53cefb18e4646fb4bf62ccb6098fb3808486df.tar.gz
compiler, clang: properly override 'inline' for clang
Commit abb2ea7dfd82 ("compiler, clang: suppress warning for unused
static inline functions") just caused more warnings due to re-defining
the 'inline' macro.

So undef it before re-defining it, and also add the 'notrace' attribute
like the gcc version that this is overriding does.

Maybe this makes clang happier.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions