From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 02 Mar 2019 00:06:21 -0000 Received: from mail.kernel.org ([198.145.29.99]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gzsAV-0008MX-O6 for speck@linutronix.de; Sat, 02 Mar 2019 01:06:20 +0100 Received: from localhost (lfbn-1-18527-45.w90-101.abo.wanadoo.fr [90.101.69.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A1BA620823 for ; Sat, 2 Mar 2019 00:06:12 +0000 (UTC) Date: Sat, 2 Mar 2019 01:06:10 +0100 From: Frederic Weisbecker Subject: [MODERATED] Re: [patch V6 01/14] MDS basics 1 Message-ID: <20190302000608.GA22355@lenoir> References: <20190301214738.281554861@linutronix.de> <20190301214847.253613270@linutronix.de> MIME-Version: 1.0 In-Reply-To: <20190301214847.253613270@linutronix.de> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Fri, Mar 01, 2019 at 10:47:39PM +0100, speck for Thomas Gleixner wrote: > Subject: [patch V6 01/14] x86/msr-index: Cleanup bit defines > From: Thomas Gleixner > > Greg pointed out that speculation related bit defines are using (1 << N) > format instead of BIT(N). Aside of that (1 << N) is wrong as it should use > 1UL at least. > > Clean it up. > > [ Josh Poimboeuf: Fix tools build ] > > Reported-by: Greg Kroah-Hartman > Signed-off-by: Thomas Gleixner > Reviewed-by: Greg Kroah-Hartman > Reviewed-by: Borislav Petkov > --- > V5 -> V6: Fix tools build (Josh) Reviewed-by: Frederic Weisbecker