diff options
Diffstat (limited to 'fs/sysfs/group.c')
-rw-r--r-- | fs/sysfs/group.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysfs/group.c b/fs/sysfs/group.c index 7d2a860ba788..2554d8835b48 100644 --- a/fs/sysfs/group.c +++ b/fs/sysfs/group.c | |||
@@ -99,7 +99,7 @@ static int internal_create_group(struct kobject *kobj, int update, | |||
99 | return -EINVAL; | 99 | return -EINVAL; |
100 | if (!grp->attrs && !grp->bin_attrs) { | 100 | if (!grp->attrs && !grp->bin_attrs) { |
101 | WARN(1, "sysfs: (bin_)attrs not set by subsystem for group: %s/%s\n", | 101 | WARN(1, "sysfs: (bin_)attrs not set by subsystem for group: %s/%s\n", |
102 | kobj->name, grp->name ? "" : grp->name); | 102 | kobj->name, grp->name ?: ""); |
103 | return -EINVAL; | 103 | return -EINVAL; |
104 | } | 104 | } |
105 | if (grp->name) { | 105 | if (grp->name) { |