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

2013-04-25 Thread Linus Walleij
On Wed, Apr 24, 2013 at 5:04 PM, Lee Jones 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

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

2013-04-24 Thread Lee Jones
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 Cc: linux-usb@vger.kernel