Skip to content

Commit

Permalink
sysfs: file.c: fix up broken string warnings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Kroah-Hartman committed Aug 21, 2013
1 parent 37814ee commit 07ac62a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions fs/sysfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 07ac62a

Please sign in to comment.