From: Ian Campbell Subject: Re: [PATCH] xen: clamp bitmaps to correct number of bits Date: Fri, 7 Sep 2012 09:23:28 +0100 Message-ID: <1347006208.30018.33.camel@zakaz.uk.xensource.com> References: <22d5e100131d1576d455.1346932605@cosworth.uk.xensource.com> <5048B1C4020000780009952E@nat28.tlf.novell.com> <1346939323.30018.12.camel@zakaz.uk.xensource.com> <5048D39D0200007800099684@nat28.tlf.novell.com> <1346948428.10570.33.camel@dagon.hellion.org.uk> <5049C9AE02000078000999F5@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5049C9AE02000078000999F5@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: "Tim (Xen.org)" , Dario Faggioli , "Keir (Xen.org)" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Fri, 2012-09-07 at 09:17 +0100, Jan Beulich wrote: > >>> On 06.09.12 at 18:20, Ian Campbell wrote: > > On Thu, 2012-09-06 at 15:47 +0100, Jan Beulich wrote: > >> nor did you insert whitespace into the expressions. If I > >> were the one to commit this, I would do the adjustment while > >> committing... > > > > This whole file seems to use Linux coding style which is why I omitted > > spaces inside the if. I made the mask "(1U << remainder) - 1" and > > simultaneously drop the superfluous extra brackets in v2 left over from > > removing &0xff. > > Oh yes, that's what I meant; I didn't want to you add white > space that the Xen coding style asks for, but Linux'es doesn't. > > >> Anyway, as long as there's no easily visible tools side bug > >> addressed by this, I would think we should rather leave this > >> for after branching - Keir? > > > > I'm fine with that. > > Fell free to put my ack on it when committing (but you'll need > a separate ack from Keir anyway I believe). Right, I wouldn't normally commit to the xen subtree even with Acks from you both anyway, but an explicit "please commit" would cause me to do so. Ian.