diff options
-rw-r--r-- | fs/sysfs/group.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/sysfs/group.c b/fs/sysfs/group.c index f4a9d221cbe6..642700131dd5 100644 --- a/fs/sysfs/group.c +++ b/fs/sysfs/group.c | |||
@@ -198,8 +198,9 @@ void sysfs_remove_group(struct kobject *kobj, | |||
198 | if (grp->name) { | 198 | if (grp->name) { |
199 | sd = sysfs_get_dirent(dir_sd, NULL, grp->name); | 199 | sd = sysfs_get_dirent(dir_sd, NULL, grp->name); |
200 | if (!sd) { | 200 | if (!sd) { |
201 | WARN(!sd, KERN_WARNING "sysfs group %p not found for " | 201 | WARN(!sd, KERN_WARNING |
202 | "kobject '%s'\n", grp, kobject_name(kobj)); | 202 | "sysfs group %p not found for kobject '%s'\n", |
203 | grp, kobject_name(kobj)); | ||
203 | return; | 204 | return; |
204 | } | 205 | } |
205 | } else | 206 | } else |