|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH] x86/amd: (More) use of U suffixes on integer constants
This was missed, but necessary to fix in order to
Fixes: 92ddcda17fb0 ("x86/cpu: Use U suffixes on integer constants")
Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
CC: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>
CC: Jan Beulich <jbeulich@xxxxxxxx>
CC: Roger Pau Monné <roger@xxxxxxxxxxxxxx>
CC: Teddy Astie <teddy.astie@xxxxxxxxxx>
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(-)
diff --git a/xen/arch/x86/cpu/amd.c b/xen/arch/x86/cpu/amd.c
index ff9fc0689f3a..8fd0b675161e 100644
--- a/xen/arch/x86/cpu/amd.c
+++ b/xen/arch/x86/cpu/amd.c
@@ -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
--
2.39.5
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |