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
ad3d02dd2a
commit
362a42b214
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=262472
@ -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…
Reference in New Issue
Block a user