Christoph Hellwig 645386dfe6 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: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
2019-02-01 09:56:38 +01:00
..
2018-12-25 13:11:30 -08:00
2019-01-23 11:18:00 -08:00
2018-12-28 14:57:10 -08:00
2018-12-31 17:32:35 -08:00
2019-01-18 15:17:17 +01:00