Messages in this thread | | | Subject | Re: [PATCH] powerpc/ps3: use dma_mapping_error() | From | Geoff Levand <> | Date | Sun, 13 Dec 2020 11:38:31 -0800 |
| |
On 12/13/20 10:26 AM, Vincent Stehlé wrote: > 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> > Cc: Geoff Levand <geoff@infradead.org> > Cc: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> > --- > drivers/ps3/ps3stor_lib.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Looks good. Thanks for submitting.
Acked by: Geoff Levand <geoff@infradead.org>
| |