summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-21 16:37:42 -0700
committerMaciej Wereski <m.wereski@partner.samsung.com>2015-03-23 18:33:30 +0100
commit12b81f453fe8f71000e85a4b30023de8f4f7ad75 (patch)
treeb950cf5c2fa0ccd4d8f7e3e61d1baac7d290884b
parentfdc2f80be2ef15d0fe8d354a70327a7d7c7c53f4 (diff)
downloadlinux-3.10-12b81f453fe8f71000e85a4b30023de8f4f7ad75.tar.gz
linux-3.10-12b81f453fe8f71000e85a4b30023de8f4f7ad75.tar.bz2
linux-3.10-12b81f453fe8f71000e85a4b30023de8f4f7ad75.zip
sysfs: file.c: fix up broken string warnings
This fixes the coding style warnings in fs/sysfs/file.c for broken strings across lines. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--fs/sysfs/file.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c
index 8c52e5e5ddc..15ef5eb1366 100644
--- a/fs/sysfs/file.c
+++ b/fs/sysfs/file.c
@@ -336,8 +336,9 @@ static int sysfs_open_file(struct inode *inode, struct file *file)
if (kobj->ktype && kobj->ktype->sysfs_ops)
ops = kobj->ktype->sysfs_ops;
else {
- WARN(1, KERN_ERR "missing sysfs attribute operations for "
- "kobject: %s\n", kobject_name(kobj));
+ WARN(1, KERN_ERR
+ "missing sysfs attribute operations for kobject: %s\n",
+ kobject_name(kobj));
goto err_out;
}
@@ -515,8 +516,9 @@ static int sysfs_attr_ns(struct kobject *kobj, const struct attribute *attr,
ns = ops->namespace(kobj, attr);
out:
if (err) {
- WARN(1, KERN_ERR "missing sysfs namespace attribute operation for "
- "kobject: %s\n", kobject_name(kobj));
+ WARN(1, KERN_ERR
+ "missing sysfs namespace attribute operation for kobject: %s\n",
+ kobject_name(kobj));
}
*pns = ns;
return err;