[MODERATED] Re: [patch V3 1/9] MDS basics 1
Borislav Petkov <[email protected]>
| Newsgroups | org.kernel.lore.historical-speck |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> > > 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. > > Clean it up. > > Reported-by: Greg Kroah-Hartman <[email protected]> > Signed-off-by: Thomas Gleixner <[email protected]> > --- > arch/x86/include/asm/msr-index.h | 34 ++++++++++++++++++---------------- > 1 file changed, 18 insertions(+), 16 deletions(-) Reviewed-by: Borislav Petkov <[email protected]> -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --