xen/arch/x86/cpu/amd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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@citrix.com>
---
CC: Alejandro Vallejo <alejandro.garciavallejo@amd.com>
CC: Jan Beulich <jbeulich@suse.com>
CC: Roger Pau Monné <roger@xenproject.org>
CC: Teddy Astie <teddy.astie@vates.tech>
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
On Mon Nov 23, 2026 at 4:48 PM CET, Andrew Cooper wrote:
> 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,
Reviewed-by: Alejandro Vallejo <alejandro.garciavallejo@amd.com>
>
> Fixes: 92ddcda17fb0 ("x86/cpu: Use U suffixes on integer constants")
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
> ---
> CC: Alejandro Vallejo <alejandro.garciavallejo@amd.com>
> CC: Jan Beulich <jbeulich@suse.com>
> CC: Roger Pau Monné <roger@xenproject.org>
> CC: Teddy Astie <teddy.astie@vates.tech>
>
> Found by an AI review looking over recent commits into staging.
I didn't notice this (for me) compiled out hunk
> ---
> 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
© 2016 - 2026 Red Hat, Inc.