Commit 07ac62a6 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 37814ee0
...@@ -336,8 +336,9 @@ static int sysfs_open_file(struct inode *inode, struct file *file) ...@@ -336,8 +336,9 @@ static int sysfs_open_file(struct inode *inode, struct file *file)
if (kobj->ktype && kobj->ktype->sysfs_ops) if (kobj->ktype && kobj->ktype->sysfs_ops)
ops = kobj->ktype->sysfs_ops; ops = kobj->ktype->sysfs_ops;
else { else {
WARN(1, KERN_ERR "missing sysfs attribute operations for " WARN(1, KERN_ERR
"kobject: %s\n", kobject_name(kobj)); "missing sysfs attribute operations for kobject: %s\n",
kobject_name(kobj));
goto err_out; goto err_out;
} }
...@@ -515,8 +516,9 @@ static int sysfs_attr_ns(struct kobject *kobj, const struct attribute *attr, ...@@ -515,8 +516,9 @@ static int sysfs_attr_ns(struct kobject *kobj, const struct attribute *attr,
ns = ops->namespace(kobj, attr); ns = ops->namespace(kobj, attr);
out: out:
if (err) { if (err) {
WARN(1, KERN_ERR "missing sysfs namespace attribute operation for " WARN(1, KERN_ERR
"kobject: %s\n", kobject_name(kobj)); "missing sysfs namespace attribute operation for kobject: %s\n",
kobject_name(kobj));
} }
*pns = ns; *pns = ns;
return err; return err;
......
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