mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-31 16:37:07 +00:00
hv: instr_emul: fix decode_modrm no default case in switch statement
MISRA-C required every switch statement shall have a default label. Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -1874,6 +1874,9 @@ static int decode_modrm(struct instr_emul_vie *vie, enum vm_cpu_mode cpu_mode)
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
/* VIE_MOD_DIRECT */
|
||||
break;
|
||||
}
|
||||
|
||||
done:
|
||||
|
Reference in New Issue
Block a user