[PATCH 23/39] usb: musb: ux500: harden checks for platform data

Linus Walleij linus.walleij at linaro.org
Thu May 30 04:34:00 EDT 2013


On Wed, May 15, 2013 at 11:51 AM, Lee Jones <lee.jones at linaro.org> wrote:

> In its current state, the ux500-musb driver uses platform data pointers
> blindly with no prior checking. If no platform data pointer is passed
> this will Oops the kernel. In this patch we ensure platform data and
> board data are present prior to using them.
>
> Cc: Felipe Balbi <balbi at ti.com>
> Cc: linux-usb at vger.kernel.org
> Acked-by: Fabio Baltieri <fabio.baltieri at linaro.org>
> Signed-off-by: Lee Jones <lee.jones at linaro.org>

Tentatively applied with Felipe's ACK.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list