Messages in this thread | | | From | Geert Uytterhoeven <> | Date | Tue, 11 Jan 2022 10:42:41 +0100 | Subject | Re: [PATCH] dmaengine: sh: rcar-dmac: Check for error num after dma_set_max_seg_size |
| |
On Tue, Jan 11, 2022 at 2:12 AM Jiasheng Jiang <jiasheng@iscas.ac.cn> wrote: > 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>
Gr{oetje,eeting}s,
Geert
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
| |