diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-05-09 16:57:20 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-09 16:25:19 -0700 |
commit | fb646a4cd3f0ff27d19911bef7b6622263723df6 (patch) | |
tree | 1edb300e9df5d6fdd317de7f3a2bb6f3fcb53f34 /arch/arm64/kernel/traps.c | |
parent | 124abced647306aa3badb5d472c3616de23f180a (diff) | |
download | linux-fb646a4cd3f0ff27d19911bef7b6622263723df6.tar.gz linux-fb646a4cd3f0ff27d19911bef7b6622263723df6.tar.bz2 linux-fb646a4cd3f0ff27d19911bef7b6622263723df6.zip |
kasan: add kasan_tag_mismatch prototype
The kasan sw-tags implementation contains one function that is only called
from assembler and has no prototype in a header. This causes a W=1
warning:
mm/kasan/sw_tags.c:171:6: warning: no previous prototype for 'kasan_tag_mismatch' [-Wmissing-prototypes]
171 | void kasan_tag_mismatch(unsigned long addr, unsigned long access_info,
Add a prototype in the local header to get a clean build.
Link: https://lkml.kernel.org/r/20230509145735.9263-1-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Konovalov <andreyknvl@gmail.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Marco Elver <elver@google.com>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch/arm64/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions