csky: Cast argument to virt_to_pfn() to (void *)
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 10 Aug 2023 07:40:30 +0000 (09:40 +0200)
committerGuo Ren <guoren@linux.alibaba.com>
Fri, 11 Aug 2023 02:12:33 +0000 (22:12 -0400)
commitee12fe28ae0e768af776c8e0247e83e59e5c4525
tree722d15ed00c0326df74650ee41eaba8a2aa09b9e
parent1362d15ffb59db65b2df354b548b7915686cb05c
csky: Cast argument to virt_to_pfn() to (void *)

The virt_to_pfn() function takes a (void *) as argument, fix
this up to avoid exploiting the unintended polymorphism of
virt_to_pfn.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
arch/arc/include/asm/page.h