Re: [PATCH v1 01/19] mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg
From: Dan Carpenter
Date: Mon Aug 22 2022 - 01:08:05 EST
On Fri, Aug 19, 2022 at 08:07:43AM +0200, Jack Wang wrote:
> dma_map_sg return 0 on error, fix the error check, and return -EIO
> to caller.
>
> Cc: Jassi Brar <jassisinghbrar@xxxxxxxxx>
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Signed-off-by: Jack Wang <jinpu.wang@xxxxxxxxx>
This needs a Fixes tag.
Fixes: dbc049eee730 ("mailbox: Add driver for Broadcom FlexRM ring manager")
regards,
dan carpenter