Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sbus db_esp() has a missing {} issue in debug code.
details: https://anonhg.NetBSD.org/src/rev/b4183244d569
branches: trunk
changeset: 359280:b4183244d569
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Feb 06 09:21:07 2018 +0000
description:
db_esp() has a missing {} issue in debug code.
diffstat:
sys/dev/sbus/esp_sbus.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (33 lines):
diff -r 516540bc2f6e -r b4183244d569 sys/dev/sbus/esp_sbus.c
--- a/sys/dev/sbus/esp_sbus.c Tue Feb 06 09:20:50 2018 +0000
+++ b/sys/dev/sbus/esp_sbus.c Tue Feb 06 09:21:07 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: esp_sbus.c,v 1.53 2014/10/18 08:33:28 snj Exp $ */
+/* $NetBSD: esp_sbus.c,v 1.54 2018/02/06 09:21:07 mrg Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: esp_sbus.c,v 1.53 2014/10/18 08:33:28 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: esp_sbus.c,v 1.54 2018/02/06 09:21:07 mrg Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -752,12 +752,13 @@
" busy %d used %x\n",
t, (int)li->lun, li->untagged, li->busy,
li->used);
- for (i = 0; i < 256; i++)
+ for (i = 0; i < 256; i++) {
ecb = li->queued[i];
if (ecb != NULL) {
db_printf("ecb %p tag %x\n",
ecb, i);
}
+ }
}
}
}
Home |
Main Index |
Thread Index |
Old Index