Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1541913pxb; Wed, 4 Nov 2020 11:42:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJwKMlDoSztGQJiT6rHfUgWMRoCAG6aqWTVlXwCJh8nw9ld3vpvSmmADiBXwr69vDvYUPgxP X-Received: by 2002:a17:906:66c9:: with SMTP id k9mr14154766ejp.204.1604518959926; Wed, 04 Nov 2020 11:42:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604518959; cv=none; d=google.com; s=arc-20160816; b=HqTN+n33TXOvpB4mFRQHgrXdja3mirC+gtfaD/jZQxU7+anqR5YB03/+KLSs085yqW Moy/BuQnXWeeqag5ovApz6b70g3nOYxmCpM+gJyWqJ6X/t9jtXjz1o6p2a+NnPOmuzLe MZxoyDmI3AiT+280/kiIOi6O7JVWA2RukLteFCTMdPIrRwRKk71RyHlCJdkdKrcAAybG hMyoJQJGVcLG5y8YxijOScQKM66zJvVpgWVt5ewQBMnwEY6S4dELHObvoKZT2o9gDQLC a5A0q+dX34kBmpzXhnAIXJJv00u97EB/1peKhUsxYxFz0l9G2JRnzuBy226e0xkRxDi2 YAVQ== 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=UVONQyKASNJVxWgtOx5GH0AkmLYPVTFM927HFJJjccw=; b=zfFuM/VM47TcMbE90DTSANXm61p8pQi8JOw4707GYEiPAgZWLmYCe5o9agGf1bjmeQ wkHedog/CnR2ziutEmWgllxMus2lInP3jVMGy6mAW/6B1dBgHgL88E4R+ctcprdXBoce IfLd6/6m096NmM91CG61HYbLEL7Jya7Bgf+7KjOPzmzYnNXgA7Yq0LttEefzUkU42dha +mIgkG9Py0t3mFZZ7z4HBglNuavDgjJHjMAPQ4oiMWZyBdHHCdweEJBjnfZUYmeXQmO1 z1kMZKA5oOstzx4nTVHHcgeYZLGqEvv3cMRxYE7V2A3LOQ+UsdROayFvrN1XoEr9um+r 0zeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NdJzMXtV; 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 w23si1874173edu.226.2020.11.04.11.42.17; Wed, 04 Nov 2020 11:42:39 -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=NdJzMXtV; 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 S1731175AbgKDTh5 (ORCPT + 99 others); Wed, 4 Nov 2020 14:37:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731176AbgKDTg0 (ORCPT ); Wed, 4 Nov 2020 14:36:26 -0500 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5849C0613D3 for ; Wed, 4 Nov 2020 11:36:25 -0800 (PST) Received: by mail-wm1-x342.google.com with SMTP id c16so3419119wmd.2 for ; Wed, 04 Nov 2020 11:36:25 -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=UVONQyKASNJVxWgtOx5GH0AkmLYPVTFM927HFJJjccw=; b=NdJzMXtVxWJ7nasQqbcbanX2Q2xhkyvXALxvm+9BXvtqzMTJNNCWUbf1829oYNXnH6 VQjCV3I8zR1CoACqnbxylgYGl7bVTZkOkUCgKV2cnf3PIlnD8vka1xLBzHRhyxbpRyfb FvGUlWGwGlzExz3ryNhc/ocJZMi82Fuj2r50wMc/9SCISwewsS3sD9aF2fm+71h+BZuV WcwNxezJKg6fE1+/gs2ocwX/HE49xYen6jBa3jPhu6dOWDk6nIh1GzJQWjw1Q7qAc8wz Xan592RZeuXmLnnC2EMnrkX93dlRYL+tVESz0s7sxlIGoLxPtGZv2QiQBpLd0YOqIJ7q dr6g== 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=UVONQyKASNJVxWgtOx5GH0AkmLYPVTFM927HFJJjccw=; b=ZcQ9fVSTD/hrPNVCbZ4jFskbJpktyxavD6obV9oB7sM2qe/a1fIKL1Q6GZhgmg6N1N I4qGa1B1xAxCfvpbI2uz0Gk76syG+ji856pokj4jZyQScbbEo0FN7svhCbnGXz8zIR8e xqK+p0VqJCNJajqEWo5Un6WQl4W+E+oXk4RgZAsgEQmjPDZ84HL9b4SQgO6yHp/Wda0Y TB7YS3NfXNKMYGBuBFr/9h4kP/sHfi3jqN253/eZjVb/+AYS/HmszpXgPbHYz/UkjMp1 MzXIf3c0TDQCQ0ZQS47gGF6QEmZygBliprXbAUJkhMnwMUz6Gxx7qbGMMH5heobEs/hK 989g== X-Gm-Message-State: AOAM5332JVyX6AOgG7f0ZzMCNkuJ3Gyb2dpRVhnnqXeeVAc0SukmtHc6 In/viZqOLUByR5hVDEwM3+3O/w== X-Received: by 2002:a1c:f405:: with SMTP id z5mr6141976wma.126.1604518584375; Wed, 04 Nov 2020 11:36:24 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id x10sm4034444wrp.62.2020.11.04.11.36.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 11:36:23 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby Subject: [PATCH 18/36] tty: n_gsm: Demote obvious abuse of kernel-doc and supply other missing docss Date: Wed, 4 Nov 2020 19:35:31 +0000 Message-Id: <20201104193549.4026187-19-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_gsm.c:85: warning: Function parameter or member 'ref' not described in 'gsm_mux_net' drivers/tty/n_gsm.c:85: warning: Function parameter or member 'dlci' not described in 'gsm_mux_net' drivers/tty/n_gsm.c:664: warning: Function parameter or member 'dlci' not described in 'gsm_data_kick' drivers/tty/n_gsm.c:1015: warning: Function parameter or member 'clen' not described in 'gsm_process_modem' Cc: Greg Kroah-Hartman Cc: Jiri Slaby Signed-off-by: Lee Jones --- drivers/tty/n_gsm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c index 25f3152089c2a..c676fa89ee0b6 100644 --- a/drivers/tty/n_gsm.c +++ b/drivers/tty/n_gsm.c @@ -74,7 +74,7 @@ module_param(debug, int, 0600); #define MAX_MTU 1500 #define GSM_NET_TX_TIMEOUT (HZ*10) -/** +/* * struct gsm_mux_net - network interface * * Created when net interface is initialized. @@ -651,6 +651,7 @@ static struct gsm_msg *gsm_data_alloc(struct gsm_mux *gsm, u8 addr, int len, /** * gsm_data_kick - poke the queue * @gsm: GSM Mux + * @dlci: DLCI sending the data * * The tty device has called us to indicate that room has appeared in * the transmit queue. Ram more data into the pipe if we have any @@ -1005,6 +1006,7 @@ static void gsm_control_reply(struct gsm_mux *gsm, int cmd, const u8 *data, * @tty: virtual tty bound to the DLCI * @dlci: DLCI to affect * @modem: modem bits (full EA) + * @clen: command length * * Used when a modem control message or line state inline in adaption * layer 2 is processed. Sort out the local modem state and throttles -- 2.25.1