From: Ian Jackson Subject: Re: [PATCH] cleanup for __start_xen() Date: Mon, 30 Nov 2009 17:42:00 +0000 Message-ID: <19220.1000.264592.235805@mariner.uk.xensource.com> References: <4B136574.7010603@cn.fujitsu.com> <19220.873.491254.939891@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <19220.873.491254.939891@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xiao Guangrong , Keir Fraser , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org I wrote: > Xiao Guangrong writes ("[Xen-devel] [PATCH] cleanup for __start_xen()"): > > - if ( !initial_images_start && (s < e) && > > + if ( !initial_images_start && > > This is wrong. s and e are uint64_t so if !(s < e), (e-s) will be > large and positive. I see this has already been applied (20523). It should be reverted, I think. Ian.