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()
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]
- Loading branch information