Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/dev/ic Pull up 1.24->1.25 (approved by thorpej):



details:   https://anonhg.NetBSD.org/src/rev/0dab0ae00549
branches:  netbsd-1-5
changeset: 489657:0dab0ae00549
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Tue Oct 03 15:21:43 2000 +0000

description:
Pull up 1.24->1.25 (approved by thorpej):
fix off by one error.

diffstat:

 sys/dev/ic/siop.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ca87e1dd7103 -r 0dab0ae00549 sys/dev/ic/siop.c
--- a/sys/dev/ic/siop.c Tue Oct 03 15:13:23 2000 +0000
+++ b/sys/dev/ic/siop.c Tue Oct 03 15:21:43 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: siop.c,v 1.21.2.3 2000/07/30 16:45:36 bouyer Exp $     */
+/*     $NetBSD: siop.c,v 1.21.2.4 2000/10/03 15:21:43 bouyer Exp $     */
 
 /*
  * Copyright (c) 2000 Manuel Bouyer.
@@ -1086,7 +1086,7 @@
        siop_reset(sc);
        TAILQ_INIT(&reset_list);
        /* find all active commands */
-       for (target = 0; target < sc->sc_link.scsipi_scsi.max_target;
+       for (target = 0; target <= sc->sc_link.scsipi_scsi.max_target;
            target++) {
                if (sc->targets[target] == NULL)
                        continue;



Home | Main Index | Thread Index | Old Index