diff options
author | Christoph Hellwig <hch@lst.de> | 2019-01-04 17:17:53 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-02-01 09:56:38 +0100 |
commit | 645386dfe6307dbb28f10a4513792a59beda0efa (patch) | |
tree | 32166531d281cf857a6bb73a22b0cb4c0e0c12d1 /kernel/dma/debug.c | |
parent | cfced786969c2a3e1bca45d7055a00311d93ae6c (diff) | |
download | linux-645386dfe6307dbb28f10a4513792a59beda0efa.tar.bz2 |
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>
Diffstat (limited to 'kernel/dma/debug.c')
0 files changed, 0 insertions, 0 deletions