Skip to content

Commit

Permalink
xen/swiotlb: Fix compile warnings when using plain integer instead of…
Browse files Browse the repository at this point in the history
… 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>
  • Loading branch information
Konrad Rzeszutek Wilk committed Sep 17, 2012
1 parent e815f45 commit 2a3bce8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/xen/pci-swiotlb-xen.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit 2a3bce8

Please sign in to comment.