diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-28 20:49:59 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 07:16:07 -0400 |
commit | b4df32f4aeef8794d0135fc8dc250acb44cfee60 (patch) | |
tree | 357d504a9cf6f3beb544b3ad36671e3052d9c7ed /arch/x86/mm/init_32.c | |
parent | 7482b0e962e128c5b574aa29761f97164189ef14 (diff) |
x86: fix warning in e820_reserve_resources with 32bit
when 64bit resource is not enabled, we get:
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
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mm/init_32.c')
0 files changed, 0 insertions, 0 deletions