Skip to contentSkip to conversation

x86/cpu: Drop spurious underscore from RAPTOR_LAKE #define

PATCH Applied Tony Luck 2 participants 2 messages Nov 19, 2021 – Nov 30, 2021

Subsystems (2)
lore
Share & tools
lore

Tony Luck

author maintainer
#0 lore raw

PATCH 1/1 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/

Fixes fbdb5e8f2926 ("x86/cpu: Add Raptor Lake to Intel family")

---

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(-)
arch/x86/include/asm/intel-family.h +1 -1
index 5a0bcf8b78d7..048b6d5aff50 100644
@@ -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) */
 
Signature · 1 line
2.31.1
merge bot Applied
#1 lore raw
The following commit has been merged into the x86/urgent branch of tip:

The following commit has been merged into the x86/urgent branch of tip:

Commit-ID:     7d697f0d5737768fa1039b8953b67c08d8d406d1
Gitweb:        https://git.kernel.org/tip/7d697f0d5737768fa1039b8953b67c08d8d406d1
Author:        Tony Luck <[email protected]>
AuthorDate:    Fri, 19 Nov 2021 09:08:32 -08:00
Committer:     Dave Hansen <[email protected]>
CommitterDate: Tue, 30 Nov 2021 14:05:48 -08:00

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/

Fixes fbdb5e8f2926 ("x86/cpu: Add Raptor Lake to Intel family")
---
 arch/x86/include/asm/intel-family.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/include/asm/intel-family.h +1 -1
index 5a0bcf8..048b6d5 100644
@@ -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) */