Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp490864rdb; Thu, 18 Jan 2024 09:18:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IFyQoyye/zuyMRFQF270JDeBhT75fu4c5NNo4EIRRbh9SoXHQOmNu615f6Ga6w5Dzcmt6nu X-Received: by 2002:a17:90a:6885:b0:290:2f89:5bb8 with SMTP id a5-20020a17090a688500b002902f895bb8mr669556pjd.45.1705598336407; Thu, 18 Jan 2024 09:18:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705598336; cv=pass; d=google.com; s=arc-20160816; b=yr+sPDTNTYQa5AsfNlLXMMrwHyibaE2tNnR9TbCdFxlh3+nhPX24jIa3arcILwm+eS QwUxkmBnpkt8oVWBeKpPwesZ2OFnsE+2os8Y5reRil0iK9DqffOd1XIMvNitFiJptWa5 /Cxlh5NliLc7e3KNaFZ6npuy2VUgkdmfUIMZ5qxwTnKjj167uG1YaCO8H16H/RvSeJ9+ zJI1Ob0+Wn/xCri3FLOtLsmnEXOnnBDkcUFos6mTwcvVvUvA0W2NTxrOnLM4wpxLS1Bp UGMHaOFAjjE/+Z2TWKb9uMf0gF2XMlp+14Kdc3JTZTiade8OYlBOLStrIJj8SxivUpJM IvCw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=+GJ43sxJEugFE+jhUQRT8P2K2kdj7Gi760KtJCGgVaM=; fh=/qsbX1sRebEZWYkFS3im071/fRVY5HPHKE8sP1DFzZg=; b=M4iyCwFa+L2POugC2jdoDflZgjQ4WImtYOkAvmts6lBLLFf64InVtSIMJH6iQUds5t I87geMEAnuUHLi06KxHWakFE5I8V0Is14d4lxy7K3VHA2Z0LlTt7VX4mKJ+VxV0IXEc2 S67cxnvC4P5fAXR/Tn58zmYwxKQ8AbbIs4WnWuKre07IAdaoe0gf4Su2XpvvQM8BK6wI Jp/K/2wIMhR9DdJHS0CHYsenh4DWg/WI1VwF+pmpqqjwz7Z23x1OQ281sdHJZANHUkcl jCvWdszCNFiP2XSa4XoRWhBdTfTAPC1L0ILTFpbODrJaheIQdqr+3Abk4NHIZCBxZQPb nJMg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=B6bHaJes; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-wireless+bounces-2207-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2207-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ci7-20020a17090afc8700b0028db01ed7dfsi1703684pjb.42.2024.01.18.09.18.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 09:18:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2207-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=B6bHaJes; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-wireless+bounces-2207-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2207-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D2732282B54 for ; Thu, 18 Jan 2024 17:18:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0DFC92C6BF; Thu, 18 Jan 2024 17:18:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="B6bHaJes" X-Original-To: linux-wireless@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B94532C6BB; Thu, 18 Jan 2024 17:18:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705598330; cv=none; b=hJCH1y8bbC191AhLb1udZM0YF7Y+wug8OwYQ8vzJjIMTOeGqzy66ya2xoQaYIaTmr5kXacdez7QLHsRLs2bu5OdIi7SpBPjXgDdv/4Rj3MBPC1L941iuIwg5q8Y/viPrlh3YGFfJNlnjUTPFVjmSFhQshMUT93TTVZ0VV4tcLYg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705598330; c=relaxed/simple; bh=wiKCM0KpMtbV94mqpmp2BHhWEtb3v5SdLrOpS6npQLE=; h=DKIM-Signature:Received:Message-ID:Date:MIME-Version:User-Agent: Subject:Content-Language:To:Cc:References:From:In-Reply-To: Content-Type:Content-Transfer-Encoding; b=MeSCk4YAc271/6jCJBzbJYl2SGpVOa4KHsclQ9JKfn2zIHRwtUsFqjmwCI7qWFXwidMVcFK/2hGPbU7kTwj5rng1dxlDk3TQmo6oWBrbQeKE3+e37o2mD6h9Ufd1pd9wJWttWSsNKul3hjgAS8VPblzr8RJRKGlcaa1OjdvydwM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=B6bHaJes; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=+GJ43sxJEugFE+jhUQRT8P2K2kdj7Gi760KtJCGgVaM=; b=B6bHaJesLoX+dRJqr1VMvY54/7 txiHLAC90r5qvAZRKhi5ldfeiNfPOPxIHQ/ucX58Wx4fyGN6YB90dfaC6Kb5vBBfqlwFqFgUFuNqd m+pxllZB+iovMcowk0U63YUQzr0+RxT/qsiLXac0jDatwmyYCy6yZMZjp4Bw2+TBOCMJRlv6CB9no DHE9c7Y5gRDJYp1C1v2I2DW+UzR5H26QWkOoTggNm5HofT21EVfBL+YEfO3nG/ugXvazW8QtzNCFr xrB9kTV1RsjLhcbQ195uXOgq1RpihTe5JjNjf2n1T/96YKXWdMxWEpnif8QPH9BsxMNym6DFNj/3R PbwmBbxQ==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rQW2R-003NJm-1H; Thu, 18 Jan 2024 17:18:47 +0000 Message-ID: Date: Thu, 18 Jan 2024 09:18:47 -0800 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/5] wifi: ath10k: fix htt_q_state_conf & htt_q_state kernel-doc Content-Language: en-US To: Jeff Johnson , Kalle Valo Cc: ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240118-ath10k-kerneldoc-v1-0-99c7e8d95aad@quicinc.com> <20240118-ath10k-kerneldoc-v1-3-99c7e8d95aad@quicinc.com> From: Randy Dunlap In-Reply-To: <20240118-ath10k-kerneldoc-v1-3-99c7e8d95aad@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/18/24 08:12, Jeff Johnson wrote: > Currently kernel-doc reports: > drivers/net/wireless/ath/ath10k/htt.h:1488: warning: cannot understand function prototype: 'struct htt_q_state_conf ' > drivers/net/wireless/ath/ath10k/htt.h:1542: warning: cannot understand function prototype: 'struct htt_q_state ' > > Update the kernel-doc for these two structs to resolve the warnings. > > No functional changes, compile tested only. > > Signed-off-by: Jeff Johnson Acked-by: Randy Dunlap > --- > drivers/net/wireless/ath/ath10k/htt.h | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > > diff --git a/drivers/net/wireless/ath/ath10k/htt.h b/drivers/net/wireless/ath/ath10k/htt.h > index 4a9270e2a4c8..eb0ce2f49315 100644 > --- a/drivers/net/wireless/ath/ath10k/htt.h > +++ b/drivers/net/wireless/ath/ath10k/htt.h > @@ -3,7 +3,7 @@ > * Copyright (c) 2005-2011 Atheros Communications Inc. > * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. > * Copyright (c) 2018, The Linux Foundation. All rights reserved. > - * Copyright (c) 2021, 2023 Qualcomm Innovation Center, Inc. All rights reserved. > + * Copyright (c) 2021, 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. > */ > > #ifndef _HTT_H_ > @@ -1474,15 +1474,19 @@ enum htt_q_depth_type { > #define HTT_TX_Q_STATE_ENTRY_MULTIPLIER 0 > > /** > - * htt_q_state_conf - part of htt_frag_desc_bank_cfg for host q state config > + * struct htt_q_state_conf - part of htt_frag_desc_bank_cfg for host q state config > * > * Defines host q state format and behavior. See htt_q_state. > * > + * @paddr: Queue physical address > + * @num_peers: Number of supported peers > + * @num_tids: Number of supported TIDs > * @record_size: Defines the size of each host q entry in bytes. In practice > * however firmware (at least 10.4.3-00191) ignores this host > * configuration value and uses hardcoded value of 1. > * @record_multiplier: This is valid only when q depth type is MSDUs. It > * defines the exponent for the power of 2 multiplication. > + * @pad: struct padding for 32-bit alignment > */ > struct htt_q_state_conf { > __le32 paddr; > @@ -1518,7 +1522,7 @@ struct htt_frag_desc_bank_cfg64 { > #define HTT_TX_Q_STATE_ENTRY_EXP_LSB 6 > > /** > - * htt_q_state - shared between host and firmware via DMA > + * struct htt_q_state - shared between host and firmware via DMA > * > * This structure is used for the host to expose it's software queue state to its fwiw. > * firmware so that its rate control can schedule fetch requests for optimized > -- #Randy