mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-07 17:46:15 +00:00
HV:fix type related violations
1.Function return type inconsistent 2.cast on a constant value V1->V2 add () to return type V2->V3 keep the sbuf_get and sbuf_put return code Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -16,7 +16,7 @@ int vmexit_handler(struct vcpu *vcpu);
|
||||
int vmcall_vmexit_handler(struct vcpu *vcpu);
|
||||
int cpuid_vmexit_handler(struct vcpu *vcpu);
|
||||
int cr_access_vmexit_handler(struct vcpu *vcpu);
|
||||
|
||||
extern void vm_exit(void);
|
||||
static inline uint64_t
|
||||
vm_exit_qualification_bit_mask(uint64_t exit_qual, uint32_t msb, uint32_t lsb)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user