mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-12 14:29:28 +00:00
In the disable_slot() routine, the variable "i" was
being used without ever being initialized. From examining the rest of the routine, it looks like this is a typo, and it really should have been "1" instead of "i". Submitted by: mpp
This commit is contained in:
parent
a042d32c0b
commit
8c1801dce9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22570
@ -298,7 +298,7 @@ disable_slot(struct slot *sp)
|
||||
INTRUNMASK(*devp->drv->imask,(1<<sp->irq));
|
||||
/* Remove from the PCIC controller imask */
|
||||
if (sp->ctrl->imask)
|
||||
INTRUNMASK(*(sp->ctrl->imask), (i<<sp->irq));
|
||||
INTRUNMASK(*(sp->ctrl->imask), (1<<sp->irq));
|
||||
sp->irq = 0;
|
||||
}
|
||||
splx(s);
|
||||
|
Loading…
Reference in New Issue
Block a user