Use the correct variable to index into the 'lirq[]' array to check the legacy
IRQ ownership.
This commit is contained in:
parent
6459496b69
commit
308f907720
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/bhyve/; revision=239029
@ -808,7 +808,7 @@ pci_lintr_alloc(struct pci_devinst *pi, int vec)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (lirq[i].li_owner != NULL) {
|
||||
if (lirq[vec].li_owner != NULL) {
|
||||
vec = -1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user