Files
linux/arch/arc/mm
Linus Walleij c809202549 ARC: init: Pass a pointer to virt_to_pfn() in init
Functions that work on a pointer to virtual memory such as
virt_to_pfn() and users of that function such as
virt_to_page() are supposed to pass a pointer to virtual
memory, ideally a (void *) or other pointer. 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 up the offending call in arch/arc with an explicit cast.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2023-05-29 11:27:07 +02:00
..
2022-10-17 16:32:11 -07:00
2021-12-28 19:48:49 -08:00
2022-10-17 16:32:12 -07:00
2021-08-26 13:43:19 -07:00