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]
Message-ID: <4CD2C2A1.4030004@suse.cz>
Date:	Thu, 04 Nov 2010 15:26:41 +0100
From:	Jiri Slaby <jslaby@...e.cz>
To:	matti.j.aaltonen@...ia.com
CC:	ext Randy Dunlap <randy.dunlap@...cle.com>,
	linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
	Jari Vanhala <ext-jari.vanhala@...ia.com>
Subject: Re: mmotm 2010-10-31-21-24 uploaded (drivers/nfc/pn544)

On 11/02/2010 08:57 AM, Matti J. Aaltonen wrote:
> On Mon, 2010-11-01 at 11:00 -0700, ext Randy Dunlap wrote:
>> Use %zd to print ssize_t variables and %zu to print size_t:
>>
>> drivers/nfc/pn544.c:332: warning: format '%d' expects type 'int', but argument 6 has type 'size_t'
>> drivers/nfc/pn544.c:442: warning: format '%d' expects type 'int', but argument 6 has type 'size_t'
> 
> Thanks, I'll do that... I'm using Sparse and checkpatch --strict but
> neither gave me a warning about that.

You would need a 64bit compiler to emit that for size_t.

regards,
-- 
js
suse labs
--
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