cifs: Pass a pointer to virt_to_page() in cifsglob
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 31 Mar 2023 12:28:11 +0000 (14:28 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 29 May 2023 09:27:08 +0000 (11:27 +0200)
commit605a97e8398af21ba8ea6e6f3ffe069e09e24277
tree066ab364627037afc606d986f0a35a6f88c362e5
parent1db3af8ed8f7cfe01ff27af3d42b6c658e18ad50
cifs: Pass a pointer to virt_to_page() in cifsglob

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/cifsglob.h