summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-08-13 17:00:08 +0200
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-09-17 19:00:43 +0200
commit2a3bce8f6afb9118a7ac3c360a5baf7cdaec87bc (patch)
tree28843cb9481d6ff6585bfd8786f9dd456545b2b3 /arch/x86/xen
parentxen/swiotlb: Remove functions not needed anymore. (diff)
downloadlinux-2a3bce8f6afb9118a7ac3c360a5baf7cdaec87bc.tar.xz
linux-2a3bce8f6afb9118a7ac3c360a5baf7cdaec87bc.zip
xen/swiotlb: Fix compile warnings when using plain integer instead of NULL pointer.
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>
Diffstat (limited to 'arch/x86/xen')
-rw-r--r--arch/x86/xen/pci-swiotlb-xen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/xen/pci-swiotlb-xen.c b/arch/x86/xen/pci-swiotlb-xen.c
index b152640d8388..1608244756de 100644
--- a/arch/x86/xen/pci-swiotlb-xen.c
+++ b/arch/x86/xen/pci-swiotlb-xen.c
@@ -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);