Commit ccd490a3 authored by Kay Sievers's avatar Kay Sievers Committed by Greg Kroah-Hartman

Driver core: kerneldoc - kobject_uevent_env is not "usually KOBJ_MOVE"

Signed-off-by: default avatarKay Sievers <kay.sievers@vrfy.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 7ac1cf4a
...@@ -77,7 +77,7 @@ int kobject_action_type(const char *buf, size_t count, ...@@ -77,7 +77,7 @@ int kobject_action_type(const char *buf, size_t count,
/** /**
* kobject_uevent_env - send an uevent with environmental data * 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 * @kobj: struct kobject that the action is happening to
* @envp_ext: pointer to environmental data * @envp_ext: pointer to environmental data
* *
...@@ -102,9 +102,9 @@ int kobject_uevent_env(struct kobject *kobj, enum kobject_action action, ...@@ -102,9 +102,9 @@ int kobject_uevent_env(struct kobject *kobj, enum kobject_action action,
/* search the kset we belong to */ /* search the kset we belong to */
top_kobj = kobj; top_kobj = kobj;
while (!top_kobj->kset && top_kobj->parent) { while (!top_kobj->kset && top_kobj->parent)
top_kobj = top_kobj->parent; top_kobj = top_kobj->parent;
}
if (!top_kobj->kset) { if (!top_kobj->kset) {
pr_debug("kobject attempted to send uevent without kset!\n"); pr_debug("kobject attempted to send uevent without kset!\n");
return -EINVAL; return -EINVAL;
...@@ -237,7 +237,7 @@ EXPORT_SYMBOL_GPL(kobject_uevent_env); ...@@ -237,7 +237,7 @@ EXPORT_SYMBOL_GPL(kobject_uevent_env);
/** /**
* kobject_uevent - notify userspace by ending an uevent * 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 * @kobj: struct kobject that the action is happening to
* *
* Returns 0 if kobject_uevent() is completed with success or the * Returns 0 if kobject_uevent() is completed with success or the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment