Re: [PATCH] powerpc/ps3: use dma_mapping_error()

From: Geoff Levand
Date: Sun Dec 13 2020 - 14:40:05 EST


On 12/13/20 10:26 AM, Vincent Stehlé wrote:
> The DMA address returned by dma_map_single() should be checked with
> dma_mapping_error(). Fix the ps3stor_setup() function accordingly.
>
> Fixes: 80071802cb9c ("[POWERPC] PS3: Storage Driver Core")
> Signed-off-by: Vincent Stehlé <vincent.stehle@xxxxxxxxxxx>
> Cc: Geoff Levand <geoff@xxxxxxxxxxxxx>
> Cc: Geert Uytterhoeven <Geert.Uytterhoeven@xxxxxxxxxxx>
> ---
> drivers/ps3/ps3stor_lib.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Looks good. Thanks for submitting.

Acked by: Geoff Levand <geoff@xxxxxxxxxxxxx>