Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1541632pxb; Wed, 4 Nov 2020 11:42:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJxaaHRqujaGAo2b5x5g+D+yqsGQwMY/ZV1E6dq7F0VmmpB/kLXWk8fWAzAViKtbICuc4tJO X-Received: by 2002:a17:906:1183:: with SMTP id n3mr26044294eja.188.1604518928661; Wed, 04 Nov 2020 11:42:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604518928; cv=none; d=google.com; s=arc-20160816; b=Zi9/OgRVMzFMfqEZ0eu1jRdlP2nyg01Hxce+/2WJq8+742VcUq5Ktkol6Qyp7sjrmc wGiLPOjMs/xEG6CpyjoRF4dondAumqPKmj6WnCdet+2U84tpCU2jaBW9fdPKNX2JUdI7 /LtVgL8ZPz+e/p9Jgqvnrqf1Ss+WHDVSas5Oxm4J/sTG8QK/vV1tS8N+N3v5TbdZsGlN oTSyaz5JaRqMTFw+iXPKGhfHqArlgygoW6jBLo2tq5f664qbAV1pFkdy+uDPN9mvnj/r II1S3UkXwooOR84K5c72M0tM+tNiiIsuZqtXpym535bTwP+hzQxQW34eCYbdgE0DhLLO 3EpQ== 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=tU1mUc4W5Lzy2WY9cL2mEm8m85V8Ux3xTQGFy/e/dKU=; b=lANr3w3Hzn4O/xFeId2xnCqP1CCeO3VDC5jI47b7eD4kBDTKn0I63IoAoPoqqtcquV 61GAyUBL0CiYurveTDfqCrV+CcLoWC/e5j2fBqhQ6jKUkC5XvGUmXfFW04JbGU61io70 dsA2ClIAucAh9oKJrMAC8k3OKYM5nmNIwkuu/YElQ3GouN2hqRv/C+n0Y5GI9PGJyh6g lmROk8g7BQLDxnsfeFUAXkQKHi+kkUxONTTznQRVHVyakRiwA7MieXFGO7t98IcjSluD LtSGzN3EedqvrAeJhBaOeT49WvXfgk1BZIMYtEF0oCBvze6lFcIcNPAp8wFzOOVPlfZZ f7WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m0CSfPJt; 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 d15si2057203ejj.675.2020.11.04.11.41.46; Wed, 04 Nov 2020 11:42:08 -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=m0CSfPJt; 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 S1728841AbgKDTiO (ORCPT + 99 others); Wed, 4 Nov 2020 14:38:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730524AbgKDTgP (ORCPT ); Wed, 4 Nov 2020 14:36:15 -0500 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0BBAC0613D3 for ; Wed, 4 Nov 2020 11:36:14 -0800 (PST) Received: by mail-wr1-x444.google.com with SMTP id b8so23340247wrn.0 for ; Wed, 04 Nov 2020 11:36:14 -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=tU1mUc4W5Lzy2WY9cL2mEm8m85V8Ux3xTQGFy/e/dKU=; b=m0CSfPJtvCG6yqYBusiM7REUUMdj5ssB2WfDe5irz/FfpUzbCxmQTAx7J3pYH/Xf6G zlKccO5dx4k3ucnV/UDMmdb/knh0hgH3IEiuD3uweglCeSCzL1HH1vE/qbCScp74k/vf rnc8LUCTizSwGFL2CUZElMlqA9QORzemZDXk4YSx7F0UAb62xSrhqIlGA0z+tr+NlRos bZmEno93PfsxgndnXyvvla76giYhv5JuquKidlqqj95cDwCGgGsUFBlJB0fcfq4XN7pC +y3e81ojD5v6wLd83TmZD+rlMqgrP45u7kgyou39yrlnz4Axs5c6uqWebnKwfQtJaYK+ VYzg== 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=tU1mUc4W5Lzy2WY9cL2mEm8m85V8Ux3xTQGFy/e/dKU=; b=aodab2vCpS0RajzVhWTGrgxVC2EdRNviAYZikRLW6VtccS1SCAbNRkK4EIkAptUJn6 FKY2X6uDIbudPOAT/EkneSYsS6SgNv8WHX5tiZc3MOqLGDFVZXZx7/HwYWEJsk8n5Luc 1m0lWB877NHGW+3n/wXKmde6o/mWEtlkoajAQbIJufJ0QAHnm58E5gB7RJgWyiArrjBP rgi23DBzeITgT5ZwIuFBWi26XZKw4aI9gGeuaSWSDGSlKl/DkEsMtpNvZJtUAKTzeDTI etx6pk4/TqaM17mc3XdouemeHLX7jv+HBC3y2Eq54eEi+niG+grs7iJfXvI3bWKBdENt RsXg== X-Gm-Message-State: AOAM531SuH5ey1EXQOcyP3gpHLZLZmLnY7+8u1Nvv2at9UaOCPI9Vkik 5dY/kO7U5VwBT2LLjcAKrvOkTw== X-Received: by 2002:adf:e681:: with SMTP id r1mr32889770wrm.181.1604518573581; Wed, 04 Nov 2020 11:36:13 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id x10sm4034444wrp.62.2020.11.04.11.36.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 11:36:12 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby , "Andrew J. Kroll" , processes-Sapan Bhatia Subject: [PATCH 10/36] tty: n_tty: Add 2 missing parameter descriptions Date: Wed, 4 Nov 2020 19:35:23 +0000 Message-Id: <20201104193549.4026187-11-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/n_tty.c:405: warning: Function parameter or member 'tty' not described in 'is_continuation' drivers/tty/n_tty.c:1701: warning: Function parameter or member 'flow' not described in 'n_tty_receive_buf_common' Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: "Andrew J. Kroll" Cc: processes-Sapan Bhatia Signed-off-by: Lee Jones --- drivers/tty/n_tty.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c index 7e5e363152607..319d68c8a5df3 100644 --- a/drivers/tty/n_tty.c +++ b/drivers/tty/n_tty.c @@ -396,6 +396,7 @@ static inline int is_utf8_continuation(unsigned char c) /** * is_continuation - multibyte check * @c: byte to check + * @tty: terminal device * * Returns true if the utf8 character 'c' is a multibyte continuation * character and the terminal is in unicode mode. @@ -1668,6 +1669,7 @@ static void __receive_buf(struct tty_struct *tty, const unsigned char *cp, * @cp: input chars * @fp: flags for each char (if NULL, all chars are TTY_NORMAL) * @count: number of input chars in @cp + * @flow: enable flow control * * Called by the terminal driver when a block of characters has * been received. This function must be called from soft contexts -- 2.25.1