Author: dim Date: Tue Feb 25 07:33:28 2014 New Revision: 262472 URL: http://svnweb.freebsd.org/changeset/base/262472
Log: Make sure a for loop in fire_alloc_msix() terminates, by making the loop counter signed. Reviewed by: marius MFC after: 3 days Modified: head/sys/sparc64/pci/fire.c Modified: head/sys/sparc64/pci/fire.c ============================================================================== --- head/sys/sparc64/pci/fire.c Tue Feb 25 07:28:51 2014 (r262471) +++ head/sys/sparc64/pci/fire.c Tue Feb 25 07:33:28 2014 (r262472) @@ -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) _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"