Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48770
b: refs/heads/master
c: 1350770
h: refs/heads/master
v: v3
  • Loading branch information
Martin Stoilov authored and Greg Kroah-Hartman committed Feb 16, 2007
1 parent 21c566d commit f84571d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bb289bc46f3f0abeae58665242f0edb0c6ec501f
refs/heads/master: 1350770112bd9bd5696cb52deb712370012d80e0
2 changes: 1 addition & 1 deletion trunk/lib/kobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ int kobject_shadow_add(struct kobject * kobj, struct dentry *shadow_parent)
return -ENOENT;
if (!kobj->k_name)
kobj->k_name = kobj->name;
if (!kobj->k_name) {
if (!*kobj->k_name) {
pr_debug("kobject attempted to be registered with no name!\n");
WARN_ON(1);
return -EINVAL;
Expand Down

0 comments on commit f84571d

Please sign in to comment.