]> git.karo-electronics.de Git - linux-beck.git/commit
usb: gadget: zero: Fix warning generated by kbuild
authorAmit Virdi <amit.virdi@st.com>
Tue, 9 Sep 2014 06:27:37 +0000 (11:57 +0530)
committerFelipe Balbi <balbi@ti.com>
Tue, 9 Sep 2014 14:46:58 +0000 (09:46 -0500)
commit70aacc5777d1f1ca0a88067c9121ce86441bc4e0
tree19bca28d8c82b49af93b8427585342c760282bd2
parentf7cc38b16e2741186253be3dff61a9d124112126
usb: gadget: zero: Fix warning generated by kbuild

The kbuild test bot generated the warning:
drivers/usb/gadget/function/f_sourcesink.c:1498: warning: comparison is
always false due to limited range of data type

This patch fixes it.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Amit Virdi <amit.virdi@st.com>
CC: Felipe Balbi <balbi@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/f_sourcesink.c