From patchwork Wed Aug 19 07:23:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 247913 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:522:0:0:0:0 with SMTP id h2csp241528ils; Wed, 19 Aug 2020 00:25:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOnXhyMkkU5thv8gAw7MN6qesGB+MzX+zB6mPV8VpjAHizLT2THx0grXx2VLm/OuLXUEq2 X-Received: by 2002:a17:906:a182:: with SMTP id s2mr23176385ejy.526.1597821907206; Wed, 19 Aug 2020 00:25:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597821907; cv=none; d=google.com; s=arc-20160816; b=Ozuq25Xm8qKqDB49gh+ACMrM6CZww273b2j+9HyTVQBYQUFCypJBIfDrbPKe2u8Pk1 2vtZ7hi/xiCYgDJVF7gvlj+N+9U12cMjdNsNpHYoLtTAkRGyObUhG/3jLSv8nQ5yt45T 9pHuUFFVA5kLzmiVTsBPYyu/8+T4t6vGSTMcR/89EwP1BGF/7f3TCmbPwX9Fx8P9nkrb mnMhyZZUjk+Lqye6pD1py+Xz/tfZwd8wONZgATCbzy/4ysj0MWxYK8JCVKQJOzSF7q9i tX9JtYTRcqCkoTJrgBYzSrlIzo95lzRZfgSpn0FXksX5RxPgAOHY89RarbvxSTD3DSoy HZOw== 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=2BVsdrFO67l+LY2/RUcOBcwvHM2Wo8sTbd6g8xd/h5g=; b=iyrfrVdtdoP3aqzrp+w31BEVztWAb95DN6i54/d0ZXRpv2Cq7FvjihZYysO212Ze7u qW45K1YGpWGIBdNfIhExQPIAToRepG9XoYWSsRdgNeVjYdm/VIy5IDsPqyvGn2Lj8lIo uDk+22xNibOhnlmtRo3eljJsJmoBs5UtoaquRHIiI2d5XRkc6evV+3LdgXqFoVo1zmZx y9WMMDIQmpZshI1zuYiAzkqPDnY1PVKkmKeJigmpN//C0ummDnkTvDwS8oW4M84xTD58 ua2aAUWZJb4eh+xWC6EKZ+VFeQBrNVUkPWJMqKwWRGKe7A09rt7Yn7wQ8M9NarTiZepZ 1/NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mujsbfdO; 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 bi17si15449896edb.75.2020.08.19.00.25.07; Wed, 19 Aug 2020 00:25:07 -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=mujsbfdO; 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 S1727900AbgHSHZD (ORCPT + 2 others); Wed, 19 Aug 2020 03:25:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726990AbgHSHYS (ORCPT ); Wed, 19 Aug 2020 03:24:18 -0400 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 BFB76C061344 for ; Wed, 19 Aug 2020 00:24:13 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id p14so1085841wmg.1 for ; Wed, 19 Aug 2020 00:24:13 -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=2BVsdrFO67l+LY2/RUcOBcwvHM2Wo8sTbd6g8xd/h5g=; b=mujsbfdO8EPBn3dEm0AoUidJtUtgMIe3rCiUJTGjLX3Of158SoNm0koW6RMNXvRJ/8 lmzpDeWgkzzlsBh1dkX94BKJ3fyVLHI4T9Ilj1yREwQ+2unf4WiSBef0NTlTQIBSS52E Y+J94jgeNaHh0/B/l2vklzeWB+Sh1oB4lQfFLe/+ItNVTU16zyLGgCkOuuHE+6fExHeF Pg0C28K20jhWeJOlMn9pVb9Q/4HMZs0tmZFsGIcuYFOSAcGwBV80k25bzyzxhBkEYzLd ixSGSFBGYU2yUcpV/njAISleaur9hsNtMbg1cJ0e5gqoSyLVKFUa/bk2UDRYTEAgllnE 9KPw== 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=2BVsdrFO67l+LY2/RUcOBcwvHM2Wo8sTbd6g8xd/h5g=; b=oFowrkoe9GqUbZQM4L9jw1bklZR25EwsJB06uJkJt5BlljBQUTA1ZgXgPWMqpq/tRc 5Up5QmPCmY3LZBiAy2CNva84nDWnxkraBrIUcTuVEo7tz84MH36Cq6yib4dsHLsG1/E4 slMr5Sw2yEr9jjk8o8/DfTfV/VSEja36IXwXnsSNUwl7WDCFDw5qjJuT1AxZUnJsmPZv 43p0SnckKWnYr7TcKQj1hZCSi9OEoseFU1sJcQRFSA1lmpafGhn7K8OyofyABGLHzBPy ntdoqvZc7xJ7+KOXhaD9r9DA6xcqsIMemOyTyaBo5j1L0lAE8k+lghT1hyHzPO4Db2ng KBBA== X-Gm-Message-State: AOAM530nbCmLcwfb/910MxxJPO3niPzodBuaCh3sxpU3PE/5Kn+TPzY6 Rdt7oKg3KhDTj9rF9p/dewH3Zg== X-Received: by 2002:a1c:286:: with SMTP id 128mr3361675wmc.37.1597821852427; Wed, 19 Aug 2020 00:24:12 -0700 (PDT) Received: from dell.default ([95.149.164.62]) by smtp.gmail.com with ESMTPSA id c145sm3795808wmd.7.2020.08.19.00.24.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Aug 2020 00:24:11 -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 , Hari Nagalla , Guy Mishol , Maital Hahn , Luciano Coelho Subject: [PATCH 06/28] wireless: ti: wlcore: cmd: Fix some parameter description disparities Date: Wed, 19 Aug 2020 08:23:40 +0100 Message-Id: <20200819072402.3085022-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200819072402.3085022-1-lee.jones@linaro.org> References: <20200819072402.3085022-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 Firstly a rename, then a split (there are 2 'len's that need documenting). Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ti/wlcore/cmd.c:832: warning: Function parameter or member 'buf_len' not described in 'wl1271_cmd_test' drivers/net/wireless/ti/wlcore/cmd.c:832: warning: Excess function parameter 'len' description in 'wl1271_cmd_test' drivers/net/wireless/ti/wlcore/cmd.c:862: warning: Function parameter or member 'cmd_len' not described in 'wl1271_cmd_interrogate' drivers/net/wireless/ti/wlcore/cmd.c:862: warning: Function parameter or member 'res_len' not described in 'wl1271_cmd_interrogate' drivers/net/wireless/ti/wlcore/cmd.c:862: warning: Excess function parameter 'len' description in 'wl1271_cmd_interrogate' Cc: Kalle Valo Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Hari Nagalla Cc: Guy Mishol Cc: Maital Hahn Cc: Luciano Coelho Cc: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones --- drivers/net/wireless/ti/wlcore/cmd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.25.1 diff --git a/drivers/net/wireless/ti/wlcore/cmd.c b/drivers/net/wireless/ti/wlcore/cmd.c index 6ef8fc9ae6271..745101633a3f1 100644 --- a/drivers/net/wireless/ti/wlcore/cmd.c +++ b/drivers/net/wireless/ti/wlcore/cmd.c @@ -825,7 +825,7 @@ int wl12xx_cmd_role_start_ibss(struct wl1271 *wl, struct wl12xx_vif *wlvif) * * @wl: wl struct * @buf: buffer containing the command, with all headers, must work with dma - * @len: length of the buffer + * @buf_len: length of the buffer * @answer: is answer needed */ int wl1271_cmd_test(struct wl1271 *wl, void *buf, size_t buf_len, u8 answer) @@ -855,7 +855,8 @@ EXPORT_SYMBOL_GPL(wl1271_cmd_test); * @wl: wl struct * @id: acx id * @buf: buffer for the response, including all headers, must work with dma - * @len: length of buf + * @cmd_len: length of command + * @res_len: length of payload */ int wl1271_cmd_interrogate(struct wl1271 *wl, u16 id, void *buf, size_t cmd_len, size_t res_len)