[PATCH 04/10 v2] usb: musb: ux500: harden checks for platform data

Linus Walleij linus.walleij at linaro.org
Thu Apr 25 09:06:06 EDT 2013


On Wed, Apr 24, 2013 at 5:04 PM, 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
> Signed-off-by: Lee Jones <lee.jones at linaro.org>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list