[PATCH 1/5] pci: change msi-x vector to 32bit

From: Yinghai Lu
Date: Sat Aug 16 2008 - 06:09:10 EST


Signed-off-by: Yinghai Lu <yhlu.kernel@xxxxxxxxx>

---
drivers/pci/intr_remapping.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/drivers/pci/intr_remapping.c
===================================================================
--- linux-2.6.orig/drivers/pci/intr_remapping.c
+++ linux-2.6/drivers/pci/intr_remapping.c
@@ -99,7 +99,7 @@ static struct irq_2_iommu irq_2_iommuX[N

static struct irq_2_iommu *irq_2_iommu(unsigned int irq)
{
- if (irq <= nr_irqs)
+ if (irq < nr_irqs)
return &irq_2_iommuX[irq];

return NULL;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/