From patchwork Thu Sep 10 06:54:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 249562 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ecf:0:0:0:0 with SMTP id i15csp476537ilk; Thu, 10 Sep 2020 00:13:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpiB+ITtWo34fSbINTPU4hemwtC/fV4787FE2wIcMyquC1U7RQwv9LOcc4fTP60zjIbo9P X-Received: by 2002:aa7:d296:: with SMTP id w22mr7884067edq.327.1599722017418; Thu, 10 Sep 2020 00:13:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599722017; cv=none; d=google.com; s=arc-20160816; b=vYa8h5q5v0uRvPR2bT/nuNRHR3KlWx08LO06eq2raF21fWWZUAm0Lje8zVIYiHqYYn rvXgBHlLo9B/DncerzKs7cyMviLdKD+Os2AG80ozi0veW4Akgnj7wyKUl3Tc2Z0u9p8Q 4I/9Pg5vIEwaFswG9YAzs78e3IRPjdR+RGHFkBxyARtMAfDlm8S3EdTlyHlY2VC21MV0 3KCLWYU3efyXTsInPJT9fQEex1kZosemsBJS3g/9I0kLl2PyqyHElIeVz/TI/CT5XxWO N/uthkm70qSBjFujvN1B4j0NX1SI/aAWe5VNAvjeZ0OaKaDJUeS73N3a0ev5rV0KTO2Q 7VXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=urR5WKC0YHrLgprPWWXo12lMVDtV/KRxTWx7J20eMag=; b=x0Q5Mucfs6+XCrKlAEEwpy+awBzoKrdbUaDwGsYMCip9MKsfYUqD744z+W6b+La7Th YARFVYQBq9vRdJ9DP7LF+4fih05aiqcMnM1I5L1iPq6ficPm5NhxtKx0veFK5KIhHy8s I6IXtHlOjH7+1jPfTZzwZfRQ6xECjuhER4HhB+7eA0Jgalp4+sZXFbguAMKMqTmUAV3z ldfJiACu0mdj+FwoP7K0IT/E0Jl1JplLcrjEGs7fjb3mGmxuXNUj3Rl71ctWnbh48NnP PmNbA+nm65NfGfuQOL2UVEPfVdgxwxDeWlf9vbvFm1OwvWWYMkR0V84eVpRunndK34Nm caBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Um8KwA1D; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 df5si3093134edb.398.2020.09.10.00.13.37; Thu, 10 Sep 2020 00:13:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=Um8KwA1D; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 S1730277AbgIJHNV (ORCPT + 2 others); Thu, 10 Sep 2020 03:13:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726893AbgIJG6y (ORCPT ); Thu, 10 Sep 2020 02:58:54 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E53CFC06135C for ; Wed, 9 Sep 2020 23:55:17 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id a65so4458959wme.5 for ; Wed, 09 Sep 2020 23:55:17 -0700 (PDT) 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=urR5WKC0YHrLgprPWWXo12lMVDtV/KRxTWx7J20eMag=; b=Um8KwA1D4nIc4VA3tMizMDPtconF94POnFFEiyvMu3k4y7FSvoND21OeGbm+bAy1J8 zCnYdcakCq3Jcls8OG7Y2VwajhWCpd9uGplZP7Iy5fdTFfsiU/zmqt5wiV2G/w0MawBz c/G2KJLf5RfnXlK7TrwVvC8l1kP98cVggxizpOz8NRXJ4DWpZwqZpxVMnZeIKE/6qlQ1 j8weuOyLbe/0sPRZtPmPEO3j4sFEFDIgB1GhECyBdRWg3eCqRFp/EUwqOD+n9h5ta+LH w63dFMwCRoZ49GopwAJ0zBEgdGHCI9gh0n07yikSfxMDE4IPJK3ZaiTA0+Hjnu1kKcX9 KUXA== 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=urR5WKC0YHrLgprPWWXo12lMVDtV/KRxTWx7J20eMag=; b=Y235P2PKv9CCV17rCn6uXy+mTYuD6MNQFFco7ZzLFjeaO++JKrvOZ6caRLS7Mh3h2h 5iUXFa6eCZL87htOqdqfXooILhUGG0F7I+pRg+xOmOeo8Iul/mahSuXKw6MgUW/KXG61 vyNWFKekLb6w3TOV1m1+U1UetWKhXnb1I2A7DUXENaYzI8vVb7KIJKOXUtJGDNpr++hJ YsYwbmcLUOFnzdRF9AbIoCpfMEGRUxY037Zgwqf+h6GbVUOyIwhNwLZ4GXxKX8NkOzOT FP+jlm0s4a1AelVo2+2M3r2RUZQkflY2YBI/0QoazPVHJZ8BoVShuH9Nkvw/MjGGvx2c 47vw== X-Gm-Message-State: AOAM5315XBJldrKlAn6G+6/MPzHCc3ReHV6sS17NRtxdDF0q80rOhlGm 1NMuU0XLakkg+HPgaHqTnyxTlA== X-Received: by 2002:a1c:dd45:: with SMTP id u66mr7042690wmg.117.1599720916617; Wed, 09 Sep 2020 23:55:16 -0700 (PDT) Received: from dell.default ([91.110.221.246]) by smtp.gmail.com with ESMTPSA id m3sm2444028wme.31.2020.09.09.23.55.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 23:55:16 -0700 (PDT) From: Lee Jones To: kvalo@codeaurora.org, davem@davemloft.net, kuba@kernel.org Cc: linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, Lee Jones , Maya Erez , wil6210@qti.qualcomm.com Subject: [PATCH 20/29] wil6210: pmc: Demote a few nonconformant kernel-doc function headers Date: Thu, 10 Sep 2020 07:54:22 +0100 Message-Id: <20200910065431.657636-21-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200910065431.657636-1-lee.jones@linaro.org> References: <20200910065431.657636-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/wil6210/pmc.c:43: warning: Function parameter or member 'wil' not described in 'wil_pmc_alloc' drivers/net/wireless/ath/wil6210/pmc.c:43: warning: Function parameter or member 'num_descriptors' not described in 'wil_pmc_alloc' drivers/net/wireless/ath/wil6210/pmc.c:43: warning: Function parameter or member 'descriptor_size' not described in 'wil_pmc_alloc' drivers/net/wireless/ath/wil6210/pmc.c:229: warning: Function parameter or member 'wil' not described in 'wil_pmc_free' drivers/net/wireless/ath/wil6210/pmc.c:229: warning: Function parameter or member 'send_pmc_cmd' not described in 'wil_pmc_free' drivers/net/wireless/ath/wil6210/pmc.c:307: warning: Function parameter or member 'wil' not described in 'wil_pmc_last_cmd_status' drivers/net/wireless/ath/wil6210/pmc.c:320: warning: Function parameter or member 'filp' not described in 'wil_pmc_read' drivers/net/wireless/ath/wil6210/pmc.c:320: warning: Function parameter or member 'buf' not described in 'wil_pmc_read' drivers/net/wireless/ath/wil6210/pmc.c:320: warning: Function parameter or member 'count' not described in 'wil_pmc_read' drivers/net/wireless/ath/wil6210/pmc.c:320: warning: Function parameter or member 'f_pos' not described in 'wil_pmc_read' Cc: Maya Erez Cc: Kalle Valo Cc: "David S. Miller" Cc: Jakub Kicinski Cc: linux-wireless@vger.kernel.org Cc: wil6210@qti.qualcomm.com Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones --- drivers/net/wireless/ath/wil6210/pmc.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) -- 2.25.1 diff --git a/drivers/net/wireless/ath/wil6210/pmc.c b/drivers/net/wireless/ath/wil6210/pmc.c index 9b4ca6b256d26..a2f7b4c1da48d 100644 --- a/drivers/net/wireless/ath/wil6210/pmc.c +++ b/drivers/net/wireless/ath/wil6210/pmc.c @@ -29,8 +29,7 @@ void wil_pmc_init(struct wil6210_priv *wil) mutex_init(&wil->pmc.lock); } -/** - * Allocate the physical ring (p-ring) and the required +/* Allocate the physical ring (p-ring) and the required * number of descriptors of required size. * Initialize the descriptors as required by pmc dma. * The descriptors' buffers dwords are initialized to hold @@ -221,8 +220,7 @@ void wil_pmc_alloc(struct wil6210_priv *wil, mutex_unlock(&pmc->lock); } -/** - * Traverse the p-ring and release all buffers. +/* Traverse the p-ring and release all buffers. * At the end release the p-ring memory */ void wil_pmc_free(struct wil6210_priv *wil, int send_pmc_cmd) @@ -299,8 +297,7 @@ void wil_pmc_free(struct wil6210_priv *wil, int send_pmc_cmd) mutex_unlock(&pmc->lock); } -/** - * Status of the last operation requested via debugfs: alloc/free/read. +/* Status of the last operation requested via debugfs: alloc/free/read. * 0 - success or negative errno */ int wil_pmc_last_cmd_status(struct wil6210_priv *wil) @@ -311,8 +308,7 @@ int wil_pmc_last_cmd_status(struct wil6210_priv *wil) return wil->pmc.last_cmd_status; } -/** - * Read from required position up to the end of current descriptor, +/* Read from required position up to the end of current descriptor, * depends on descriptor size configured during alloc request. */ ssize_t wil_pmc_read(struct file *filp, char __user *buf, size_t count,