]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
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>
Wed, 19 Sep 2012 15:00:50 +0000 (11: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

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
(cherry picked from commit 6d7083eee3bc088d1fc30eefabd6263bca40c95a)

arch/x86/xen/pci-swiotlb-xen.c

index c95d143fc9c61402ca38e94d4f717268b121f67a..cf1256940d0344f694967ad659bb4c004b73b959 100644 (file)
@@ -63,6 +63,6 @@ void __init pci_xen_swiotlb_init(void)
        }
 }
 IOMMU_INIT_FINISH(pci_xen_swiotlb_detect,
-                 0,
+                 NULL,
                  pci_xen_swiotlb_init,
-                 0);
+                 NULL);