svn commit: r239029 - projects/bhyve/usr.sbin/bhyve

Neel Natu neel at FreeBSD.org
Sat Aug 4 04:26:18 UTC 2012


Author: neel
Date: Sat Aug  4 04:26:17 2012
New Revision: 239029
URL: http://svn.freebsd.org/changeset/base/239029

Log:
  Use the correct variable to index into the 'lirq[]' array to check the legacy
  IRQ ownership.

Modified:
  projects/bhyve/usr.sbin/bhyve/pci_emul.c

Modified: projects/bhyve/usr.sbin/bhyve/pci_emul.c
==============================================================================
--- projects/bhyve/usr.sbin/bhyve/pci_emul.c	Sat Aug  4 04:24:41 2012	(r239028)
+++ projects/bhyve/usr.sbin/bhyve/pci_emul.c	Sat Aug  4 04:26:17 2012	(r239029)
@@ -808,7 +808,7 @@ pci_lintr_alloc(struct pci_devinst *pi, 
 			}
 		}
 	} else {
-		if (lirq[i].li_owner != NULL) {
+		if (lirq[vec].li_owner != NULL) {
 			vec = -1;
 		}
 	}


More information about the svn-src-projects mailing list