Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1541319pxb; Wed, 4 Nov 2020 11:41:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJyIMbh+mo0RX6Y4u0P4otLiNT4KMMU8N24JcI2RPIRTWAObKS0xYDOoJvkZ7K9YwWhMjbxZ X-Received: by 2002:aa7:dbcf:: with SMTP id v15mr19613886edt.70.1604518894461; Wed, 04 Nov 2020 11:41:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604518894; cv=none; d=google.com; s=arc-20160816; b=TJZYuK6zxJ8JrlUMjRjX9DKXrrSLyiiQOahfv/Ty/r+ZwFKFaPaWXaf9DFUqHUMJwR NYIsgjrklBlWhlYWqFlaWr1s9NQPLPbl76HuKp3HyxG3wgHIqPANYXy8k+lwbZU8QsHc Qkp7lPapz62gzvwhwzvU+8dYYx2vfNALTRuvLuD+xHRRq1hAV4iZTNQgD33maa2jHo8V TDnN+nMRN2q/iIT9Y6y+7Z2+Hcy6trkR/wxwiqGuR2jrPqi0P4Lo8tCs8dR7vDx7y3kA RYrfHbSmOjC3WMg4B4I6KYs35HXrj/lL7qCzjcNtMgbWRxoYvURgxqOaGPYNKbtjQGfL 3lqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gIlPaNy8+6SVoJoO4ZVb88BpkxEebVHAZHuNRUrqyUw=; b=Ot41d21w4dSmfKE+TfPTGc3EmU9Rfye0FH4/WytRv4AVDGqTegCBsKN1t4Uz2TWoZG mIusnN4TcWan2e0GOGV2wMKIHF0g/2GM5Ee3tCVx4p4xjfCERSo7iIQLFc6njamfrUd+ IJEtBQJhkIY1vKB4B1c4EN28Dt5zb/iFfNvhhIoSVrmHSVX2oPqYjAkMbgJeGE08vxN+ HKB5qY4u5H7ulxUCqGYxc0FQuUQA4SAZFcOgPo8rr+JcL91SSRdnJY1qXBrOcWFmW9PS g7QtlowhVWDyBkOR35aDjxsX06M3qXZi2NWV70tdtEqo4wEqgjhjFw6wTlHEDjaD08ty iFXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Jhqqa2Lz; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m6si1749046edb.517.2020.11.04.11.41.10; Wed, 04 Nov 2020 11:41:34 -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; dkim=pass header.i=@linaro.org header.s=google header.b=Jhqqa2Lz; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731255AbgKDTiS (ORCPT + 99 others); Wed, 4 Nov 2020 14:38:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730385AbgKDTgL (ORCPT ); Wed, 4 Nov 2020 14:36:11 -0500 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4C86C061A4A for ; Wed, 4 Nov 2020 11:36:10 -0800 (PST) Received: by mail-wm1-x343.google.com with SMTP id c9so3498811wml.5 for ; Wed, 04 Nov 2020 11:36:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gIlPaNy8+6SVoJoO4ZVb88BpkxEebVHAZHuNRUrqyUw=; b=Jhqqa2LzDSukPj9LW74QxWz9s/ZxSkic1kQDmHtf6J+/wT+EvuKE5GiM3/FUZYYUA/ B65Rk9z8HCY0qALSkuFJzBx2GSF7z74YaxsiqN0D4Dvj5FHotOO0LXuVS/9/CSHmfstg PMp5Lx1ZxhgrTWfwjmsHVTdXjfo32kajvGnUiKMbig7IayIE3pJjy+Hjds0R+SmCypDV FvmwIXgDuGYMAFuzB81DjZPXz5CPVbv9fa2ZbMG/tD+Sy0gTW/m9vA/xQJAW/SjkX5Dz cpws0LFWeqdjEKCOkPUzG1frh+eO7hCt1grT5OIq+72untM9vozIaij5jFKrzbF1L2tH T60A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gIlPaNy8+6SVoJoO4ZVb88BpkxEebVHAZHuNRUrqyUw=; b=Du2hd5Clv7l2AzwSV8mB4g9gL4GUVZ2cVwu/WGU8vsge7twrhuNTR+A6YOI2Ep1Fum lbwFvSCXk4Zd3xMFbGazHVc64IfuNJKQU+RQM+fuhfFENg2x1IjIfY3FidwQZkfcTIlm O0IoCtYPCY1Rx3L3FKDkdakhqV9y9rdlChkVzaJ2h0SxmRGkdZl/PP8b2zXAmGGoC15s NERyUKpBFHDuTFGKj7RQCju3N1MxNfGfYKsbB5eDkvlDfghXq+LUTawcsIkqr6R14DAa rsDtHTvrRNzLmjLcCT8WTBLlLve8+d814Y1mBO+0EzTEcCB1bYw+I0Ur9aTNkglGgNbf zBkA== X-Gm-Message-State: AOAM532T7J/s8UwwYrqKEtlFzQVGBEGnL/Fob/Yf6QmffCcEPSy1kyyj sy3JN2Tz30GDB7Zvys9vcZVwsg== X-Received: by 2002:a1c:6043:: with SMTP id u64mr6069151wmb.166.1604518569469; Wed, 04 Nov 2020 11:36:09 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id x10sm4034444wrp.62.2020.11.04.11.36.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 11:36:08 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby Subject: [PATCH 07/36] tty: tty_jobctrl: Add missing function parameter descriptions Date: Wed, 4 Nov 2020 19:35:20 +0000 Message-Id: <20201104193549.4026187-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201104193549.4026187-1-lee.jones@linaro.org> References: <20201104193549.4026187-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/tty/tty_jobctrl.c:32: warning: Function parameter or member 'sig' not described in '__tty_check_change' drivers/tty/tty_jobctrl.c:95: warning: Function parameter or member 'tty' not described in '__proc_set_tty' drivers/tty/tty_jobctrl.c:344: warning: Function parameter or member 'file' not described in 'tiocsctty' Cc: Greg Kroah-Hartman Cc: Jiri Slaby Signed-off-by: Lee Jones --- drivers/tty/tty_jobctrl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/tty/tty_jobctrl.c b/drivers/tty/tty_jobctrl.c index 28a23a0fef21c..2054e4164c660 100644 --- a/drivers/tty/tty_jobctrl.c +++ b/drivers/tty/tty_jobctrl.c @@ -21,6 +21,7 @@ static int is_ignored(int sig) /** * tty_check_change - check for POSIX terminal changes * @tty: tty to check + * @sig: signal to send * * If we try to write to, or set the state of, a terminal and we're * not in the foreground, send a SIGTTOU. If the signal is blocked or @@ -83,6 +84,7 @@ void proc_clear_tty(struct task_struct *p) /** * proc_set_tty - set the controlling terminal + * @tty: tty structure * * Only callable by the session leader and only if it does not already have * a controlling terminal. @@ -330,6 +332,7 @@ void no_tty(void) /** * tiocsctty - set controlling tty * @tty: tty structure + * @file: file structure used to check permissions * @arg: user argument * * This ioctl is used to manage job control. It permits a session -- 2.25.1