ARM: 9240/1: dma-mapping: Pass (void *) to virt_to_page()
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 31 Aug 2022 12:28:02 +0000 (13:28 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 4 Oct 2022 10:09:48 +0000 (11:09 +0100)
commit8770b9e575ce5727b4f95b6bcb086247dcce4eb3
tree9d911b31cfdd59cd707a7916c717dcd9a6639771
parent752ec621ef5c30777958cc5eb5f1cf394f7733f4
ARM: 9240/1: dma-mapping: Pass (void *) to virt_to_page()

Pointers to virtual memory functions are (void *) but the
__dma_update_pte() function is passing an unsigned long.
Fix this up by explicit cast.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/mm/dma-mapping.c