Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp700/hp700 KNF



details:   https://anonhg.NetBSD.org/src/rev/50abb212d43a
branches:  trunk
changeset: 753996:50abb212d43a
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Apr 15 14:34:25 2010 +0000

description:
KNF

diffstat:

 sys/arch/hp700/hp700/mainbus.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (34 lines):

diff -r a6ca38b0acde -r 50abb212d43a sys/arch/hp700/hp700/mainbus.c
--- a/sys/arch/hp700/hp700/mainbus.c    Thu Apr 15 14:33:22 2010 +0000
+++ b/sys/arch/hp700/hp700/mainbus.c    Thu Apr 15 14:34:25 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mainbus.c,v 1.65 2010/04/15 14:33:22 skrll Exp $       */
+/*     $NetBSD: mainbus.c,v 1.66 2010/04/15 14:34:25 skrll Exp $       */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.65 2010/04/15 14:33:22 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.66 2010/04/15 14:34:25 skrll Exp $");
 
 #include "locators.h"
 #include "power.h"
@@ -1592,11 +1592,11 @@
                    pnp, ca->ca_type.iodc_type, ca->ca_type.iodc_sv_model);
        if (ca->ca_hpa) {
                aprint_normal(" hpa 0x%lx path ", ca->ca_hpa);
-               for (n = 0 ; n < 6 ; n++) {
-                       if ( ca->ca_dp.dp_bc[n] >= 0)
-                               aprint_normal( "%d/", ca->ca_dp.dp_bc[n]);
+               for (n = 0; n < 6; n++) {
+                       if (ca->ca_dp.dp_bc[n] >= 0)
+                               aprint_normal("%d/", ca->ca_dp.dp_bc[n]);
                }
-               aprint_normal( "%d", ca->ca_dp.dp_mod);
+               aprint_normal("%d", ca->ca_dp.dp_mod);
                if (!pnp && ca->ca_irq >= 0) {
                        aprint_normal(" irq %d", ca->ca_irq);
                        if (ca->ca_type.iodc_type != HPPA_TYPE_BHA)



Home | Main Index | Thread Index | Old Index