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: <20140418133812.GA11200@tassilo.jf.intel.com>
Date:	Fri, 18 Apr 2014 06:38:12 -0700
From:	Andi Kleen <ak@...ux.intel.com>
To:	Al Viro <viro@...IV.linux.org.uk>
Cc:	Andi Kleen <andi@...stfloor.org>, mmarek@...e.cz, hpa@...or.com,
	linux-kernel@...r.kernel.org,
	Viresh Kumar <viresh.kumar@...aro.org>
Subject: Re: [PATCH] Kbuild, lto: Avoid reported warning with strtoul

On Fri, Apr 18, 2014 at 05:49:04AM +0100, Al Viro wrote: 
> On Fri, Apr 18, 2014 at 06:35:56AM +0200, Andi Kleen wrote:
> > From: Andi Kleen <ak@...ux.intel.com>
> > 
> > Apparently someone's C library declares strtoul with warn_unused_result.
> > Cast to void to avoid the warning. Error handling is not useful here.
> 
> Umm...  Since we don't give a fsck for the value, isn't that simply

Yes your code is equivalent to mine.

-Andi
--
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