commit | 69147121abf569bf3655a2000c6511f1f016d9f8 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <balbi@ti.com> | Thu Mar 21 12:19:31 2013 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Wed Mar 27 13:18:57 2013 +0200 |
tree | 36d1bf35b9dc0a2ca7399da7984ed99e27aac572 | |
parent | 60630c2eabd40fb119a1b88af364003d2915b370 [diff] |
usb: gadget: net2272: fix sparse warnings 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: warning: right shift by bigger than source value Note that the last warning is an actual bug, since ep->dma is a one bit value which is shifted by one bit in code. Signed-off-by: Felipe Balbi <balbi@ti.com>