diff options
| author | Linus Walleij <linus.walleij@linaro.org> | 2023-03-24 11:17:48 +0100 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2023-05-29 11:27:08 +0200 |
| commit | 1db3af8ed8f7cfe01ff27af3d42b6c658e18ad50 (patch) | |
| tree | dd6f5a590b717ce1f2ac7bae1bbe71461e7af155 /drivers/net/xen-netback/netback.c | |
| parent | riscv: mm: init: Pass a pointer to virt_to_page() (diff) | |
| download | linux-1db3af8ed8f7cfe01ff27af3d42b6c658e18ad50.tar.gz linux-1db3af8ed8f7cfe01ff27af3d42b6c658e18ad50.zip | |
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>
Diffstat (limited to 'drivers/net/xen-netback/netback.c')
0 files changed, 0 insertions, 0 deletions
