diff options
author | Christoph Hellwig <hch@lst.de> | 2021-06-23 16:00:04 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-08-18 16:24:10 +0200 |
commit | a6933571f34a9aee843fff2aa4b96949c57d6274 (patch) | |
tree | f78a642c481a942ab057e80a306966394a6e6f4a /kernel/audit_tree.c | |
parent | 70d6aa0ecfed253a2b14659a6c77359af6d9b3ee (diff) | |
download | linux-a6933571f34a9aee843fff2aa4b96949c57d6274.tar.gz |
dma-mapping: simplify dma_init_coherent_memory
Return the allocated dma_coherent_mem structure, set the
use_dma_pfn_offset and print the failure warning inside of
dma_init_coherent_memory instead of leaving that to the callers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Dillon Min <dillon.minfei@gmail.com>
Diffstat (limited to 'kernel/audit_tree.c')
0 files changed, 0 insertions, 0 deletions