WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] xen: correct parameter type for pirq_eoi

To: jeremy@xxxxxxxx
Subject: [Xen-devel] [PATCH] xen: correct parameter type for pirq_eoi
From: Ian Campbell <ian.campbell@xxxxxxxxxx>
Date: Fri, 8 Oct 2010 17:11:24 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Ian Campbell <ian.campbell@xxxxxxxxxx>
Delivery-date: Fri, 08 Oct 2010 09:27:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Fixes:
  CC      drivers/xen/events.o
/local/scratch/ianc/devel/kernels/linux-2.6/drivers/xen/events.c:1452: warning: 
initialization from incompatible pointer type

Signed-off-by: Ian Campbell <ian.campbell@citrix>
---
 drivers/xen/events.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/xen/events.c b/drivers/xen/events.c
index 4f64072..075e709 100644
--- a/drivers/xen/events.c
+++ b/drivers/xen/events.c
@@ -436,7 +436,7 @@ static bool identity_mapped_irq(unsigned irq)
        return irq < get_nr_hw_irqs();
 }
 
-static void pirq_eoi(int irq)
+static void pirq_eoi(unsigned int irq)
 {
        struct irq_info *info = info_for_irq(irq);
        struct physdev_eoi eoi = { .irq = info->u.pirq.gsi };
-- 
1.5.6.5


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] xen: correct parameter type for pirq_eoi, Ian Campbell <=