summaryrefslogtreecommitdiffstats
path: root/fs/sysfs
diff options
context:
space:
mode:
authorJohannes Thumshirn <jthumshirn@suse.de>2016-09-19 10:14:54 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-27 12:24:29 +0200
commit78618d395b65fadb2937a985308c3a4d2897ade2 (patch)
tree15fb6f2f2d2bbb82a5313b3b010c38c6a253fb26 /fs/sysfs
parent6ee6d1cb391ca85b419f8d18bdfb1f020a5e859c (diff)
downloadlinux-78618d395b65fadb2937a985308c3a4d2897ade2.tar.bz2
sysfs print name of undiscoverable attribute group
Print the name of an undiscoverable attribute group and not the pointer's address. Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/sysfs')
-rw-r--r--fs/sysfs/group.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/sysfs/group.c b/fs/sysfs/group.c
index dc1358b5ec95..ac2de0ed69ad 100644
--- a/fs/sysfs/group.c
+++ b/fs/sysfs/group.c
@@ -233,8 +233,8 @@ void sysfs_remove_group(struct kobject *kobj,
kn = kernfs_find_and_get(parent, grp->name);
if (!kn) {
WARN(!kn, KERN_WARNING
- "sysfs group %p not found for kobject '%s'\n",
- grp, kobject_name(kobj));
+ "sysfs group '%s' not found for kobject '%s'\n",
+ grp->name, kobject_name(kobj));
return;
}
} else {