diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2023-03-24 13:17:48 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-05-29 12:27:08 +0300 |
commit | 1db3af8ed8f7cfe01ff27af3d42b6c658e18ad50 (patch) | |
tree | dd6f5a590b717ce1f2ac7bae1bbe71461e7af155 /scripts/gdb/linux/vmalloc.py | |
parent | a7d270d71aca0ea3cfe3973770ed40206f603475 (diff) | |
download | linux-1db3af8ed8f7cfe01ff27af3d42b6c658e18ad50.tar.xz |
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 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions