]> xenbits.xensource.com Git - xen.git/commit
x86/msr: add suffix 'U' to MSR_AMD_CSTATE_CFG macro
authorAlessandro Zucchelli <alessandro.zucchelli@bugseng.com>
Thu, 25 Apr 2024 07:53:24 +0000 (09:53 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 25 Apr 2024 07:53:24 +0000 (09:53 +0200)
commit8c01d0e3361d827b552a8f5323c18a4d4f07e06a
treedc42aa1f9161d2a734fdf5ad3b58578af55cc759
parentea3272f8457b46a3932a84253078524131e2c3ab
x86/msr: add suffix 'U' to MSR_AMD_CSTATE_CFG macro

This addresses violations of MISRA C:2012 Rule 7.2 which states as
following: A ā€œuā€ or ā€œUā€ suffix shall be applied to all integer constants
that are represented in an unsigned type.

No functional change.

Fixes: 652683e1aeaa ("x86/hvm: address violations of MISRA C:2012 Rule 7.2")
Signed-off-by: Alessandro Zucchelli <alessandro.zucchelli@bugseng.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/include/asm/msr-index.h