Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 8007180 ("[POWERPC] PS3: Storage Driver Core") Signed-off-by: Vincent Stehlé <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information