Skip to contentSkip to conversation

drivers: staging: lustre: Fix "spaces required around that '='" errors

PATCH New Greg Donald 1 participant 1 message Oct 20, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers: staging: lustre: Fix "spaces required around that '='" errors

Fix checkpatch.pl "spaces required around that '='" errors

---
 drivers/staging/lustre/lustre/llite/super25.c   | 2 +-
 drivers/staging/lustre/lustre/obdclass/genops.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/lustre/lustre/llite/super25.c +1 -1
index e61dbed..6aff155 100644
@@ -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;
 		}
drivers/staging/lustre/lustre/obdclass/genops.c +1 -1
index c314e9c..540ff4e 100644
@@ -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;
Signature · 1 line
1.9.1