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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160628073016.GH27655@gate.crashing.org>
Date:	Tue, 28 Jun 2016 02:30:16 -0500
From:	Segher Boessenkool <segher@...nel.crashing.org>
To:	David Binderman <linuxdev.baldrick@...il.com>
Cc:	Michael Ellerman <mpe@...erman.id.au>, paulus@...ba.org,
	linuxppc-dev@...ts.ozlabs.org, dcb314@...mail.com,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: arch/powerpc/xmon/dis-asm.h: 2 * wrong specifiers ?

On Tue, Jun 28, 2016 at 08:06:56AM +0100, David Binderman wrote:
> I think you can also get a similar warning if you tweek the gcc compiler warning
> flags. -Wformat=2 maybe.

-Wformat=1 (which is enabled by -Wall) already warns for this.

warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]


Segher

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ