Make sure a for loop in fire_alloc_msix() terminates, by making the loop
counter signed. Reviewed by: marius MFC after: 3 days
This commit is contained in:
parent
b07b6ed690
commit
2dffd7c97e
@ -1688,7 +1688,7 @@ static int
|
||||
fire_alloc_msix(device_t dev, device_t child, int *irq)
|
||||
{
|
||||
struct fire_softc *sc;
|
||||
u_int i, msiq;
|
||||
int i, msiq;
|
||||
|
||||
sc = device_get_softc(dev);
|
||||
if ((sc->sc_flags & FIRE_MSIX) == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user