lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211119170832.1034220-1-tony.luck@intel.com>
Date:   Fri, 19 Nov 2021 09:08:32 -0800
From:   Tony Luck <tony.luck@...el.com>
To:     Dave Hansen <dave.hansen@...el.com>
Cc:     x86@...nel.org, linux-kernel@...r.kernel.org,
        Tony Luck <tony.luck@...el.com>,
        Rui Zhang <rui.zhang@...el.com>
Subject: [PATCH] x86/cpu: Drop spurious underscore from RAPTOR_LAKE #define

Convention for all the other "lake" CPUs is all one word.

So s/RAPTOR_LAKE/RAPTORLAKE/

Reported-by: Rui Zhang <rui.zhang@...el.com>
Fixes: fbdb5e8f2926 ("x86/cpu: Add Raptor Lake to Intel family")
Signed-off-by: Tony Luck <tony.luck@...el.com>

---

Dave Hansen had thanked me for sending a simple patch on his first full
day as x86 maintainer. I had foolishly said: "You can hand me a giant
brown paper bag if I broke the build with that patch." Well, I didn't
break the build. But the one-line change had an error in every line. My
usual collection of brown bags is at the office. So I'll have to make
a new one. Then explain to my family the tradition of brown paper bags.

Big thanks to Rui for catching this before I'd have the extra shame
of needing to backport to stable.
---
 arch/x86/include/asm/intel-family.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/include/asm/intel-family.h b/arch/x86/include/asm/intel-family.h
index 5a0bcf8b78d7..048b6d5aff50 100644
--- a/arch/x86/include/asm/intel-family.h
+++ b/arch/x86/include/asm/intel-family.h
@@ -108,7 +108,7 @@
 #define INTEL_FAM6_ALDERLAKE		0x97	/* Golden Cove / Gracemont */
 #define INTEL_FAM6_ALDERLAKE_L		0x9A	/* Golden Cove / Gracemont */
 
-#define INTEL_FAM6_RAPTOR_LAKE		0xB7
+#define INTEL_FAM6_RAPTORLAKE		0xB7
 
 /* "Small Core" Processors (Atom) */
 
-- 
2.31.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ