Commit-ID: 60e6a5edf28f2ad37549251ffd0d94fd05d113c7 Gitweb: http://git.kernel.org/tip/60e6a5edf28f2ad37549251ffd0d94fd05d113c7 Author: Sasha Levin <sasha.levin@xxxxxxxxxx> AuthorDate: Thu, 20 Dec 2012 14:11:12 -0500 Committer: Pekka Enberg <penberg@xxxxxxxxxx> CommitDate: Thu, 27 Dec 2012 16:24:29 +0200 kvm tools: correctly compare pointer with NULL instead of 0 Signed-off-by: Sasha Levin <sasha.levin@xxxxxxxxxx> Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxx> --- tools/kvm/hw/pci-shmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/kvm/hw/pci-shmem.c b/tools/kvm/hw/pci-shmem.c index 00e5d93..ec3f771 100644 --- a/tools/kvm/hw/pci-shmem.c +++ b/tools/kvm/hw/pci-shmem.c @@ -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 */ -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html