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);
                }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to