On 9/8/2014 7:18 PM, Felipe Balbi wrote:
Hi,
On Mon, Sep 08, 2014 at 04:05:33PM +0530, Amit Virdi wrote:
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@xxxxxxxxx>
Signed-off-by: Amit Virdi <amit.virdi@xxxxxx>
CC: Felipe Balbi <balbi@xxxxxx>
did you *really* build test this patch ?
Yes, I did. This seems to be an issue with my compiler, otherwise I
wouldn't have required to send this patch altogether.
I have build tested the patch on the following two compilers, yet I
didn't receive any warning:
1. armv7-linux-gcc (GCC) 4.6.2 20110813 (STMicroelectronics/Linux
Base 4.6.2-99)
2. gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Anyways, sorry for the inconvenience. I'll be more careful from now
onwards. I'm sending V2, build tested using the above two compilers, I
hope the code is warning free now.
Regards
Amit Virdi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html