summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-lm3530.c
diff options
context:
space:
mode:
authorVincent Stehlé <vincent.stehle@laposte.net>2020-12-13 19:26:22 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2020-12-15 12:50:12 +0100
commitd0edaa28a1f7830997131cbce87b6c52472825d1 (patch)
tree4dbd378e0e0d9df54885a95f1179e1da7fc7aa46 /drivers/leds/leds-lm3530.c
parentpowerpc: force inlining of csum_partial() to avoid multiple csum_partial() wi... (diff)
downloadlinux-d0edaa28a1f7830997131cbce87b6c52472825d1.tar.xz
linux-d0edaa28a1f7830997131cbce87b6c52472825d1.zip
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: 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
Diffstat (limited to 'drivers/leds/leds-lm3530.c')
0 files changed, 0 insertions, 0 deletions