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

2020-12-21 Thread Michael Ellerman
On Sun, 13 Dec 2020 19:26:22 +0100, Vincent Stehlé wrote: > The DMA address returned by dma_map_single() should be checked with > dma_mapping_error(). Fix the ps3stor_setup() function accordingly. Applied to powerpc/next. [1/1] powerpc/ps3: use dma_mapping_error() https://git.kernel.org/po

[PATCH] powerpc/ps3: use dma_mapping_error()

2020-12-13 Thread Vincent Stehlé
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é Cc: Geoff Levand Cc: Geert Uytterhoeven --- drivers/ps3/ps3stor_lib.c

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

2020-12-13 Thread Geert Uytterhoeven
On Sun, Dec 13, 2020 at 8:06 PM 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é Reviewed

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

2020-12-13 Thread Geoff Levand
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é > Cc: Geoff Levand