[PATCH] usb: gadget: Fix unsigned comparison with less than zero
Greg KH
gregkh at linuxfoundation.org
Fri Jun 24 04:42:02 PDT 2022
On Thu, Jun 23, 2022 at 04:43:47PM +0800, Jiapeng Chong wrote:
> This was found by coccicheck:
>
> ./drivers/usb/gadget/udc/aspeed_udc.c:496:8-13: WARNING: Unsigned expression compared with zero: chunk >= 0.
What does this mean? Where is the error?
Please explain the reason for changes, not just the output of a random
tool that you ran on the code.
> Signed-off-by: Jiapeng Chong <jiapeng.chong at linux.alibaba.com>
What commit does this fix?
thanks,
greg k-h
More information about the linux-arm-kernel
mailing list