From patchwork Thu Nov 26 13:31:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 332958 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp148174ejs; Thu, 26 Nov 2020 05:33:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJwchlzu85fQdonSW1mRdBre6XuLp/xYvD4RZzIurNC/KJDq8ySlUtM70HLUd4R5ejS1lvD0 X-Received: by 2002:a17:906:7147:: with SMTP id z7mr2572926ejj.65.1606397620695; Thu, 26 Nov 2020 05:33:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606397620; cv=none; d=google.com; s=arc-20160816; b=GnR0Yqo5y5Wb8QjzARLz0vBT+ML9EVVbqKKIhRO0o+qP2V4nG+hBnKRXldA1/9thTy 7iYanIEAswtmVebY5GFpA00fyd6DtuYF9MtSkhVk8BQ32xWe0AEXjnWjpqdommCVtTNk uF7d7zmlAYFcGzUicRqY7x8y/R8ECvyY+h7soSOWFl464XzwFNjPScd7u08k9K+/h4Yw E+nBusWfz4WIrnQjGRmZRFZR0ih5AU+ZEDdYYaoJnH6dsBh4J4IvW0jC8gTnB5A6iTva 3IAIfUc2yccM91iBrc4ZLeCrXhftbTxaqhO/JpAMIJowc6mPXG2JHUrzvqPHci2RCA0E P7Jw== 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=OAyFBnkzLiaZhl/JnY/CqxtoMQBIM48e3o5HHcfQRSE=; b=y2GvrJUcBokw0eY28/qjLzSPJpwR5KnR7H9ZCDCLueIvIT8usmswKTJTIQBLLDlMSQ wdKrtr+oorOhlFbYfFpnehO5OjN9ogFYAc+551hKoGyQRFz99A5ylhgSE+eFs6fbsEnh g1nqPUzgpyOfoe2ch5VOphMmczRp9nzQKtyMxoRiTnIBVUSCYP3PDtRiRbHr2jY38N9W 7NDovfZ8GHkA8B0EhEmdsdQLR1TrzC+bvQP899gss0gWKZIUGLUxUGpsk9xasvWBrd9H Bo2Ebu+5qyd5Ne6qlQ+AySQhYI+0mL48ohpFF8xmeO3yx11r5AiavH2LVIcFiBinLQ6T gVNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KvBj7vPR; 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 q15si3191310edr.58.2020.11.26.05.33.40; Thu, 26 Nov 2020 05:33:40 -0800 (PST) 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=KvBj7vPR; 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 S2390284AbgKZNcM (ORCPT + 2 others); Thu, 26 Nov 2020 08:32:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390273AbgKZNcL (ORCPT ); Thu, 26 Nov 2020 08:32:11 -0500 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28669C061A49 for ; Thu, 26 Nov 2020 05:32:10 -0800 (PST) Received: by mail-wr1-x444.google.com with SMTP id l1so2154064wrb.9 for ; Thu, 26 Nov 2020 05:32:10 -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=OAyFBnkzLiaZhl/JnY/CqxtoMQBIM48e3o5HHcfQRSE=; b=KvBj7vPRJZnSo5P9Vrpd05dp/jHgMi246Xu6fMSd4mmudD6p0ToaXtzaOArSdCtl7I oNtRfXDD9BJijpm3RhSAjFAWn3uJy82DW34dQGky/LUOHTMpPEg1V3z5rY415++HISJF mza8MsVES2/1YXkXRnZYGcPi7xEJq/0AtxmNoDMGoXn2E9iTkrKR1TVYqlcQVZvAw694 E1OSTltME0XgOt4Zv1ETxpK6+CeSl0kMWVjJRyJUEE8Tg+XXs9mrLKTRmtm0YLRkMJn0 DhDaAl0VgrIJ2tgvTx9eC0fvGx3TRIcrglvOo7j9jlHPI86XURijwXBDXqcT3uxkuFD5 eqCA== 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=OAyFBnkzLiaZhl/JnY/CqxtoMQBIM48e3o5HHcfQRSE=; b=QE1RHmp3o+NXXtzzWm2buC6BCbLRPdazM262aeVmWlhnwvMur4mhaaUEYMweHwbwuS mS5WQKDiiDl3kVtIPttOTBleEmyX+pQKXLZfLEHsaBlxGdPJoqF+pmPnN/X/B1OGKuJk 5Jok3IvJFbx4N9nd1W48m2X8KrHF2JfFR53fYMVNYl8nuUaUVVpf3GyvlUd0i9zopATQ SHW4PJTJpCn7QYMMFQqBzUUqmr83zPJwNXPPaBshmA7NZHWnBXpH0OWRLELPMhVdswHg /C6CTGUF5D+zlP+Tp6I0PRwCEOqvOJ2kT3TvzB3Luke61ZhkGTLhPFCrGWK1fCWjpb25 pA9g== X-Gm-Message-State: AOAM531pWKCI/ASGKAEcAMD6pwPlrWfc0BoN1/o1lTNGB3oeWzOuya0m JYWXnZR1VfN12dOerOgb6UhEuA== X-Received: by 2002:a5d:4701:: with SMTP id y1mr3868307wrq.33.1606397528852; Thu, 26 Nov 2020 05:32:08 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id n10sm8701001wrv.77.2020.11.26.05.32.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:32:08 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org, kvalo@codeaurora.org Cc: linux-kernel@vger.kernel.org, QCA ath9k Development , "David S. Miller" , Jakub Kicinski , linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH 10/17] ath9k: ar5008_phy: Demote half completed function headers Date: Thu, 26 Nov 2020 13:31:45 +0000 Message-Id: <20201126133152.3211309-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201126133152.3211309-1-lee.jones@linaro.org> References: <20201126133152.3211309-1-lee.jones@linaro.org> MIME-Version: 1.0 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/ath9k/ar5008_phy.c:119: warning: Function parameter or member 'rfBuf' not described in 'ar5008_hw_phy_modify_rx_buffer' drivers/net/wireless/ath/ath9k/ar5008_phy.c:119: warning: Function parameter or member 'reg32' not described in 'ar5008_hw_phy_modify_rx_buffer' drivers/net/wireless/ath/ath9k/ar5008_phy.c:119: warning: Function parameter or member 'numBits' not described in 'ar5008_hw_phy_modify_rx_buffer' drivers/net/wireless/ath/ath9k/ar5008_phy.c:119: warning: Function parameter or member 'firstBit' not described in 'ar5008_hw_phy_modify_rx_buffer' Cc: QCA ath9k Development Cc: Kalle Valo Cc: "David S. Miller" Cc: Jakub Kicinski Cc: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones --- drivers/net/wireless/ath/ath9k/ar5008_phy.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) -- 2.25.1 diff --git a/drivers/net/wireless/ath/ath9k/ar5008_phy.c b/drivers/net/wireless/ath/ath9k/ar5008_phy.c index 2fa30834a88db..6610d76131fa8 100644 --- a/drivers/net/wireless/ath/ath9k/ar5008_phy.c +++ b/drivers/net/wireless/ath/ath9k/ar5008_phy.c @@ -102,13 +102,8 @@ static void ar5008_write_bank6(struct ath_hw *ah, unsigned int *writecnt) REGWRITE_BUFFER_FLUSH(ah); } -/** +/* * ar5008_hw_phy_modify_rx_buffer() - perform analog swizzling of parameters - * @rfbuf: - * @reg32: - * @numBits: - * @firstBit: - * @column: * * Performs analog "swizzling" of parameters into their location. * Used on external AR2133/AR5133 radios. @@ -198,10 +193,8 @@ static void ar5008_hw_force_bias(struct ath_hw *ah, u16 synth_freq) ar5008_write_bank6(ah, ®_writes); } -/** +/* * ar5008_hw_set_channel - tune to a channel on the external AR2133/AR5133 radios - * @ah: atheros hardware structure - * @chan: * * For the external AR2133/AR5133 radios, takes the MHz channel value and set * the channel value. Assumes writes enabled to analog bus and bank6 register @@ -430,10 +423,8 @@ void ar5008_hw_cmn_spur_mitigate(struct ath_hw *ah, REG_WRITE(ah, AR_PHY_MASK2_P_61_45, tmp_mask); } -/** +/* * ar5008_hw_spur_mitigate - convert baseband spur frequency for external radios - * @ah: atheros hardware structure - * @chan: * * For non single-chip solutions. Converts to baseband spur frequency given the * input channel frequency and compute register settings below.