Re: [patch-v3.10.38 backport] usb: musb: avoid NULL pointer dereference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 05, 2014 at 02:18:40PM -0700, Greg KH wrote:
> On Mon, May 05, 2014 at 03:56:36PM -0500, Felipe Balbi wrote:
> > commit eee3f15d5f1f4f0c283dd4db67dc1b874a2852d1 upstream.
> > 
> > instead of relying on the otg pointer, which
> > can be NULL in certain cases, we can use the
> > gadget and host pointers we already hold inside
> > struct musb.
> > 
> > Cc: <stable@xxxxxxxxxxxxxxx>
> > Tested-by: Tony Lindgren <tony@xxxxxxxxxxx>
> > Signed-off-by: Felipe Balbi <balbi@xxxxxx>
> > ---
> > 
> > Hi,
> > 
> > here's a git cherry-pick of original commit down to v3.10.38.
> > 
> > It applied cleanly, no complaints from git :-s
> 
> Applying isn't the issue, building is :(

hmm... I built it here with omap2plus_defconfig and allmodconfig... let
me check again...

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]