kasan: add missing functions declarations to kasan.h
authorAndrey Konovalov <andreyknvl@google.com>
Thu, 14 May 2020 00:50:54 +0000 (17:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 14 May 2020 17:00:35 +0000 (10:00 -0700)
commit13cf04880235cd70d408d70426ada31408ded2ee
treefc50fe17bd749ce7d13cb6022cd659c4ad95ce45
parent8a16c09edc58982d56c49ab577fdcdf830fbc3a5
kasan: add missing functions declarations to kasan.h

KASAN is currently missing declarations for __asan_report* and __hwasan*
functions.  This can lead to compiler warnings.

Reported-by: Leon Romanovsky <leon@kernel.org>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Leon Romanovsky <leon@kernel.org>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Link: http://lkml.kernel.org/r/45b445a76a79208918f0cc44bfabebaea909b54d.1589297433.git.andreyknvl@google.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/kasan/kasan.h