drivers: staging: lustre: Fix "spaces required around that '='" errors
authorGreg Donald <gdonald@gmail.com>
Mon, 20 Oct 2014 16:42:36 +0000 (11:42 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2014 08:30:28 +0000 (16:30 +0800)
Fix checkpatch.pl "spaces required around that '='" errors

Signed-off-by: Greg Donald <gdonald@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/super25.c
drivers/staging/lustre/lustre/obdclass/genops.c

index e61dbed120a32a30c4222c41ead6eb21d6e5c5f8..6aff155651ccdd996c0ed501fc735c796002c844 100644 (file)
@@ -162,7 +162,7 @@ static int __init init_lustre_lite(void)
 
        /* Nodes with small feet have little entropy
         * the NID for this node gives the most entropy in the low bits */
-       for (i=0; ; i++) {
+       for (i = 0; ; i++) {
                if (LNetGetId(i, &lnet_id) == -ENOENT) {
                        break;
                }
index b6592ee54c48c6dca3a2b3cfdab0c091c15427a4..ac8db2f980784b04384c5ca8d9798be315f101fd 100644 (file)
@@ -317,7 +317,7 @@ struct obd_device *class_newdev(const char *type_name, const char *name)
                                         result->obd_minor, new_obd_minor);
 
                                obd_devs[result->obd_minor] = NULL;
-                               result->obd_name[0]='\0';
+                               result->obd_name[0] = '\0';
                         }
                        result = ERR_PTR(-EEXIST);
                        break;