diff options
author | Vincent Stehlé <vincent.stehle@laposte.net> | 2020-12-13 21:26:22 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-30 13:26:04 +0300 |
commit | 6bbf191f7403d819d4a3887d428241800b25acd3 (patch) | |
tree | 26f5a2fa1c6a47aa6a10f797ecff880841239cbd /scripts/checkpatch.pl | |
parent | 58263198150ff69deb5d54c0d120b10c4ebfebc6 (diff) | |
download | linux-6bbf191f7403d819d4a3887d428241800b25acd3.tar.xz |
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: 80071802cb9c ("[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>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions