Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1978531pxf; Sat, 13 Mar 2021 04:00:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJxLh1h3OlipTFXuihD3ZbYkUYfEpEL3etKnzict1ICFnQVV7ErIQrTs+H3NMhrTmyLyobsK X-Received: by 2002:a17:906:fcb2:: with SMTP id qw18mr13247204ejb.434.1615636858808; Sat, 13 Mar 2021 04:00:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615636858; cv=none; d=google.com; s=arc-20160816; b=C0CTRs6xBBnQpUWZy+85WhzKzWDqsPoVzGTBNKKo77LWLCVEPMF+/nv8hv0WCiQzx0 X+fBmd6Uopb8M9PF3yfod0jkYU+mD69hyC6VEuBMs45qscQF3XeuxNqBAz+AJmbutdBg Wprp3J13dH0C6BxH/XiHuqWJiJpO/AaId1V2x5GbVXAyZB1RGvWdiVpardYDh0T5tigN XREl2RQsSK7lFDcwPqvAvVyGGZx48LrDCcFHLlv88lf0dU2u7eeKZ2Ezw4xbgpbnRmDf RWPb3AM83M6+hU6HeoAP8PZIkaZ73glmcA3BbFcoKFElNYRWTsRznu7ypoy7eMgr71lT Gpgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=ADQXq5S5lRBe17tfpDp2QIz2aZth50lU+sMgu/ljCeI=; b=JULgL18u09JUVoHz5kbyJeLOHi3zcrwSx2e8pUjfrSRhFkxbXjy4pr/9AT1WXGq4bD peY285gVsNv3Lxy75c2aaU9auV8zZAmbmquxPNnSGjQp9H2/LYsABtc89u16FIY7GvtV Rhj1y11N+eh24pcVtLgnNoO3B62fXObh1dY82zy0jTw0lhY/fqOGrc2lP1qqdKXbjgA6 uPEKc6sOiFaZecfaHlTDlq8J6NO/OwigKUoZxECPnOmI9TMQwk/S3OCQytGovEIYftbS 0FIQs8Tg0AyxJD9e3UGJww99uQb2w1td8VrJ/Eko+uQcLFQjFJsW5e5613pY4h+aLttx cV8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n7si6611993ejc.483.2021.03.13.04.00.35; Sat, 13 Mar 2021 04:00:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233114AbhCML5f (ORCPT + 99 others); Sat, 13 Mar 2021 06:57:35 -0500 Received: from mail-m17640.qiye.163.com ([59.111.176.40]:60720 "EHLO mail-m17640.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231597AbhCML5K (ORCPT ); Sat, 13 Mar 2021 06:57:10 -0500 X-Greylist: delayed 408 seconds by postgrey-1.27 at vger.kernel.org; Sat, 13 Mar 2021 06:57:10 EST Received: from ubuntu.localdomain (unknown [36.152.145.182]) by mail-m17640.qiye.163.com (Hmail) with ESMTPA id 179B5540216; Sat, 13 Mar 2021 19:50:18 +0800 (CST) From: zhouchuangao To: Luis Chamberlain , linux-kernel@vger.kernel.org Cc: zhouchuangao Subject: [PATCH] umh: fix some spelling mistakes Date: Sat, 13 Mar 2021 03:48:59 -0800 Message-Id: <1615636139-4076-1-git-send-email-zhouchuangao@vivo.com> X-Mailer: git-send-email 2.7.4 X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZTRkZTxlISR9CTEpKVkpNSk5NSE1JSkNKTExVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKSkNITVVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6PiI6Lxw5Ej8WA1ExMzA#Ezc4 LiNPCRdVSlVKTUpOTUhNSUpDTk1LVTMWGhIXVQETFA4YEw4aFRwaFDsNEg0UVRgUFkVZV1kSC1lB WUhNVUpOSVVKT05VSkNJWVdZCAFZQUlPSUo3Bg++ X-HM-Tid: 0a782b6c4127d995kuws179b5540216 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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