Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187063
b: refs/heads/master
c: 3f5468c
h: refs/heads/master
i:
  187061: c439bee
  187059: 4591369
  187055: f9ddaaf
v: v3
  • Loading branch information
Kay Sievers authored and Greg Kroah-Hartman committed Mar 8, 2010
1 parent 47e147c commit 73d9667
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 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: 7934779a69f1184f29d786b89e77dd14519bd226
refs/heads/master: 3f5468c9ae293cbca43e4ffe6ca3b3235189042a
11 changes: 3 additions & 8 deletions trunk/drivers/base/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,15 +306,10 @@ static ssize_t store_uevent(struct device *dev, struct device_attribute *attr,
{
enum kobject_action action;

if (kobject_action_type(buf, count, &action) == 0) {
if (kobject_action_type(buf, count, &action) == 0)
kobject_uevent(&dev->kobj, action);
goto out;
}

dev_err(dev, "uevent: unsupported action-string; this will "
"be ignored in a future kernel version\n");
kobject_uevent(&dev->kobj, KOBJ_ADD);
out:
else
dev_err(dev, "uevent: unknown action-string\n");
return count;
}

Expand Down

0 comments on commit 73d9667

Please sign in to comment.