]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commitdiff
x86/cpufreq: address MISRA Rule 7.3 violation
authorNicola Vetrini <nicola.vetrini@bugseng.com>
Wed, 11 Sep 2024 10:53:38 +0000 (12:53 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 11 Sep 2024 10:53:38 +0000 (12:53 +0200)
Rule 7.3 states:
"The lowercase character l shall not be used in a literal suffix",
but the INTEL_MSR_RANGE macro uses the "ull" suffix.
The "u" is transformed in uppercase for consistency.

No functional change.

Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/acpi/cpufreq/acpi.c

index c6d7d02faa561ca3a05eda44725ee10ce53c3dac..0c2537640608e2fb3f006c9415d96c8cbc5e822c 100644 (file)
@@ -25,7 +25,7 @@ enum {
     SYSTEM_IO_CAPABLE,
 };
 
-#define INTEL_MSR_RANGE         (0xffffull)
+#define INTEL_MSR_RANGE         0xffffULL
 
 static bool __read_mostly acpi_pstate_strict;
 boolean_param("acpi_pstate_strict", acpi_pstate_strict);