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: 259619 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33B32C433E1 for ; Fri, 14 Aug 2020 11:43:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0F87C20771 for ; Fri, 14 Aug 2020 11:43:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TKuoVl/Y" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728170AbgHNLkC (ORCPT ); Fri, 14 Aug 2020 07:40:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728043AbgHNLj6 (ORCPT ); Fri, 14 Aug 2020 07:39:58 -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 F06D4C061385 for ; Fri, 14 Aug 2020 04:39:57 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id c80so7223989wme.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=GMrGVcZzp/Z09M5VfOuqX6BPTigZ1+5YrtWlMWGw0+NT7zSIGArReuuyyOKspKOVD8 IYMIMvYYoZ2/PGcXtk4jO5qd+x8etGudETPuinTF9v3OZFDzCglu8Y9tMc3SgYFlqFdJ lDk0n+/YoBNxBJcggTiywe2TD3fC8vWNi+Dta4ZKVuO2Ysj4oHCnbfUvtZ0vHH3Ew+qw jnM/Q89VgUj03ce4ltKJMzjp/j85AuN4q4/KxbEdMdAj7G/f5nqzIocgb+XOOZzMXADM jQNz+5udN0mFDThMOu6d2G/lCOFgk4ftxlXYDomqOTuXRlDEUIETF4JS/G0NfVYuJzEs rxdw== X-Gm-Message-State: AOAM532Ny7povmn6QfKqDkvFjmGi2kAsb/U4PA1OpeWLQsz+ruSaocFE nU/eAS7s2LXCpcWrMmm/RqB52Q== X-Google-Smtp-Source: ABdhPJyhJk61l2TcooqYTMWD3db+D3dPPhU7haUSUyMg9SIyo5MX4M9A3eCixDDFp878zNcNn+ldmg== 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: 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/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(-) 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.