Re: [PATCH] usb: gadget: net2272: fix sparse warnings

2013-03-21 Thread Alan Stern
On Thu, 21 Mar 2013, Felipe Balbi wrote: > > I don't know what was intended here. The most likely possibility is > > that the right shift was just a mistake, in which case your fix is the > > right one. > > should we push it ? Would be awesome if someone from PLX could provide > HW and documenta

Re: [PATCH] usb: gadget: net2272: fix sparse warnings

2013-03-21 Thread Felipe Balbi
On Thu, Mar 21, 2013 at 10:59:47AM -0400, Alan Stern wrote: > On Thu, 21 Mar 2013, Felipe Balbi wrote: > > > Fix the following sparse warnings: > > > > drivers/usb/gadget/net2272.c:916:13: warning: Using plain integer as NULL > > pointer > > drivers/usb/gadget/net2272.c:1624:9: warning: Using pl

Re: [PATCH] usb: gadget: net2272: fix sparse warnings

2013-03-21 Thread Alan Stern
On Thu, 21 Mar 2013, Felipe Balbi wrote: > Fix the following sparse warnings: > > drivers/usb/gadget/net2272.c:916:13: warning: Using plain integer as NULL > pointer > drivers/usb/gadget/net2272.c:1624:9: warning: Using plain integer as NULL > pointer > drivers/usb/gadget/net2272.c:1552:30: war