usb: musb: ux500_dma: fix potential NULL dereference error
authorLee Jones <lee.jones@linaro.org>
Fri, 13 Dec 2013 10:47:28 +0000 (10:47 +0000)
committerFelipe Balbi <balbi@ti.com>
Tue, 17 Dec 2013 19:17:42 +0000 (13:17 -0600)
commit086ed9a0bcca0201301b74a0c5160c04f2f38f8b
treeb13c5a8c3dbe7021330d92f732bc862b709fc0be
parent5056ee83e8e9b3b3eec895f8bb0804a802fb61d2
usb: musb: ux500_dma: fix potential NULL dereference error

static checker warning: "drivers/usb/musb/ux500_dma.c:335
ux500_dma_controller_start()
         error: potential NULL dereference 'param_array'."

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/ux500_dma.c