[lkml]   [2008]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] x86: fix warning in e820_reserve_resources with 32bit

* Yinghai Lu <> 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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2008-06-29 11:53    [W:0.128 / U:3.480 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site