diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2023-05-10 08:48:11 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2023-05-16 14:53:36 +0100 |
commit | b0abde80620f42d1ceb3de5e4c1a49cdd5628229 (patch) | |
tree | 77aa608a0eb858fa981192d4a0c2a7e21a0749bd /scripts/gdb/linux/proc.py | |
parent | d91d580878064b880f3574ac35b98d8b70ee8620 (diff) |
arm64: vdso: Pass (void *) 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>
Link: http://lists.infradead.org/pipermail/linux-arm-kernel/2023-May/832583.html
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions