Date: Sat, 4 Aug 2012 04:26:17 +0000 (UTC) From: Neel Natu <neel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r239029 - projects/bhyve/usr.sbin/bhyve Message-ID: <201208040426.q744QHDd008494@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208040426.q744QHDd008494>