Skip to contentSkip to conversation

xen: correct parameter type for pirq_eoi

PATCH New Ian Campbell 1 participant 1 message Oct 8, 2010 Xen hypervisor interface

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen: correct parameter type for pirq_eoi

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

---
 drivers/xen/events.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/xen/events.c +1 -1
index 4f64072..075e709 100644
@@ -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 };
Signature · 1 line
1.5.6.5