mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
x86/emul: Adjust X86EMUL_OPC_EXT_MASK to placate MISRA
Resolves 4740 MISRA R7.2 violations (of 4935, so 96% of them). Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
1 parent
761358b9eb
commit
478002370c
1 file changed
+1
-1
@@ -620,7 +620,7 @@ struct x86_emulate_ctxt
|
||||
* below).
|
||||
* Hence no separate #define-s get added.
|
||||
*/
|
||||
#define X86EMUL_OPC_EXT_MASK 0xffff0000
|
||||
#define X86EMUL_OPC_EXT_MASK 0xffff0000U
|
||||
#define X86EMUL_OPC(ext, byte) ((uint8_t)(byte) | \
|
||||
MASK_INSR((ext), X86EMUL_OPC_EXT_MASK))
|
||||
/*
|
||||
|
||||