Skip to contentSkip to conversation

staging: lustre: Fix spacing error in libcfs_string.c

PATCH In review Nickolaus Woodruff 2 participants 2 messages Jan 11, 2015 – Jan 18, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: lustre: Fix spacing error in libcfs_string.c

This patch fixes the following checkpatch.pl error in libcfs_string.c:

ERROR: spaces required around that '='

---
 drivers/staging/lustre/lustre/libcfs/libcfs_string.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/lustre/lustre/libcfs/libcfs_string.c +1 -1
index fb88733..e67a18d 100644
@@ -132,7 +132,7 @@ char *cfs_firststr(char *str, size_t size)
 		++end;
 	}
 
-	*end= '\0';
+	*end = '\0';
 out:
 	return str;
 }
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 24 lines · Nickolaus Woodruff

This patch fixes the following checkpatch.pl error in libcfs_string.c:

ERROR: spaces required around that '='

---
 drivers/staging/lustre/lustre/libcfs/libcfs_string.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/lustre/lustre/libcfs/libcfs_string.c +1 -1
index fb88733..e67a18d 100644
@@ -132,7 +132,7 @@ char *cfs_firststr(char *str, size_t size)
 		++end;
 	}
 
-	*end= '\0';
+	*end = '\0';
 out:
 	return str;
 }
Signature · 1 line
1.9.1

Someone already sent this patch before you did, sorry.

greg k-h