fs/proc/kcore.c: Pass a pointer to virt_addr_valid()
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 29 Aug 2022 13:08:04 +0000 (15:08 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 29 May 2023 09:27:07 +0000 (11:27 +0200)
commit9b2d38b4e4a4651ac6efc8ca1a1882c0d4f12937
tree742d8f31e815be3bbdbc2db9ef854261031fb552
parent44c026a73be8038f03dbdeef028b642880cf1511
fs/proc/kcore.c: Pass a pointer to virt_addr_valid()

The virt_addr_valid() should be passed a pointer, the current
code passing a long unsigned int is just exploiting the
unintentional polymorphism of these calls being implemented
as preprocessor macros.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
fs/proc/kcore.c