Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe KNF: whitespace.



details:   https://anonhg.NetBSD.org/src/rev/38d732a93da3
branches:  trunk
changeset: 749491:38d732a93da3
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Tue Dec 01 01:03:54 2009 +0000

description:
KNF: whitespace.

diffstat:

 sys/dev/raidframe/rf_netbsdkintf.c |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (57 lines):

diff -r cd8a73f82047 -r 38d732a93da3 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c        Tue Dec 01 01:01:34 2009 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c        Tue Dec 01 01:03:54 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_netbsdkintf.c,v 1.270 2009/11/21 21:57:47 christos Exp $    */
+/*     $NetBSD: rf_netbsdkintf.c,v 1.271 2009/12/01 01:03:54 dyoung Exp $      */
 /*-
  * Copyright (c) 1996, 1997, 1998, 2008 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -139,7 +139,7 @@
  ***********************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.270 2009/11/21 21:57:47 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.271 2009/12/01 01:03:54 dyoung Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -473,7 +473,7 @@
        rootID = 0;
        num_root = 0;
        cset = config_sets;
-       while(cset != NULL ) {
+       while (cset != NULL) {
                next_cset = cset->next;
                if (rf_have_enough_components(cset) &&
                    cset->ac->clabel->autoconfigure==1) {
@@ -798,7 +798,7 @@
                   here... If so, we needn't do this, but then need some
                   other way of keeping track of what's happened.. */
 
-               rf_markalldirty( raidPtrs[unit] );
+               rf_markalldirty(raidPtrs[unit]);
        }
 
 
@@ -3133,16 +3133,16 @@
               clabel->version, clabel->serial_number,
               clabel->mod_counter);
        printf("   Clean: %s Status: %d\n",
-              clabel->clean ? "Yes" : "No", clabel->status );
+              clabel->clean ? "Yes" : "No", clabel->status);
        printf("   sectPerSU: %d SUsPerPU: %d SUsPerRU: %d\n",
               clabel->sectPerSU, clabel->SUsPerPU, clabel->SUsPerRU);
        printf("   RAID Level: %c  blocksize: %d numBlocks: %d\n",
               (char) clabel->parityConfig, clabel->blockSize,
               clabel->numBlocks);
-       printf("   Autoconfig: %s\n", clabel->autoconfigure ? "Yes" : "No" );
+       printf("   Autoconfig: %s\n", clabel->autoconfigure ? "Yes" : "No");
        printf("   Contains root partition: %s\n",
-              clabel->root_partition ? "Yes" : "No" );
-       printf("   Last configured as: raid%d\n", clabel->last_unit );
+              clabel->root_partition ? "Yes" : "No");
+       printf("   Last configured as: raid%d\n", clabel->last_unit);
 #if 0
           printf("   Config order: %d\n", clabel->config_order);
 #endif



Home | Main Index | Thread Index | Old Index