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-next>] [day] [month] [year] [list]
Message-Id: <201103170848.57688.oneukum@suse.de>
Date:	Thu, 17 Mar 2011 08:48:57 +0100
From:	Oliver Neukum <oneukum@...e.de>
To:	"linux-kernel" <linux-kernel@...r.kernel.org>
Subject: question oh macros and gcc's intelligence

Hi,

if I write:

if (le16_to_cpu(p) == CONST) a();

is gcc smart enough to convert CONST to le16 and do
a simple comparison?

	Regards
		Oliver
--
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