mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 23:24:56 +00:00
hv: treewide: fix 'Array has no bounds specified'
- explicitly declare the array size to fix the violation 'Array has no
bounds specified'
- minor changes for comments style
v1 -> v2:
* add the definition for exit reasons from 0x39 to 0x40 based on "SDM
APPENDIX C VMX BASIC EXIT REASONS"
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
/*
|
||||
* readable exception descriptors.
|
||||
*/
|
||||
static const char *const excp_names[] = {
|
||||
static const char *const excp_names[32] = {
|
||||
[0] = "Divide Error",
|
||||
[1] = "RESERVED",
|
||||
[2] = "NMI",
|
||||
|
||||
Reference in New Issue
Block a user