Commit c127e22f authored by Sanjana Sanikommu's avatar Sanjana Sanikommu Committed by Greg Kroah-Hartman

Staging: gasket: gasket_sysfs.c: 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.
Signed-off-by: default avatarSanjana Sanikommu <sanjana99reddy99@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ffe5a0a1
...@@ -223,8 +223,7 @@ int gasket_sysfs_create_entries(struct device *device, ...@@ -223,8 +223,7 @@ int gasket_sysfs_create_entries(struct device *device,
if (!mapping) { if (!mapping) {
dev_dbg(device, dev_dbg(device,
"Creating entries for device without first " "Creating entries for device without first initializing mapping\n");
"initializing mapping\n");
return -EINVAL; return -EINVAL;
} }
...@@ -233,8 +232,7 @@ int gasket_sysfs_create_entries(struct device *device, ...@@ -233,8 +232,7 @@ int gasket_sysfs_create_entries(struct device *device,
i++) { i++) {
if (mapping->attribute_count == GASKET_SYSFS_MAX_NODES) { if (mapping->attribute_count == GASKET_SYSFS_MAX_NODES) {
dev_err(device, dev_err(device,
"Maximum number of sysfs nodes reached for " "Maximum number of sysfs nodes reached for device\n");
"device\n");
mutex_unlock(&mapping->mutex); mutex_unlock(&mapping->mutex);
put_mapping(mapping); put_mapping(mapping);
return -ENOMEM; return -ENOMEM;
...@@ -264,8 +262,7 @@ void gasket_sysfs_remove_mapping(struct device *device) ...@@ -264,8 +262,7 @@ void gasket_sysfs_remove_mapping(struct device *device)
if (!mapping) { if (!mapping) {
dev_err(device, dev_err(device,
"Attempted to remove non-existent sysfs mapping to " "Attempted to remove non-existent sysfs mapping to device\n");
"device\n");
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment