Skip to contentSkip to conversation

Staging: gasket: sysfs: Fix string split issue.

PATCH In review Sanjana Sanikommu 2 participants 2 messages Mar 18, 2019 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 Staging: gasket: sysfs: Fix string split issue.

Concatenate a multi-line string constant into a single line.Issue found by checkpatch.pl.

WARNING:quoted string split across line.

---
Changes in v3:
Correct the subject line.

Changes in v2:
Fix the subject line.

 drivers/staging/gasket/gasket_sysfs.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
drivers/staging/gasket/gasket_sysfs.c +3 -6
index fc45f0d13e87..a2d67c28f530 100644
@@ -223,8 +223,7 @@ int gasket_sysfs_create_entries(struct device *device,
 
 	if (!mapping) {
 		dev_dbg(device,
-			"Creating entries for device without first "
-			"initializing mapping\n");
+			"Creating entries for device without first initializing mapping\n");
 		return -EINVAL;
 	}
 
@@ -233,8 +232,7 @@ int gasket_sysfs_create_entries(struct device *device,
 		i++) {
 		if (mapping->attribute_count == GASKET_SYSFS_MAX_NODES) {
 			dev_err(device,
-				"Maximum number of sysfs nodes reached for "
-				"device\n");
+				"Maximum number of sysfs nodes reached for device\n");
 			mutex_unlock(&mapping->mutex);
 			put_mapping(mapping);
 			return -ENOMEM;
@@ -264,8 +262,7 @@ void gasket_sysfs_remove_mapping(struct device *device)
 
 	if (!mapping) {
 		dev_err(device,
-			"Attempted to remove non-existent sysfs mapping to "
-			"device\n");
+			"Attempted to remove non-existent sysfs mapping to device\n");
 		return;
 	}
 
Signature · 1 line
2.17.1
maintainer
#1 lore raw
Quoted 9 lines · Sanjana Sanikommu

Concatenate a multi-line string constant into a single line.Issue found by checkpatch.pl.

WARNING:quoted string split across line.

---
Changes in v3:
Correct the subject line.

This patch is already in my tree.

thanks,

greg k-h