diff options
author | Jiasheng Jiang <[email protected]> | 2022-01-11 09:12:39 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2022-02-15 11:00:13 +0530 |
commit | da2ad87fba0891576aadda9161b8505fde81a84d (patch) | |
tree | d18cd5b2ca7595931340971cb1aaacde4bd0ac96 /lib/crypto/mpi | |
parent | e831c7aba950f3ae94002b10321279654525e5ec (diff) |
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 <[email protected]>
Signed-off-by: Jiasheng Jiang <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/crypto/mpi')
0 files changed, 0 insertions, 0 deletions