mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-09-08 06:31:44 +00:00
kvm tools: correctly compare pointer with NULL instead of 0
Signed-off-by: Sasha Levin <sasha.levin@oracle.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
+1
-1
@@ -356,7 +356,7 @@ int pci_shmem__init(struct kvm *kvm)
|
||||
char *mem;
|
||||
int r;
|
||||
|
||||
if (shmem_region == 0)
|
||||
if (shmem_region == NULL)
|
||||
return 0;
|
||||
|
||||
/* Register good old INTx */
|
||||
|
||||
Reference in New Issue
Block a user