Commit f6e6e7799ebcad40fa15e4015beca2d776554302

Authored by Xiaotian Feng
Committed by Greg Kroah-Hartman
1 parent f45f3c1f3f

kobject_uevent: fix typo in comments

s/ending/sending, s/kobject_uevent()/kobject_uevent_env() in the comments.

Signed-off-by: Xiaotian Feng <xtfeng@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

lib/kobject_uevent.c
... ... @@ -123,7 +123,7 @@
123 123 * @kobj: struct kobject that the action is happening to
124 124 * @envp_ext: pointer to environmental data
125 125 *
126   - * Returns 0 if kobject_uevent() is completed with success or the
  126 + * Returns 0 if kobject_uevent_env() is completed with success or the
127 127 * corresponding error when it fails.
128 128 */
129 129 int kobject_uevent_env(struct kobject *kobj, enum kobject_action action,
... ... @@ -317,7 +317,7 @@
317 317 EXPORT_SYMBOL_GPL(kobject_uevent_env);
318 318  
319 319 /**
320   - * kobject_uevent - notify userspace by ending an uevent
  320 + * kobject_uevent - notify userspace by sending an uevent
321 321 *
322 322 * @action: action that is happening
323 323 * @kobj: struct kobject that the action is happening to