x86/amd: (More) use of U suffixes on integer constants
PATCH 1/1 x86/amd: (More) use of U suffixes on integer constants
This was missed, but necessary to fix in order to
---
CC: Alejandro Vallejo <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Teddy Astie <[email protected]>
Found by an AI review looking over recent commits into staging.
--- xen/arch/x86/cpu/amd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/x86/cpu/amd.c +1 -1
@@ -39,7 +39,7 @@ static inline int rdmsr_amd_safe(unsigned int msr, unsigned int *lo,"1: rdmsr\n\t" _ASM_EXTABLE(1b, %l[fault]) : "=a" (*lo), "=d" (*hi) - : "c" (msr), "D" (0x9c5a203a) + : "c" (msr), "D" (0x9c5a203aU) : : fault );
base-commit: ada7fa3491668bbcf1afe525057c470903625d26
Signature · 1 line
2.39.5
Quoted 1 line · Andrew Cooper
This was missed, but necessary to fix in order to
You probably meant to write a bit more.
"This was missed, but necessary to fix in order to add amd.c to the set of scanned files"
With that, or something similar,
Quoted 10 lines
Fixes 92ddcda17fb0 ("x86/cpu: Use U suffixes on integer constants")Signed-off-by Andrew Cooper <[email protected]>---
CC: Alejandro Vallejo <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Teddy Astie <[email protected]>Found by an AI review looking over recent commits into staging.
I didn't notice this (for me) compiled out hunk
Quoted 19 lines
--- xen/arch/x86/cpu/amd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)xen/arch/x86/cpu/amd.c +1
-1@@ -39,7 +39,7 @@ static inline int rdmsr_amd_safe(unsigned int msr, unsigned int *lo,"1: rdmsr\n\t" _ASM_EXTABLE(1b, %l[fault]) : "=a" (*lo), "=d" (*hi) - : "c" (msr), "D" (0x9c5a203a) + : "c" (msr), "D" (0x9c5a203aU) : : fault );base-commit:
ada7fa3491668bbcf1afe525057c470903625d26