xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: [PATCH 2/6] xen/swiotlb: Fix compile warnings when using plain integer instead of NULL pointer.
Date: Thu, 16 Aug 2012 12:12:34 -0400	[thread overview]
Message-ID: <1345133558-23341-3-git-send-email-konrad.wilk@oracle.com> (raw)
In-Reply-To: <1345133558-23341-1-git-send-email-konrad.wilk@oracle.com>

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

  parent reply	other threads:[~2012-08-16 16:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-16 16:12 [PATCH] Various cleanups in the code base found with sparse (v1) for v3.7 Konrad Rzeszutek Wilk
2012-08-16 16:12 ` [PATCH 1/6] xen/swiotlb: Remove functions not needed anymore Konrad Rzeszutek Wilk
2012-08-16 16:12 ` Konrad Rzeszutek Wilk [this message]
2012-08-16 16:12 ` [PATCH 3/6] xen/apic/xenbus/swiotlb/pcifront/grant/tmem: Make functions or variables static Konrad Rzeszutek Wilk
2012-08-16 16:12 ` [PATCH 4/6] xen/mmu: Fix compile warnings Konrad Rzeszutek Wilk
2012-08-17 10:08   ` [Xen-devel] " Ian Campbell
2012-08-16 16:12 ` [PATCH 5/6] xen/blkback: Fix compile warning Konrad Rzeszutek Wilk
2012-08-16 16:12 ` [PATCH 6/6] iommu: Fixes duplicate const warning Konrad Rzeszutek Wilk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1345133558-23341-3-git-send-email-konrad.wilk@oracle.com \
    --to=konrad.wilk@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).