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
338 * @argv: arg vector for process338 * @argv: arg vector for process
339 * @envp: environment for process339 * @envp: environment for process
340 * @gfp_mask: gfp mask for memory allocation340 * @gfp_mask: gfp mask for memory allocation
341 * @cleanup: a cleanup function
342 * @init: an init function341 * @init: an init function
342 * @cleanup: a cleanup function
343 * @data: arbitrary context sensitive data343 * @data: arbitrary context sensitive data
344 *344 *
345 * Returns either %NULL on allocation failure, or a subprocess_info345 * Returns either %NULL on allocation failure, or a subprocess_info
@@ -350,7 +350,7 @@ static void helper_unlock(void) · 4 unmodified lines
350 * exec. A non-zero return code causes the process to error out, exit,350 * exec. A non-zero return code causes the process to error out, exit,
351 * and return the failure to the calling process351 * and return the failure to the calling process
352 *352 *
353 * The cleanup function is just before ethe subprocess_info is about to353 * The cleanup function is just before the subprocess_info is about to
354 * be freed. This can be used for freeing the argv and envp. The354 * be freed. This can be used for freeing the argv and envp. The
355 * Function must be runnable in either a process context or the355 * Function must be runnable in either a process context or the
356 * context in which call_usermodehelper_exec is called.356 * context in which call_usermodehelper_exec is called.
@@ -386,7 +386,7 @@ EXPORT_SYMBOL(call_usermodehelper_setup); · 29 unmodified lines
386 386
387/**387/**
388 * call_usermodehelper_exec - start a usermode application388 * call_usermodehelper_exec - start a usermode application
389 * @sub_info: information about the subprocessa389 * @sub_info: information about the subprocess
390 * @wait: wait for the application to finish and return status.390 * @wait: wait for the application to finish and return status.
391 * when UMH_NO_WAIT don't wait at all, but you get no useful error back391 * when UMH_NO_WAIT don't wait at all, but you get no useful error back
392 * when the program couldn't be exec'ed. This makes it safe to call392 * 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