mirror of
https://github.com/torvalds/linux.git
synced 2026-02-04 15:28:49 +08:00
When map_single() is unable to obtain a safe buffer, we must return the dma_addr_t error value, which is ~0 rather than 0. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>