Module Name: src Committed By: bouyer Date: Sun May 3 13:34:25 UTC 2009
Modified Files: src/sys/dev/ic [netbsd-5]: ncr53c9x.c Log Message: Pull up following revision(s) (requested by martin in ticket #734): sys/dev/ic/ncr53c9x.c: revision 1.138 Add missing braces - patch from Kurt Lidl in PR port-vax/41314. To generate a diff of this commit: cvs rdiff -u -r1.137 -r1.137.8.1 src/sys/dev/ic/ncr53c9x.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/ic/ncr53c9x.c diff -u src/sys/dev/ic/ncr53c9x.c:1.137 src/sys/dev/ic/ncr53c9x.c:1.137.8.1 --- src/sys/dev/ic/ncr53c9x.c:1.137 Tue May 13 22:16:27 2008 +++ src/sys/dev/ic/ncr53c9x.c Sun May 3 13:34:25 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: ncr53c9x.c,v 1.137 2008/05/13 22:16:27 christos Exp $ */ +/* $NetBSD: ncr53c9x.c,v 1.137.8.1 2009/05/03 13:34:25 bouyer Exp $ */ /*- * Copyright (c) 1998, 2002 The NetBSD Foundation, Inc. @@ -70,7 +70,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ncr53c9x.c,v 1.137 2008/05/13 22:16:27 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ncr53c9x.c,v 1.137.8.1 2009/05/03 13:34:25 bouyer Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -469,13 +469,14 @@ ecb->xs->error = result; ncr53c9x_done(sc, ecb); } - for (i = 0; i < 256; i++) + for (i = 0; i < 256; i++) { ecb = li->queued[i]; if (ecb != NULL) { li->queued[i] = NULL; ecb->xs->error = result; ncr53c9x_done(sc, ecb); } + } li->used = 0; } }