linux-stable/drivers/ps3
Vincent Stehlé 6735f1af7d powerpc/ps3: use dma_mapping_error()
[ Upstream commit d0edaa28a1 ]

The DMA address returned by dma_map_single() should be checked with
dma_mapping_error(). Fix the ps3stor_setup() function accordingly.

Fixes: 80071802cb ("[POWERPC] PS3: Storage Driver Core")
Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201213182622.23047-1-vincent.stehle@laposte.net
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-29 13:45:00 +01:00
..
Makefile
ps3-lpm.c
ps3-sys-manager.c
ps3-vuart.c powerpc: Remove all usages of NO_IRQ 2016-09-20 20:57:12 +10:00
ps3av.c
ps3av_cmd.c
ps3stor_lib.c powerpc/ps3: use dma_mapping_error() 2020-12-29 13:45:00 +01:00
sys-manager-core.c
vuart.h