diff options
author | 2024-07-19 06:10:24 +0200 | |
---|---|---|
committer | 2024-08-29 07:22:36 +0300 | |
commit | c42a01264ba1497eb3193c08ff3c2656d98250a6 (patch) | |
tree | d6cfae6000540ffa1c53db3a8f9fa1e5d8996710 /scripts/generate_rust_analyzer.py | |
parent | scsi: check that busses support the DMA API before setting dma parameters (diff) | |
download | linux-rng-c42a01264ba1497eb3193c08ff3c2656d98250a6.tar.xz linux-rng-c42a01264ba1497eb3193c08ff3c2656d98250a6.zip |
dma-mapping: don't return errors from dma_set_min_align_mask
A NULL dev->dma_parms indicates either a bus that is not DMA capable or
grave bug in the implementation of the bus code.
There isn't much the driver can do in terms of error handling for either
case, so just warn and continue as DMA operations will fail anyway.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions