svn commit: r226395 - stable/8/sys/dev/siba
Christian Brueffer
brueffer at FreeBSD.org
Sat Oct 15 13:12:49 UTC 2011
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);
}
More information about the svn-src-stable-8
mailing list