linux/drivers/ps3
Vincent Stehlé d0edaa28a1 powerpc/ps3: use dma_mapping_error()
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
2020-12-15 22:50:12 +11:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
ps3-lpm.c powerpc/ps3: make system bus's remove and shutdown callbacks return void 2020-12-04 01:01:22 +11:00
ps3-sys-manager.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 167 2019-05-30 11:26:39 -07:00
ps3-vuart.c powerpc/ps3: make system bus's remove and shutdown callbacks return void 2020-12-04 01:01:22 +11: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-15 22:50:12 +11:00
sys-manager-core.c powerpc/ps3: Remove an unneeded NULL check 2020-04-03 00:09:59 +11:00
vuart.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 167 2019-05-30 11:26:39 -07:00