cifs: Pass a pointer to virt_to_page()
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 24 Mar 2023 10:17:48 +0000 (11:17 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 29 May 2023 09:27:08 +0000 (11:27 +0200)
commit1db3af8ed8f7cfe01ff27af3d42b6c658e18ad50
treedd6f5a590b717ce1f2ac7bae1bbe71461e7af155
parenta7d270d71aca0ea3cfe3973770ed40206f603475
cifs: 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.

Acked-by: Tom Talpey <tom@talpey.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
fs/cifs/smbdirect.c