OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ee6d1c
)
sysfs print name of undiscoverable attribute group
author
Johannes Thumshirn
<jthumshirn@suse.de>
Mon, 19 Sep 2016 08:14:54 +0000
(10:14 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 27 Sep 2016 10:24:29 +0000
(12:24 +0200)
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>
fs/sysfs/group.c
patch
|
blob
|
history
diff --git
a/fs/sysfs/group.c
b/fs/sysfs/group.c
index
dc1358b
..
ac2de0e
100644
(file)
--- 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 {