Skip to content
Commit 645386df authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

dma-mapping: don't BUG when calling dma_map_resource on RAM



Use WARN_ON_ONCE to print a stack trace and return a proper error
code instead.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarRobin Murphy <robin.murphy@arm.com>
Tested-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
parent cfced786
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