Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Oct 2011 13:12:48 +0000 (UTC)
From:      Christian Brueffer <brueffer@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r226395 - stable/8/sys/dev/siba
Message-ID:  <201110151312.p9FDCmUS015306@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brueffer
Date: Sat Oct 15 13:12:48 2011
New Revision: 226395
URL: http://svn.freebsd.org/changeset/base/226395

Log:
  MFC: r226149
  
  Fix an infinite loop in siba_bwn_suspend().

Modified:
  stable/8/sys/dev/siba/siba_bwn.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/dev/siba/siba_bwn.c
==============================================================================
--- stable/8/sys/dev/siba/siba_bwn.c	Sat Oct 15 13:08:54 2011	(r226394)
+++ stable/8/sys/dev/siba/siba_bwn.c	Sat Oct 15 13:12:48 2011	(r226395)
@@ -206,7 +206,7 @@ siba_bwn_suspend(device_t dev)
 	for (i = 0 ; i < devcnt ; i++) {
 		error = DEVICE_SUSPEND(devlistp[i]);
 		if (error) {
-			for (j = 0; j < i; i++)
+			for (j = 0; j < i; j++)
 				DEVICE_RESUME(devlistp[j]);
 			return (error);
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110151312.p9FDCmUS015306>