From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 60DBD80407 for ; Fri, 17 Mar 2017 11:51:42 -0700 (PDT) Received: by mail-it0-x229.google.com with SMTP id m27so32311148iti.0 for ; Fri, 17 Mar 2017 11:51:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=2PuKKNAZ3wnN11If3NV4/ir4mWj5BbLhkuWzS4fk7sE=; b=NoJ08eR4hcqS7k9/llTwHRJM4qU3QcP45oseImCy1KkZir4WdPrXDt00nq3DfyhV1L AlJQ1GQBgIlJP63H9Hl4k0YWpFJQ2j5m1QbQ2ZRKohDn4pqaSlgEv7r0lsCY2YwR/fJQ SD/a+JKCD0JB9lcVULcSvo+CuuuDO8YOBIAWY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=2PuKKNAZ3wnN11If3NV4/ir4mWj5BbLhkuWzS4fk7sE=; b=pSyyVCSLyRhpgA73a7FdTzk5IUy1lUrJ/9EA2qRrNyKfk+B+U2Z/c1Z2xqflx/FCDA SYjSY3efPcOEYhbKzGUjY6BHpnHZ6E6JbVKwirnFcuUwDQ7lLOYY2UWYff1h4n+jGyhF QwM/mk3QDhg32Kldy73lZEcRze3RBdF62m+cyXDQ62SO09ZZMqvmT6E53/VYGrMtfp7/ +4oyUpAdB94GkXd3zHhK4caPhEmlJ+NN2DPtb9Q3dZwJZU6MDmVc40sWKD2o/ZB2rsYm YDCPAef4aAVpmGCG2Ao/3NGFSbUxOC+4att+XOO9LfrP6G7WXeXBxW7siUdf8frJQi4R OPcw== X-Gm-Message-State: AFeK/H1UaIBlZknwQF0teTyH5rIVNtKCiDbJZnZS1iHb1KXctsz4QGWDO82i+nwXe8pkLUCH8lbSpadIJI2pyuv6 X-Received: by 10.36.77.10 with SMTP id l10mr4063260itb.59.1489776699232; Fri, 17 Mar 2017 11:51:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.10.27 with HTTP; Fri, 17 Mar 2017 11:51:38 -0700 (PDT) In-Reply-To: <0C09AFA07DD0434D9E2A0C6AEB0483103B83549F@shsmsx102.ccr.corp.intel.com> References: <1489664128-30700-1-git-send-email-ard.biesheuvel@linaro.org> <0C09AFA07DD0434D9E2A0C6AEB0483103B83549F@shsmsx102.ccr.corp.intel.com> From: Ard Biesheuvel Date: Fri, 17 Mar 2017 18:51:38 +0000 Message-ID: To: "Zeng, Star" Cc: "edk2-devel@lists.01.org" , "Tian, Feng" , Leif Lindholm , "Cohen, Eugene" Subject: Re: [PATCH] MdeModulePkg/DxeCore: deal with allocations spanning several memmap entries X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Mar 2017 18:51:42 -0000 Content-Type: text/plain; charset=UTF-8 On 17 March 2017 at 03:45, Zeng, Star wrote: > Ard, > > In fact the first half should be like below if it needs to be there, right? > Entry->Start > End => Entry->Start > (End + 1) > Ehm, I guess? > Anyway, I agree the comments "The first half of the expression can be dropped" you supplemented. > With the first half of the expression dropped, Reviewed-by: Star Zeng > Pushed, thanks.