History

kernel/umh.c: fix some spelling mistakes

Fix some spelling mistakes, and modify the order of the parameter comments to be consistent with the order of the parameters passed to the function.

zhouchuangao committed 5 years ago

Commit 48207f71 parent 2eb70aa1 file · +3 −3Browse files

Unified · Split

kernel/umh.c+3−3
@@ -338,8 +338,8 @@ static void helper_unlock(void) · 337 unmodified lines
338338 * @argv: arg vector for process
339339 * @envp: environment for process
340340 * @gfp_mask: gfp mask for memory allocation
341− * @cleanup: a cleanup function
342341 * @init: an init function
342+ * @cleanup: a cleanup function
343343 * @data: arbitrary context sensitive data
344344 *
345345 * Returns either %NULL on allocation failure, or a subprocess_info
@@ -350,7 +350,7 @@ static void helper_unlock(void) · 4 unmodified lines
350350 * exec. A non-zero return code causes the process to error out, exit,
351351 * and return the failure to the calling process
352352 *
353− * The cleanup function is just before ethe subprocess_info is about to
353+ * The cleanup function is just before the subprocess_info is about to
354354 * be freed. This can be used for freeing the argv and envp. The
355355 * Function must be runnable in either a process context or the
356356 * context in which call_usermodehelper_exec is called.
@@ -386,7 +386,7 @@ EXPORT_SYMBOL(call_usermodehelper_setup); · 29 unmodified lines
386386
387387 /**
388388 * call_usermodehelper_exec - start a usermode application
389− * @sub_info: information about the subprocessa
389+ * @sub_info: information about the subprocess
390390 * @wait: wait for the application to finish and return status.
391391 * when UMH_NO_WAIT don't wait at all, but you get no useful error back
392392 * when the program couldn't be exec'ed. This makes it safe to call

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t