diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-08-13 11:00:08 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-08-23 10:19:03 -0400 |
commit | 6d7083eee3bc088d1fc30eefabd6263bca40c95a (patch) | |
tree | ea4debe9ba5255c1e77e9480f696f044a1104202 /arch/x86/xen/pci-swiotlb-xen.c | |
parent | a8752fd9a4106c5efe324109df133692d5fcbffc (diff) |
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
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/xen/pci-swiotlb-xen.c')
-rw-r--r-- | arch/x86/xen/pci-swiotlb-xen.c | 4 |
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 2d58b3ff4fae..1ab45941502d 100644 --- a/arch/x86/xen/pci-swiotlb-xen.c +++ b/arch/x86/xen/pci-swiotlb-xen.c | |||
@@ -63,6 +63,6 @@ void __init pci_xen_swiotlb_init(void) | |||
63 | } | 63 | } |
64 | } | 64 | } |
65 | IOMMU_INIT_FINISH(pci_xen_swiotlb_detect, | 65 | IOMMU_INIT_FINISH(pci_xen_swiotlb_detect, |
66 | 0, | 66 | NULL, |
67 | pci_xen_swiotlb_init, | 67 | pci_xen_swiotlb_init, |
68 | 0); | 68 | NULL); |