From patchwork Wed Nov 4 19:35:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11882019 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A1ED114C0 for ; Wed, 4 Nov 2020 19:36:10 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 474DB2065D for ; Wed, 4 Nov 2020 19:36:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZWy8vY2e"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tPpnG9Xq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 474DB2065D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=wt0amw+HYjYMz7LtQUKdwuiF7R5tFWj7pewjMxUPqy0=; b=ZWy8vY2egg3CJzbB8YqEVHzBFT wNzM86rxihRu/9dOe/Ag3dbvvXJ+vF0viBuGWkKF8e+0RVhKY308YCm/UTV6VmTkeK1qECYn3cIc/ 3acJkZrsYzLJU7kWM372JlmyQE1DwPAWvfwbH/MHMuO1FR9SGV6UcTvQRWjYT144YrPzfwG9jY8Wy SXB7dI4oWBGG88ImQtoOJ9uCwrmNeCHf6yr0AUlVxXuvJwzQr+2nL7jCcUyAeRwBItOYqLhqe3H0P Ed9Zwd9aTvhQD8s2Hhj2zLI4aCrjDezPHEEVKJvtS8UZ3iMrrr56YG0O+1ihL+XQfzBeD2ucEso8b NBMBqlBw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaOZi-0001ME-Uc; Wed, 04 Nov 2020 19:36:06 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kaOZd-0001IN-AR for linux-riscv@lists.infradead.org; Wed, 04 Nov 2020 19:36:05 +0000 Received: by mail-wm1-x32c.google.com with SMTP id p22so3512488wmg.3 for ; Wed, 04 Nov 2020 11:35:55 -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:mime-version :content-transfer-encoding; bh=jxJovM8uDqxzTsn9dVqfv0BrrWZVdtSmY0ZF8ZUveX8=; b=tPpnG9Xq0fL6ljrah9eqo6gIO+7EFirJIIvgiced9ycP88Q8KlHpshTpZKcvgizvJN DqVDEBLns8yBcUkmpYWgGUSuOeuHwc3TbeagV22ul0tUT7FGEaANe6mr2M3zH1Ec6Z05 dCH6ia3+OS223SMvWzLLHuXpDFCNLMIVdigWev4DmGI1eXmNginogEzXPeMA79X1yVLV 0qxxtJRnjyHJLEc/h2eBmqyGiNydmzfE3+aZSxanbJKMIY8u2keejYT051xW+oj82BfS wy+JhFXK6BjGfUjjwLP8W/PJD/RldyJXs3gJlou3nOdWUM0pUSiSA9aD3ga+L1YtZxim i6TA== 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:mime-version :content-transfer-encoding; bh=jxJovM8uDqxzTsn9dVqfv0BrrWZVdtSmY0ZF8ZUveX8=; b=QkyxW/nmoqG8Od90Od+vry2nY+FwImqWB+rot08XYeqZvBYijPgJlvtKZ8nBATBjB1 Se02iMQntydjBTD8ZOiSGn8zpw12aJUVAWgd9yB4EUNFgt6E2zoS0fpkeN2gKQrf4Sjr 9j8WLBJ+gOFA7dEvXO93Wk+EgwN5Fqoh5iRyJqzm6b23ZWSzimn8UyarmcoSGAgyCMXN le6ZYC8cPt2ZM2neSg6shrPOyrP/cizJ2CNXAvobK45zumIMKjVp0ZFVx2eFzWmYOlXR 54wSPAO7v8vTZT6MW1dHVvBaarmQ9SZOOVAPDaS56l9TYeNo6TjuRxkOmBc5ippth5PS g0Fg== X-Gm-Message-State: AOAM533Bub0TTtyQvk76qXcu92KyNEHjekwvQ1onSdRh0mNj7npKriuL HUUpCES6LaXeMVCuhpUh8+9qVA== X-Google-Smtp-Source: ABdhPJwDg2lxqbHlNGOB+b3ejFgNnWIzk2D54Jbj3ObyHrWkPcl/d3c3TSyNOcinZAfD1+eqPp2ICw== X-Received: by 2002:a1c:4e1a:: with SMTP id g26mr6283218wmh.98.1604518554550; Wed, 04 Nov 2020 11:35:54 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id x10sm4034444wrp.62.2020.11.04.11.35.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 11:35:53 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 00/36] Rid W=1 issues from TTY Date: Wed, 4 Nov 2020 19:35:13 +0000 Message-Id: <20201104193549.4026187-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201104_143601_473383_A1BF77B6 X-CRM114-Status: GOOD ( 15.10 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:32c listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Robert Love , Benjamin Herrenschmidt , Nick Holloway , Russ Gorby , "C. Scott Ananian" , -- , Andrew Morton , Laxman Dewangan , Paul Mackerras , "David A. Hinds" , linux-riscv@lists.infradead.org, Jiri Slaby , linux-stm32@st-md-mailman.stormreply.com, Bill Hawes , Roland Stigge , Rob Herring , Russell King , Michael Ellerman , Michal Simek , Jonathan Hunter , Jan Dumon , Andy Gross , linux-serial@vger.kernel.org, Sylvain Lemieux , Gerald Baeza , Sumit Semwal , Marko Kohtala , linux-media@vger.kernel.org, Philipp Zabel , Alexandre Torgue , linux-arm-msm@vger.kernel.org, Vladimir Zapolskiy , linaro-mm-sig@lists.linaro.org, Stanislav Voronyi , dri-devel@lists.freedesktop.org, Paul Walmsley , linux-tegra@vger.kernel.org, Bjorn Andersson , "Andrew J. Kroll" , processes-Sapan Bhatia , Kevin Wells , Miloslav Trmac , Mike Hudson , Joseph Barrow , linux-kernel@vger.kernel.org, paulkf@microgate.com, Filip Aben , Palmer Dabbelt , Maxime Coquelin , Greg Kroah-Hartman , Thierry Reding , Colin Ian King , Jakub Jelinek , linuxppc-dev@lists.ozlabs.org, =?utf-8?q?Christian_K=C3=B6nig?= , Russell King Sender: "linux-riscv" Errors-To: linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. Lee Jones (36): tty: serdev: core: Remove unused variable 'dummy' tty: serdev: core: Provide missing description for 'owner' tty: tty_baudrate: Add missing description for 'tty' tty: tty_io: Move 'tty_sysctl_init's prototype to shared space tty: tty_buffer: Add missing description for 'limit' tty: tty_port: Demote obvious abuse of kernel-doc formatting tty: tty_jobctrl: Add missing function parameter descriptions tty: tty_ldisc: Fix some kernel-doc related misdemeanours tty: vt: consolemap: Demote weakly documented function header tty: n_tty: Add 2 missing parameter descriptions tty: serial: jsm: jsm_cls: Remove unused variable 'discard' tty: tty_io: Fix some kernel-doc issues tty: serial: 8250: 8250_port: Staticify functions referenced by pointers tty: serial: 8250: serial_cs: Remove unused/unchecked variable 'err' tty: tty_audit: Demote non-conformant kernel-doc headers tty: pty: Provide descriptions for the 'file' parameters tty: serial: amba-pl011: Mark 'sbsa_uart_acpi_match' as __maybe_unused tty: n_gsm: Demote obvious abuse of kernel-doc and supply other missing docss tty: serial: lpc32xx_hs: Remove unused variable 'tmp' tty: serial: msm_serial: Remove set but unused variable 'status' tty: serial: ifx6x60: Fix function documentation headers tty: serial: xilinx_uartps: Supply description for missing member 'cts_override' tty: synclink_gt: Demote one kernel-doc header and repair another tty: serial: serial-tegra: Struct headers should start with 'struct ' tty: serial: sifive: Struct headers should start with 'struct ' tty: synclinkmp: Add missing description for function param 'txqueue' tty: synclinkmp: Mark never checked 'readval' as __always_unused tty: serial: stm32-usart: Remove set but unused 'cookie' variables tty: tty_ldisc: Supply missing description for 'tty_ldisc_get's 'tty' param tty: serial: serial-tegra: Provide some missing struct member descriptions powerpc: asm: hvconsole: Move 'hvc_vio_init_early's prototype to shared location tty: hvc: hvc_vio: Staticify function invoked only by reference tty: hvc: hvc_opal: Staticify function invoked by reference tty: serial: pmac_zilog: Make disposable variable __always_unused tty: synclink: Mark disposable variables as __always_unused tty: synclink: Provide missing description for 'hdlcdev_tx_timeout's 'txqueue' param arch/powerpc/include/asm/hvconsole.h | 3 +++ arch/powerpc/platforms/pseries/pseries.h | 3 --- arch/powerpc/platforms/pseries/setup.c | 1 + drivers/tty/hvc/hvc_opal.c | 2 +- drivers/tty/hvc/hvc_vio.c | 2 +- drivers/tty/n_gsm.c | 4 +++- drivers/tty/n_tty.c | 2 ++ drivers/tty/pty.c | 2 ++ drivers/tty/serdev/core.c | 6 ++---- drivers/tty/serial/8250/8250_port.c | 4 ++-- drivers/tty/serial/8250/serial_cs.c | 9 +++------ drivers/tty/serial/amba-pl011.c | 2 +- drivers/tty/serial/ifx6x60.c | 3 ++- drivers/tty/serial/jsm/jsm_cls.c | 4 +--- drivers/tty/serial/lpc32xx_hs.c | 3 +-- drivers/tty/serial/msm_serial.c | 3 +-- drivers/tty/serial/pmac_zilog.h | 2 +- drivers/tty/serial/serial-tegra.c | 7 ++++++- drivers/tty/serial/sifive.c | 3 ++- drivers/tty/serial/stm32-usart.c | 6 ++---- drivers/tty/serial/xilinx_uartps.c | 1 + drivers/tty/synclink.c | 5 +++-- drivers/tty/synclink_gt.c | 3 ++- drivers/tty/synclinkmp.c | 3 ++- drivers/tty/tty_audit.c | 12 ++++++------ drivers/tty/tty_baudrate.c | 1 + drivers/tty/tty_buffer.c | 1 + drivers/tty/tty_io.c | 12 +++++++----- drivers/tty/tty_jobctrl.c | 3 +++ drivers/tty/tty_ldisc.c | 11 ++++++----- drivers/tty/tty_port.c | 4 ++-- drivers/tty/vt/consolemap.c | 3 +-- include/linux/tty.h | 1 + 33 files changed, 73 insertions(+), 58 deletions(-) Cc: Alexandre Torgue Cc: "Andrew J. Kroll" Cc: Andrew Morton Cc: Andy Gross Cc: Benjamin Herrenschmidt Cc: Bill Hawes Cc: Bjorn Andersson Cc: "Christian König" Cc: Colin Ian King Cc: "C. Scott Ananian" Cc: "David A. Hinds" Cc: dri-devel@lists.freedesktop.org Cc: Filip Aben Cc: Gerald Baeza Cc: Greg Kroah-Hartman Cc: Jakub Jelinek Cc: Jan Dumon Cc: Jiri Slaby Cc: Jonathan Hunter Cc: Joseph Barrow Cc: -- Cc: Kevin Wells Cc: Laxman Dewangan Cc: linaro-mm-sig@lists.linaro.org Cc: linux-arm-msm@vger.kernel.org Cc: linux-media@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-riscv@lists.infradead.org Cc: linux-serial@vger.kernel.org Cc: linux-stm32@st-md-mailman.stormreply.com Cc: linux-tegra@vger.kernel.org Cc: Marko Kohtala Cc: Maxime Coquelin Cc: Michael Ellerman Cc: Michal Simek Cc: Mike Hudson Cc: Miloslav Trmac Cc: Nick Holloway Cc: Palmer Dabbelt Cc: paulkf@microgate.com Cc: Paul Mackerras Cc: Paul Walmsley Cc: Philipp Zabel Cc: processes-Sapan Bhatia Cc: Robert Love Cc: Rob Herring Cc: Roland Stigge Cc: Russell King Cc: Russell King Cc: Russ Gorby Cc: Stanislav Voronyi Cc: Sumit Semwal Cc: Sylvain Lemieux Cc: Thierry Reding Cc: Vladimir Zapolskiy