svn commit: r262621 - in stable: 10/sys/sparc64/pci 9/sys/sparc64/pci

Dimitry Andric dim at FreeBSD.org
Fri Feb 28 20:31:08 UTC 2014


Author: dim
Date: Fri Feb 28 20:31:07 2014
New Revision: 262621
URL: http://svnweb.freebsd.org/changeset/base/262621

Log:
  MFC r262472:
  
  Make sure a for loop in fire_alloc_msix() terminates, by making the loop
  counter signed.
  
  Reviewed by:	marius

Modified:
  stable/9/sys/sparc64/pci/fire.c
Directory Properties:
  stable/9/sys/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/10/sys/sparc64/pci/fire.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/9/sys/sparc64/pci/fire.c
==============================================================================
--- stable/9/sys/sparc64/pci/fire.c	Fri Feb 28 20:22:48 2014	(r262620)
+++ stable/9/sys/sparc64/pci/fire.c	Fri Feb 28 20:31:07 2014	(r262621)
@@ -1691,7 +1691,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)


More information about the svn-src-stable-9 mailing list