kernel_optimize_test/drivers/ps3
Vincent Stehlé 280f29c6ba powerpc/ps3: use dma_mapping_error()
[ Upstream commit d0edaa28a1f7830997131cbce87b6c52472825d1 ]

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-30 11:53:53 +01:00
..
Makefile
ps3-lpm.c drivers/ps3: Remove duplicate error messages 2020-05-19 00:10:35 +10:00
ps3-sys-manager.c
ps3-vuart.c drivers/ps3: Remove duplicate error messages 2020-05-19 00:10:35 +10:00
ps3av_cmd.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
ps3av.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
ps3stor_lib.c powerpc/ps3: use dma_mapping_error() 2020-12-30 11:53:53 +01:00
sys-manager-core.c powerpc/ps3: Remove an unneeded NULL check 2020-04-03 00:09:59 +11:00
vuart.h