Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86/mce: Drop bogus comment about mce.kflags

The bit definitions for kflags are for internal use only. A
late edit moved them from uapi/asm/mce.h to the internal
x86 <asm/mce.h>, but the comment saying "See below" was
accidentally left here.

Delete "See below". Just labelling this field as internal
kernel use is sufficient.

Fixes: 1de08dccd383 ("x86/mce: Add a struct mce.kflags field")
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200415195826.GA13681@agluck-desk2.amr.corp.intel.com

authored by

Tony Luck and committed by
Borislav Petkov
f82cdff1 1df73b21

+1 -1
+1 -1
arch/x86/include/uapi/asm/mce.h
··· 35 35 __u64 ipid; /* MCA_IPID MSR: only valid on SMCA systems */ 36 36 __u64 ppin; /* Protected Processor Inventory Number */ 37 37 __u32 microcode; /* Microcode revision */ 38 - __u64 kflags; /* Internal kernel use. See below */ 38 + __u64 kflags; /* Internal kernel use */ 39 39 }; 40 40 41 41 #define MCE_GET_RECORD_LEN _IOR('M', 1, int)