]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4d152bb6fa8bf120a937daa98ae58f2740edaa84
tree9d911b31cfdd59cd707a7916c717dcd9a6639771
parent075be36e39c4574256c578782a433701d982329c
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