lkml.org 
[lkml]   [2012]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 2/6] xen/swiotlb: Fix compile warnings when using plain integer instead of NULL pointer.
    Date
    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>
    ---
    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 031d8bc..1667602 100644
    --- a/arch/x86/xen/pci-swiotlb-xen.c
    +++ b/arch/x86/xen/pci-swiotlb-xen.c
    @@ -92,6 +92,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);
    --
    1.7.7.6


    \
     
     \ /
      Last update: 2012-08-17 06:01    [W:7.574 / U:0.384 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site