Skip to content
Commit 01f461a3 authored by Catalin Marinas's avatar Catalin Marinas Committed by Russell King
Browse files

ARM: 7058/1: LPAE: Cast the dma_addr_t argument to unsigned long in dma_to_virt



This is to avoid a compiler warning when invoking the __bus_to_virt()
macro. The dma_to_virt() function gets addresses within the 32-bit
range.

Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent fcb8ce5c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment