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 ; 22 Feb 2019 07:30:42 -0000 Received: from mx2.suse.de ([195.135.220.15] helo=mx1.suse.de) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gx5I8-0007Rr-Pd for speck@linutronix.de; Fri, 22 Feb 2019 08:30:41 +0100 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 5F506ACA2 for ; Fri, 22 Feb 2019 07:30:34 +0000 (UTC) Date: Fri, 22 Feb 2019 08:30:26 +0100 From: Borislav Petkov Subject: [MODERATED] Re: [patch V3 1/9] MDS basics 1 Message-ID: <20190222073026.GA30865@zn.tnic> References: <20190221234431.922117624@linutronix.de> <20190221235534.463223949@linutronix.de> MIME-Version: 1.0 In-Reply-To: <20190221235534.463223949@linutronix.de> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable To: speck@linutronix.de List-ID: On Fri, Feb 22, 2019 at 12:44:32AM +0100, speck for Thomas Gleixner wrote: > Subject: [patch V3 1/9] x86/msr-index: Cleanup bit defines > From: Thomas Gleixner >=20 > 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 1UL > at least. >=20 > Clean it up. >=20 > Reported-by: Greg Kroah-Hartman > Signed-off-by: Thomas Gleixner > --- > arch/x86/include/asm/msr-index.h | 34 ++++++++++++++++++---------------- > 1 file changed, 18 insertions(+), 16 deletions(-) Reviewed-by: Borislav Petkov --=20 Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imend=C3=B6rffer, Jane Smithard, Graham Norton, HR= B 21284 (AG N=C3=BCrnberg) --=20