]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sysfs: file.c: fix up broken string warnings
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 23:37:42 +0000 (16:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 23:37:42 +0000 (16:37 -0700)
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>
fs/sysfs/file.c

index 8c52e5e5ddc38812edcb705072842df9e412dade..15ef5eb13663f6828b15e619b5e801b4700a3a82 100644 (file)
@@ -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;