]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: x86: use NULL instead of using plain integer as pointer
authorMuhammad Usama Anjum <musamaanjum@gmail.com>
Fri, 5 Mar 2021 18:08:16 +0000 (23:08 +0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 6 Mar 2021 09:18:39 +0000 (04:18 -0500)
commita8158feef231364326f494459da3397e77e5cb98
treeeb372d24d1e23a6a9405c009dc6e8a7ad8e88702
parentdf0116daad2e48637caf2d0952717851ed515d64
kvm: x86: use NULL instead of using plain integer as pointer

Sparse warnings removed:
warning: Using plain integer as NULL pointer

Signed-off-by: Muhammad Usama Anjum <musamaanjum@gmail.com>
Message-Id: <20210305180816.GA488770@LEGION>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c