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: Sun, 29 Jun 2008 11:49:41 +0200 From: Ingo Molnar <mingo@...e.hu> To: Yinghai Lu <yhlu.kernel@...il.com> Cc: Thomas Gleixner <tglx@...utronix.de>, "H. Peter Anvin" <hpa@...or.com>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org> Subject: Re: [PATCH] x86: fix warning in e820_reserve_resources with 32bit * Yinghai Lu <yhlu.kernel@...il.com> wrote: > when 64bit resource is not enabled, got: > > arch/x86/kernel/e820.c: In function ‘e820_reserve_resources’: > arch/x86/kernel/e820.c:1217: warning: comparison is always false due to limited range of data type > > because res->start/end is resource_t aka u32. it will overflow. > > fix it with temp end of u64 applied, thanks. Ingo -- 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