From patchwork Fri Aug 14 11:39:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 247702 Delivered-To: patch@linaro.org Received: by 2002:a92:cc90:0:0:0:0:0 with SMTP id x16csp292964ilo; Fri, 14 Aug 2020 04:40:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypNlaxmw2McPXnDou1OUciM+xhHzq/suhR9DMOuCuJiSkutch1CG69+tRBb49Nl1lgYmrx X-Received: by 2002:a17:906:2c43:: with SMTP id f3mr1894152ejh.502.1597405211073; Fri, 14 Aug 2020 04:40:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597405211; cv=none; d=google.com; s=arc-20160816; b=eeunOvMjUi1LXeSssMK6UhMbRIaevn/kcViWPx81R0h3GPej4664JUcrT3yL4RZjMZ bemO7aNdsZhHLIUjWlP0OheDlsTV+INcMWM5KbKYGwKV/a1y7Awt2ZgVM2uxzrUa6kPy YPY3laHZ83L5jS3+HMpgFunESOR9tizdPmyU28n0I4nM/iy8/6t0qgFuoX+s6cBYZhC/ UiIhSPitFK+0pfZoGSFmSSpSSbHz+zxUShU9t8nl/23ND9boByuKfClf7rxSAPpBpely vw0hcJI/L9GD/QVQLeMVmGeADOjjQK1ggUSVwun9eJ0UBfIikYhU6n+tx5nkztNrCLbM hiXA== 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=TS8uliyMAsDEXuQvFM/Ipwo7jc3ArpR50UIhIcJDQzc=; b=zh14vm7oSqYKhZ2LN6nx2RWs5uJh7zN7ddIxYQQGxpqCQhuBpPlc2VflQtf5ppT89K NYjCOSHlO7pBlJnidnvNfKVdZGNRKgHT+b3xRHC/MUykqyfZ5bt3oTpG6VmTWdSvwlg5 sEB9wQYRXsAm9y7klI8mzO8UgBebPnffXNari09alci7fXsy9AEOORYf5/XuidrG9XiM yLH4XwHrh2oIt7f0qsmWEI1ZWjJzs8qpTcIT/oG3hORAnvSrRwxdBFilYbtgjGI8E7ot 1KIXZi1XmlYMWv6kpM1NIY2DYPEOvQtREva0gFZ2lhAiOk/mO4pN8mwgmw5gTB+gJ9i5 yCLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="TKuoVl/Y"; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-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 i1si5536789edn.445.2020.08.14.04.40.10; Fri, 14 Aug 2020 04:40:11 -0700 (PDT) Received-SPF: pass (google.com: domain of netdev-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="TKuoVl/Y"; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-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 S1728174AbgHNLkC (ORCPT + 9 others); Fri, 14 Aug 2020 07:40:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728152AbgHNLj6 (ORCPT ); Fri, 14 Aug 2020 07:39:58 -0400 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 F072FC061387 for ; Fri, 14 Aug 2020 04:39:57 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id 184so7676804wmb.0 for ; Fri, 14 Aug 2020 04:39:57 -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=TS8uliyMAsDEXuQvFM/Ipwo7jc3ArpR50UIhIcJDQzc=; b=TKuoVl/YEqf251IASipO0+ITEQjL3zs+hHnd9Z8j9jsUVq+6Kcd8Kzv+IBlQoepyac h4nS2KmeffjqVF31OMx/wP6iQfwKuvv5ol6vu/Hr8x24zNYjIQEV+Ns9aP65O5dWjZj4 QhliiMcvGLyPreer3tdSg4vantZsJfaMpVGlZ3KWyfje6Y1dheg6zEIj+50KZ/1UvWrZ 8uwcZsliRKfw8ixliMc2sx5Y0tDqersXdPXBsDNm2WZAtXZLVsPaWOQM3lBdAVImAfov 7/JsTsQoFsfzt5fRkl3kf+RxGU4ywdZwMoFz0MSF6IT+4f5Ev+bzcKEWFmCBBhOKGtkM HKoA== 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=TS8uliyMAsDEXuQvFM/Ipwo7jc3ArpR50UIhIcJDQzc=; b=R3VIj5sj6/maI9lNT0DkH16X0H2eaMA4HCcKGqmgAiF14gZRnsonOJ0ddw2Ztrf8wi OkE5N4HrPGgCDVcFDj4TsngD3LvUKTw7JhNmjazjkoGTX7NaMqj6ICKY9MMd05JKKtTx 3+nxI/z5yw8zWPtSq9J4by779IvHC2GmI4+2YLFhZI8uCxNoCzL6cToTKJZShoT9g0bZ ewbQdNxQ7KJilQevf2K7Q8wpD+k4blBt5YFRSuXx/W08EQcG88RNercxhENlKtfxPL7l pQI7vB8ye1Vp5k4KCn0rIVnMraeZRZtUOKseMYkm52UhMHB7XI8dWsFGFhJMBTAii4V1 kGWw== X-Gm-Message-State: AOAM531bgjXs2U2UTyZrFjfCuOhcL4q53NUrASM0TQ03b3WHBuVvNuwY jPvpe89fBh23JwSB57vgcoR5lg== X-Received: by 2002:a1c:3c87:: with SMTP id j129mr2154973wma.176.1597405196730; Fri, 14 Aug 2020 04:39:56 -0700 (PDT) Received: from dell.default ([95.149.164.62]) by smtp.gmail.com with ESMTPSA id 32sm16409129wrh.18.2020.08.14.04.39.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Aug 2020 04:39:56 -0700 (PDT) From: Lee Jones To: davem@davemloft.net, kuba@kernel.org Cc: linux-kernel@vger.kernel.org, Lee Jones , Jiri Slaby , Nick Kossifidis , Luis Chamberlain , Kalle Valo , Reyk Floeter , "W. S. Bell" , Luis Rodriguez , Pavel Roskin , linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH 09/30] net: wireless: ath: ath5k: pcu: Add a description for 'band' remove one for 'mode' Date: Fri, 14 Aug 2020 12:39:12 +0100 Message-Id: <20200814113933.1903438-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200814113933.1903438-1-lee.jones@linaro.org> References: <20200814113933.1903438-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/ath5k/pcu.c:115: warning: Function parameter or member 'band' not described in 'ath5k_hw_get_frame_duration' drivers/net/wireless/ath/ath5k/pcu.c:955: warning: Excess function parameter 'mode' description in 'ath5k_hw_pcu_init' Cc: Jiri Slaby Cc: Nick Kossifidis Cc: Luis Chamberlain Cc: Kalle Valo Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Reyk Floeter Cc: "W. S. Bell" Cc: Luis Rodriguez Cc: Pavel Roskin Cc: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones --- drivers/net/wireless/ath/ath5k/pcu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 diff --git a/drivers/net/wireless/ath/ath5k/pcu.c b/drivers/net/wireless/ath/ath5k/pcu.c index 05140d8baa360..627bfd9f484a8 100644 --- a/drivers/net/wireless/ath/ath5k/pcu.c +++ b/drivers/net/wireless/ath/ath5k/pcu.c @@ -101,6 +101,7 @@ static const unsigned int ack_rates_high[] = /** * ath5k_hw_get_frame_duration() - Get tx time of a frame * @ah: The &struct ath5k_hw + * @band: One of enum nl80211_band * @len: Frame's length in bytes * @rate: The @struct ieee80211_rate * @shortpre: Indicate short preample @@ -945,7 +946,6 @@ ath5k_hw_set_opmode(struct ath5k_hw *ah, enum nl80211_iftype op_mode) * ath5k_hw_pcu_init() - Initialize PCU * @ah: The &struct ath5k_hw * @op_mode: One of enum nl80211_iftype - * @mode: One of enum ath5k_driver_mode * * This function is used to initialize PCU by setting current * operation mode and various other settings.