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
| ||
|
Date: Fri, 02 May 2008 15:45:55 -0700 From: "H. Peter Anvin" <hpa@...or.com> To: Linus Torvalds <torvalds@...ux-foundation.org> CC: "Carlos R. Mafra" <crmafra@....unesp.br>, Linux Kernel Mailing List <linux-kernel@...r.kernel.org> Subject: Re: [PATCH] kernel/time.c: Silence gcc warning 'integer constant to large for long type' Linus Torvalds wrote: > > Make the timeconst.h file just contain sane macros. No preprocessor games > etc. Just make it say > > #define USEC_TO_HZ_MUL32 ..correct-value-here.. > > and not even generate macros with values that cannot be used (ie >64 > bits). > OK. I was being too general, I guess (holding out for stuff like doing this in 64-bit space which would require 128-bit constants, which gcc *does* support on 64-bit platforms.) I'll have a clean patch shortly. -hpa -- 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