diff options
| author | Linus Walleij <linus.walleij@linaro.org> | 2023-03-24 13:22:54 +0300 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2023-05-29 12:27:08 +0300 |
| commit | ee5971613da37b92ceb5cadfe878074eabcd5deb (patch) | |
| tree | 9bdd2c648c8f689e1ad20030df8e0674675cfe6d /net/unix/sysctl_net_unix.c | |
| parent | 605a97e8398af21ba8ea6e6f3ffe069e09e24277 (diff) | |
| download | linux-ee5971613da37b92ceb5cadfe878074eabcd5deb.tar.xz | |
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>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
