mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-06 08:04:55 +00:00
fix MISRA C"Literal zero used in pointer context"
MISRC C required pointer to zero should be replace with NULL Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
This commit is contained in:
@@ -130,7 +130,7 @@ static const struct vm_exit_dispatch dispatch_table[] = {
|
||||
|
||||
int vmexit_handler(struct vcpu *vcpu)
|
||||
{
|
||||
struct vm_exit_dispatch *dispatch = HV_NULL;
|
||||
struct vm_exit_dispatch *dispatch = NULL;
|
||||
uint16_t basic_exit_reason;
|
||||
int ret;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user