diff options
author | Qian Cai <[email protected]> | 2019-03-28 20:43:15 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-03-29 10:01:36 -0700 |
commit | c412a769d2452161e97f163c4c4f31efc6626f06 (patch) | |
tree | 258f71b50b8027f46c3e1f1c6247938c00e98883 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8c7ae38d1ce12a0eaeba655df8562552b3596c7f (diff) |
kasan: fix variable 'tag' set but not used warning
set_tag() compiles away when CONFIG_KASAN_SW_TAGS=n, so make
arch_kasan_set_tag() a static inline function to fix warnings below.
mm/kasan/common.c: In function '__kasan_kmalloc':
mm/kasan/common.c:475:5: warning: variable 'tag' set but not used [-Wunused-but-set-variable]
u8 tag;
^~~
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Qian Cai <[email protected]>
Reviewed-by: Andrey Konovalov <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions