]> git.baikalelectronics.ru Git - kernel.git/commit
mm: kasan: fix input of vmalloc_to_page()
authorKefeng Wang <wangkefeng.wang@huawei.com>
Wed, 25 May 2022 12:08:04 +0000 (20:08 +0800)
committerakpm <akpm@linux-foundation.org>
Fri, 27 May 2022 16:33:46 +0000 (09:33 -0700)
commitfbf4df0699926cf620b2f722ddc213826e248962
treec5916ac0b6e43553db1fa02a49725e29bd85cc58
parent1c563432588dbffa71e67ca6e37c826f9fa86e04
mm: kasan: fix input of vmalloc_to_page()

When print virtual mapping info for vmalloc address, it should pass
the addr not page, fix it.

Link: https://lkml.kernel.org/r/20220525120804.38155-1-wangkefeng.wang@huawei.com
Fixes: c056a364e954 ("kasan: print virtual mapping info in reports")
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Andrey Konovalov <andreyknvl@gmail.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/kasan/report.c