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>
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| uio_aec.c | ||
| uio_cif.c | ||
| uio_dfl.c | ||
| uio_dmem_genirq.c | ||
| uio_fsl_elbc_gpcm.c | ||
| uio_hv_generic.c | ||
| uio_mf624.c | ||
| uio_netx.c | ||
| uio_pci_generic.c | ||
| uio_pdrv_genirq.c | ||
| uio_pruss.c | ||
| uio_sercos3.c | ||
| uio.c | ||