[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180307160734.6691-1-ralf.ramsauer@oth-regensburg.de>
Date: Wed, 7 Mar 2018 17:07:34 +0100
From: Ralf Ramsauer <ralf.ramsauer@...-regensburg.de>
To: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Andi Kleen <ak@...ux.intel.com>
Cc: Ralf Ramsauer <ralf.ramsauer@...-regensburg.de>, x86@...nel.org,
"H . Peter Anvin" <hpa@...or.com>,
Gayatri Kammela <gayatri.kammela@...el.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH] x86/cpuid: Switch to 'static const' specifier
This is the only spot where the 'const static' specifier is used;
everywhere else 'static const' is preferred, as static should be the
first specifier.
This is just a cosmetic fix that aligns this, no functional change.
Signed-off-by: Ralf Ramsauer <ralf.ramsauer@...-regensburg.de>
---
arch/x86/kernel/cpu/cpuid-deps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/cpuid-deps.c b/arch/x86/kernel/cpu/cpuid-deps.c
index 904b0a3c4e53..2c0bd38a44ab 100644
--- a/arch/x86/kernel/cpu/cpuid-deps.c
+++ b/arch/x86/kernel/cpu/cpuid-deps.c
@@ -19,7 +19,7 @@ struct cpuid_dep {
* called from cpu hotplug. It shouldn't do anything in this case,
* but it's difficult to tell that to the init reference checker.
*/
-const static struct cpuid_dep cpuid_deps[] = {
+static const struct cpuid_dep cpuid_deps[] = {
{ X86_FEATURE_XSAVEOPT, X86_FEATURE_XSAVE },
{ X86_FEATURE_XSAVEC, X86_FEATURE_XSAVE },
{ X86_FEATURE_XSAVES, X86_FEATURE_XSAVE },
--
2.16.2
Powered by blists - more mailing lists