linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] umh: fix some spelling mistakes
@ 2021-03-13 11:48 zhouchuangao
  2021-03-15 20:26 ` Luis Chamberlain
  0 siblings, 1 reply; 2+ messages in thread
From: zhouchuangao @ 2021-03-13 11:48 UTC (permalink / raw)
  To: Luis Chamberlain, linux-kernel; +Cc: zhouchuangao

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.

Signed-off-by: zhouchuangao <zhouchuangao@vivo.com>
---
 kernel/umh.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/kernel/umh.c b/kernel/umh.c
index 3f64661..3a337a5 100644
--- a/kernel/umh.c
+++ b/kernel/umh.c
@@ -336,8 +336,8 @@ static void helper_unlock(void)
  * @argv: arg vector for process
  * @envp: environment for process
  * @gfp_mask: gfp mask for memory allocation
- * @cleanup: a cleanup function
  * @init: an init function
+ * @cleanup: a cleanup function
  * @data: arbitrary context sensitive data
  *
  * Returns either %NULL on allocation failure, or a subprocess_info
@@ -348,7 +348,7 @@ static void helper_unlock(void)
  * exec.  A non-zero return code causes the process to error out, exit,
  * and return the failure to the calling process
  *
- * The cleanup function is just before ethe subprocess_info is about to
+ * The cleanup function is just before the subprocess_info is about to
  * be freed.  This can be used for freeing the argv and envp.  The
  * Function must be runnable in either a process context or the
  * context in which call_usermodehelper_exec is called.
@@ -384,7 +384,7 @@ EXPORT_SYMBOL(call_usermodehelper_setup);
 
 /**
  * call_usermodehelper_exec - start a usermode application
- * @sub_info: information about the subprocessa
+ * @sub_info: information about the subprocess
  * @wait: wait for the application to finish and return status.
  *        when UMH_NO_WAIT don't wait at all, but you get no useful error back
  *        when the program couldn't be exec'ed. This makes it safe to call
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] umh: fix some spelling mistakes
  2021-03-13 11:48 [PATCH] umh: fix some spelling mistakes zhouchuangao
@ 2021-03-15 20:26 ` Luis Chamberlain
  0 siblings, 0 replies; 2+ messages in thread
From: Luis Chamberlain @ 2021-03-15 20:26 UTC (permalink / raw)
  To: zhouchuangao, Andrew Morton; +Cc: linux-kernel

On Sat, Mar 13, 2021 at 03:48:59AM -0800, zhouchuangao wrote:
> 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.
> 
> Signed-off-by: zhouchuangao <zhouchuangao@vivo.com>

Acked-by: Luis Chamberlain <mcgrof@kernel.org>

  Luis

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-15 20:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-13 11:48 [PATCH] umh: fix some spelling mistakes zhouchuangao
2021-03-15 20:26 ` Luis Chamberlain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).