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:
Sasha Levin
2015-06-01 16:39:53 +01:00
committed by Will Deacon
parent a83f8ed142
commit 0888c05458
+1 -1
View File
@@ -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 */