Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67965
b: refs/heads/master
c: ccd490a
h: refs/heads/master
i:
  67963: fe9267d
v: v3
  • Loading branch information
Kay Sievers authored and Greg Kroah-Hartman committed Oct 12, 2007
1 parent de4fec9 commit e65d6ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 7ac1cf4a87f446c130f7d8a4fe7e519f532a11de
refs/heads/master: ccd490a3c3d9c5960c738c2720fb2dc6830bc334
8 changes: 4 additions & 4 deletions trunk/lib/kobject_uevent.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ int kobject_action_type(const char *buf, size_t count,
/**
* kobject_uevent_env - send an uevent with environmental data
*
* @action: action that is happening (usually KOBJ_MOVE)
* @action: action that is happening
* @kobj: struct kobject that the action is happening to
* @envp_ext: pointer to environmental data
*
Expand All @@ -102,9 +102,9 @@ int kobject_uevent_env(struct kobject *kobj, enum kobject_action action,

/* search the kset we belong to */
top_kobj = kobj;
while (!top_kobj->kset && top_kobj->parent) {
while (!top_kobj->kset && top_kobj->parent)
top_kobj = top_kobj->parent;
}

if (!top_kobj->kset) {
pr_debug("kobject attempted to send uevent without kset!\n");
return -EINVAL;
Expand Down Expand Up @@ -237,7 +237,7 @@ EXPORT_SYMBOL_GPL(kobject_uevent_env);
/**
* kobject_uevent - notify userspace by ending an uevent
*
* @action: action that is happening (usually KOBJ_ADD and KOBJ_REMOVE)
* @action: action that is happening
* @kobj: struct kobject that the action is happening to
*
* Returns 0 if kobject_uevent() is completed with success or the
Expand Down

0 comments on commit e65d6ba

Please sign in to comment.