[PATCH] dmaengine: bcm2835-dma: Add check for dma_set_max_seg_size

Christoph Hellwig hch at infradead.org
Sun Apr 28 21:37:16 PDT 2024


On Mon, Apr 29, 2024 at 12:13:12PM +0800, Chen Ni wrote:
> Add check for the return value of dma_set_max_seg_size() and return
> the error if it fails in order to catch the error.

Ok. this looks like you're looking t all dma_set_max_seg_size callers?
If so mybe just work on removing the return value instead..




More information about the linux-arm-kernel mailing list