diff options
author | Marco Elver <elver@google.com> | 2020-05-21 16:20:47 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-06-11 20:04:04 +0200 |
commit | 1f44328ea24c9de368a3cfe5cc0e110b949afb2e (patch) | |
tree | fbff59d7bd64b33183ed074567d35bf54133c9a2 /net/ax25/ax25_std_in.c | |
parent | eb73876c74313231c35cee6310f8ad62c56fa2b3 (diff) |
compiler_types.h, kasan: Use __SANITIZE_ADDRESS__ instead of CONFIG_KASAN to decide inlining
Use __always_inline in compilation units that have instrumentation
disabled (KASAN_SANITIZE_foo.o := n) for KASAN, like it is done for
KCSAN.
Also, add common documentation for KASAN and KCSAN explaining the
attribute.
[ bp: Massage commit message. ]
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lkml.kernel.org/r/20200521142047.169334-12-elver@google.com
Diffstat (limited to 'net/ax25/ax25_std_in.c')
0 files changed, 0 insertions, 0 deletions