From: Felipe Balbi Date: Thu, 21 Mar 2013 10:19:31 +0000 (+0200) Subject: usb: gadget: net2272: fix sparse warnings X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~135^2~63^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69147121abf569bf3655a2000c6511f1f016d9f8;p=pandora-kernel.git 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 --- Reading git-diff-tree failed