lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 23 Jan 2015 16:15:43 +0530
From:	Amit Virdi <amit.virdi@...com>
To:	Asaf Vertz <asaf.vertz@...demg.com>, "balbi@...com" <balbi@...com>
CC:	"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
	"andrzej.p@...sung.com" <andrzej.p@...sung.com>,
	"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] usb: gadget: zero: fix format string warnings

On 1/21/2015 2:36 PM, Asaf Vertz wrote:
> Fixed the following warnings (reported by cppcheck):
> [drivers/usb/gadget/function/f_sourcesink.c:1217]: (warning) %d in format string (no. 1)
> requires 'int' but the argument type is 'unsigned int'.
> [drivers/usb/gadget/function/f_sourcesink.c:1261]: (warning) %d in format string (no. 1)
> requires 'int' but the argument type is 'unsigned int'.
> [drivers/usb/gadget/function/f_sourcesink.c:1305]: (warning) %d in format string (no. 1)
> requires 'int' but the argument type is 'unsigned int'.
> [drivers/usb/gadget/function/f_sourcesink.c:1349]: (warning) %d in format string (no. 1)
> requires 'int' but the argument type is 'unsigned int'.
> [drivers/usb/gadget/function/f_sourcesink.c:1393]: (warning) %d in format string (no. 1)
> requires 'int' but the argument type is 'unsigned int'.
> [drivers/usb/gadget/function/f_sourcesink.c:1437]: (warning) %d in format string (no. 1)
> requires 'int' but the argument type is 'unsigned int'.
> [drivers/usb/gadget/function/f_sourcesink.c:1476]: (warning) %d in format string (no. 1)
> requires 'int' but the argument type is 'unsigned int'.
> [drivers/usb/gadget/function/f_sourcesink.c:1520]: (warning) %d in format string (no. 1)
> requires 'int' but the argument type is 'unsigned int'.
> [drivers/usb/gadget/function/f_sourcesink.c:1564]: (warning) %d in format string (no. 1)
> requires 'int' but the argument type is 'unsigned int'.
> [drivers/usb/gadget/function/f_sourcesink.c:1608]: (warning) %d in format string (no. 1)
> requires 'int' but the argument type is 'unsigned int'
>
> Signed-off-by: Asaf Vertz<asaf.vertz@...demg.com>
> ---
>   drivers/usb/gadget/function/f_sourcesink.c |   20 ++++++++++----------
>   1 files changed, 10 insertions(+), 10 deletions(-)

Reviewed-by: Amit Virdi <amit.virdi@...com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ