mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-13 11:33:58 +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:
@@ -2338,7 +2338,7 @@ int decode_instruction(struct vcpu *vcpu)
|
||||
instr_check_gva(vcpu, emul_ctxt, cpu_mode);
|
||||
}
|
||||
|
||||
return emul_ctxt->vie.opsize;
|
||||
return (int)(emul_ctxt->vie.opsize);
|
||||
}
|
||||
|
||||
int emulate_instruction(struct vcpu *vcpu)
|
||||
|
||||
Reference in New Issue
Block a user