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:
Huihuang Shi
2018-06-08 13:12:06 +08:00
committed by lijinxia
parent 7710940195
commit 8940c896be
7 changed files with 8 additions and 11 deletions

View File

@@ -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;