xen/swiotlb: Fix compile warnings when using plain integer instead of NULL pointer.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 13 Aug 2012 15:00:08 +0000 (11:00 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 17 Sep 2012 17:00:43 +0000 (13:00 -0400)
arch/x86/xen/pci-swiotlb-xen.c:96:1: warning: Using plain integer as NULL pointer
arch/x86/xen/pci-swiotlb-xen.c:96:1: warning: Using plain integer as NULL pointer

Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/pci-swiotlb-xen.c

index b152640..1608244 100644 (file)
@@ -97,6 +97,6 @@ int pci_xen_swiotlb_init_late(void)
 EXPORT_SYMBOL_GPL(pci_xen_swiotlb_init_late);
 
 IOMMU_INIT_FINISH(pci_xen_swiotlb_detect,
-                 0,
+                 NULL,
                  pci_xen_swiotlb_init,
-                 0);
+                 NULL);