mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 00:38:28 +00:00
HV: pm: cleanup for misra integral type violations
The patch fixes integral type related violations on HV pm part. Signed-off-by: Victor Sun <victor.sun@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
@@ -140,9 +140,9 @@ struct vm_io_handler {
|
||||
struct vm_io_handler_desc desc;
|
||||
};
|
||||
|
||||
#define IO_ATTR_R 0
|
||||
#define IO_ATTR_RW 1
|
||||
#define IO_ATTR_NO_ACCESS 2
|
||||
#define IO_ATTR_R 0U
|
||||
#define IO_ATTR_RW 1U
|
||||
#define IO_ATTR_NO_ACCESS 2U
|
||||
|
||||
/* External Interfaces */
|
||||
int io_instr_vmexit_handler(struct vcpu *vcpu);
|
||||
|
Reference in New Issue
Block a user