mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 23:24:56 +00:00
We pass retval to vmm_emulate_instruction and assign the return value to retval at the same time. The retval will be passed to mmio_read/write finally as memarg and the functions don't use the parameter actually. Apparently, we misused the retval. This patch fix it by passing 'NULL' to vmm_emulate_instruction. Signed-off-by: Kaige Fu <kaige.fu@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com>