Skip to content

Commit 48207f7

Browse files
zhouchuangaotorvalds
authored andcommitted
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. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: zhouchuangao <[email protected]> Acked-by: Luis Chamberlain <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 2eb70aa commit 48207f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kernel/umh.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@ static void helper_unlock(void)
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)
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);
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

0 commit comments

Comments
 (0)