diff options
author | 2022-01-11 09:12:39 +0800 | |
---|---|---|
committer | 2022-02-15 11:00:13 +0530 | |
commit | da2ad87fba0891576aadda9161b8505fde81a84d (patch) | |
tree | d18cd5b2ca7595931340971cb1aaacde4bd0ac96 /lib/mpi/mpiutil.c | |
parent | dmaengine: stm32-dmamux: Fix PM disable depth imbalance in stm32_dmamux_probe (diff) | |
download | wireguard-linux-da2ad87fba0891576aadda9161b8505fde81a84d.tar.xz wireguard-linux-da2ad87fba0891576aadda9161b8505fde81a84d.zip |
dmaengine: sh: rcar-dmac: Check for error num after dma_set_max_seg_size
As the possible failure of the dma_set_max_seg_size(), it should be
better to check the return value of the dma_set_max_seg_size().
Fixes: 97d49c59e219 ("dmaengine: rcar-dmac: set scatter/gather max segment size")
Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20220111011239.452837-1-jiasheng@iscas.ac.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions