diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-28 17:49:59 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 13:16:07 +0200 |
commit | b4df32f4aeef8794d0135fc8dc250acb44cfee60 (patch) | |
tree | 357d504a9cf6f3beb544b3ad36671e3052d9c7ed /arch/x86/mm | |
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')
0 files changed, 0 insertions, 0 deletions