KVM: x86: fix warning Using plain integer as NULL pointer
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Sat, 6 Apr 2019 09:36:58 +0000 (15:06 +0530)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Apr 2019 13:38:07 +0000 (15:38 +0200)
commitbe43c440eb5d0ccfdb0d67d5a4c9d579ff988b75
treec70f5e544f6e12a7a7e628f0efec487bb1811aef
parent79904c9de0d1a6cd66853b3af802343b0ba3720c
KVM: x86: fix warning Using plain integer as NULL pointer

Changed passing argument as "0 to NULL" which resolves below sparse warning

arch/x86/kvm/x86.c:3096:61: warning: Using plain integer as NULL pointer

Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c