netfs: Pass a pointer to virt_to_page()
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 24 Mar 2023 10:22:54 +0000 (11:22 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 29 May 2023 09:27:08 +0000 (11:27 +0200)
commitee5971613da37b92ceb5cadfe878074eabcd5deb
tree9bdd2c648c8f689e1ad20030df8e0674675cfe6d
parent605a97e8398af21ba8ea6e6f3ffe069e09e24277
netfs: Pass a pointer to virt_to_page()

Like the other calls in this function virt_to_page() expects
a pointer, not an integer.

However since many architectures implement virt_to_pfn() as
a macro, this function becomes polymorphic and accepts both a
(unsigned long) and a (void *).

Fix this up with an explicit cast.

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