Linus Walleij bdd97c99b3 arm64: vdso: Pass (void *) to virt_to_page()
[ Upstream commit b0abde80620f42d1ceb3de5e4c1a49cdd5628229 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-09 10:34:14 +02:00
..
2022-10-06 11:51:49 -07:00
2022-07-01 12:07:43 +01:00
2022-06-27 12:22:31 +01:00
2022-10-06 11:51:49 -07:00
2022-10-06 11:51:49 -07:00
2022-10-09 08:56:54 -07:00
2022-09-26 10:13:14 -07:00
2022-10-10 12:00:45 -07:00
2022-01-12 16:26:58 -08:00
2022-09-26 10:13:14 -07:00
2022-07-20 16:08:10 +01:00
2022-09-26 10:13:14 -07:00
2022-10-06 11:51:49 -07:00