]> git.baikalelectronics.ru Git - kernel.git/commit
kasan: make kasan_addr_to_page static
authorAndrey Konovalov <andreyknvl@google.com>
Mon, 5 Sep 2022 21:05:39 +0000 (23:05 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:03:00 +0000 (14:03 -0700)
commit206b3c6e8cb73b699f8bca9b10fa6317f0f2630e
tree61285ebe9ee4cb8f779ea4cd8f862d1e48a81e66
parenta43a0b3d52b49f149008011ff8e219c6bb9a76ab
kasan: make kasan_addr_to_page static

As kasan_addr_to_page() is only used in report.c, rename it to
addr_to_page() and make it static.

Link: https://lkml.kernel.org/r/66c1267200fe0c16e2ac8847a9315fda041918cb.1662411799.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Reviewed-by: Marco Elver <elver@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Evgenii Stepanov <eugenis@google.com>
Cc: Peter Collingbourne <pcc@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/kasan/kasan.h
mm/kasan/report.c