lkml.org 
[lkml]   [2008]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/5] pci: change msi-x vector to 32bit
Date
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>

---
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;

\
 
 \ /
  Last update: 2008-08-16 12:11    [W:0.082 / U:1.500 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site