summaryrefslogtreecommitdiffstats
path: root/arch/riscv
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2022-06-03 11:01:05 +0200
committerLinus Walleij <linus.walleij@linaro.org>2023-05-29 11:27:07 +0200
commitc8092025495a17261525ce53feec7e261714c988 (patch)
treea894ae1bd7531648ed45324db9a159ada74b343c /arch/riscv
parent8f246087724a2f902a5deb2013f73b7516b2276e (diff)
downloadlinux-stable-c8092025495a17261525ce53feec7e261714c988.tar.gz
linux-stable-c8092025495a17261525ce53feec7e261714c988.tar.bz2
linux-stable-c8092025495a17261525ce53feec7e261714c988.zip
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>
Diffstat (limited to 'arch/riscv')
0 files changed, 0 insertions, 0 deletions