projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/fs/sysfs/group.c
b/fs/sysfs/group.c
index dc1358b5ec95814c4e0f0ca0bec3d2b847029b24..ac2de0ed69adfc52db87dbd89391c030179e45c1 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 {