aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pci/htirq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/htirq.c b/drivers/pci/htirq.c
index 7c5aef13fcdb..7b180e0c634e 100644
--- a/drivers/pci/htirq.c
+++ b/drivers/pci/htirq.c
@@ -144,7 +144,7 @@ int __ht_create_irq(struct pci_dev *dev, int idx, ht_irq_update_t *update)
144#else 144#else
145 irq = create_irq(); 145 irq = create_irq();
146#endif 146#endif
147 if (irq == 0) { 147 if (irq <= 0) {
148 kfree(cfg); 148 kfree(cfg);
149 return -EBUSY; 149 return -EBUSY;
150 } 150 }