diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2021-12-04 01:03:26 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-05 14:25:00 +0100 |
commit | eec91694f927d1026974444eb6a3adccd4f1cbc2 (patch) | |
tree | 8486945ad7fe5f4126d56c75a3ea5355e677e818 /drivers/misc/sram.c | |
parent | driver: soc: xilinx: register for power events in zynqmp power driver (diff) | |
download | linux-eec91694f927d1026974444eb6a3adccd4f1cbc2.tar.xz linux-eec91694f927d1026974444eb6a3adccd4f1cbc2.zip |
uio: uio_dmem_genirq: Catch the Exception
The return value of dma_set_coherent_mask() is not always 0.
To catch the exception in case that dma is not support the mask.
Fixes: 0a0c3b5a24bd ("Add new uio device for dynamic memory allocation")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20211204000326.1592687-1-jiasheng@iscas.ac.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/sram.c')
0 files changed, 0 insertions, 0 deletions