Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp176257lqc; Thu, 7 Mar 2024 13:58:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUdTEMKlfHt/X1+m3JpzJ+S8Q3KWsVElBI0i4TjY2Ij1SqG0xetH9WIp/VexyuFZ0daxy5zvqYdTrrYjKn+qkls76WJfQItd4Ma2emALw== X-Google-Smtp-Source: AGHT+IHYYTP/KkVTHicqKUzcAWZBF5xxqMGagbpn14rXbrfrqw+9m8NoLtmbnSG7EcoGMiNoCeJ6 X-Received: by 2002:a0d:c3c2:0:b0:609:fec8:7789 with SMTP id f185-20020a0dc3c2000000b00609fec87789mr1577655ywd.20.1709848713648; Thu, 07 Mar 2024 13:58:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709848713; cv=pass; d=google.com; s=arc-20160816; b=t80lOeSk20Gy50zCm9IlKo+H6xdjuvuPX6x2jSZlJdS6qRhsNugro9nr2Jkai5juy2 isfY4DmMWfFrtEIB9Gb0hoG6Xtk2z2LZicK6O0YaCs8fkKaHEr4qBvvP6OpUVUPRBCXO N34dGF6eNw7YswWeTF3g6eDIFElf/c2BAPjiya+d+P55ZJpT7lYd3++5ynfS5g+pOngv eNn1dVx5JoiTYurpu3hA7HGl17Y4ZcZPOlV6MRK8hsEcEQ+vFBJytSNcE6G0U2s6pVxw 0pfUs995k2HdHjrMaeniojiDv0WgbNoWKRO1Rby6T4N+/I/O/SmjtNc4mQiLZWrwEVl+ l1CQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ycAhMoEXlj08SzJzQWDr3lS/6RBoKGsfcRI37I30G4Q=; fh=JOMs4cCEiY9iuBNXOVa2RG+IujJg9SLSvDgQT2j+igk=; b=apm+TxqVgoT5bjTl3gomxAVryvVIns3wwWLRK//r0usW9E1cBPFxLOFE0Lv1u+7903 MRFdf7AZEdFAjtjv0BY9swLGFUc8vdlrcCBfPds1zy86ekf49KgDdR3dlLgM1dj3bB8g pl5Bawlws+iwDbhLiILzerGCdLLfhShypcSPlEkcv/iNL8a/eMzsQRcrEDSXCk0LDwM2 so6LTJRvculx9AL09iLP4qcB3yn8KQDToE/1Mb+CnYUMJz1AfgNGI+v0NlhQa003++aB OqDpKanOR5kChuYOBt2+ZIiZ8Bt0FFKNoTNLM9zmGY4zDBaK7ZFa8m0P9eJmb+6Ri6lp VPNw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mxaaxpXH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-96295-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96295-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id o12-20020ac85a4c000000b0042efc3fcb28si7527035qta.58.2024.03.07.13.58.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 13:58:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-96295-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mxaaxpXH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-96295-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96295-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6186F1C21DBD for ; Thu, 7 Mar 2024 21:58:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4F02B13DBAA; Thu, 7 Mar 2024 21:58:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mxaaxpXH" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3A64B131E3C; Thu, 7 Mar 2024 21:58:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709848703; cv=none; b=jvmNF+X99akSIi2LUPQ6wOo+NOzpWofo51jmjevuszYyI4SyiJEmzzqUZg/i8jve4Tj7ro+MZLX0OMddtR83y3BnvH140eDpmfE9z8+l1774J1uGnHJhhZXpHHg4w4WfWot5SnOs2KNjAVmddmr7Un01XtloFNa/9WwTVCarL8U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709848703; c=relaxed/simple; bh=IpMGeN0v86/rzAMDiUJQ+cVemf+jJKKFwIKCFoUkZTE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NI1XDzAvL6IpgTgkRAchJVbTM9o5YEYgsHJnR5jp3eq4L/6yAjflTvwdorsWnwrrUaIS60cAbNjwwkqGk7aEgKnBaBElYqc02YIuY87To8Xgb+wXe8nJR9AYT3Ru7CPzWWrJm6IUbf65FMqWapQdW87HBuJ31U4AS7iQ9nqSpqU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mxaaxpXH; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0467CC433C7; Thu, 7 Mar 2024 21:58:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709848702; bh=IpMGeN0v86/rzAMDiUJQ+cVemf+jJKKFwIKCFoUkZTE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mxaaxpXHbcwdgPBCqzL3ip4FfS+wwgyZXqW8N8LcK6fP7E3VpoZqDHneR1dd1Xrej WlhBbqSPrM8jK9BJ2CNbm0PQxpC2owo7XLjSqOdrLbuwv5hYXvRYOCPbR1lseTm+lm VqRwXX89Ybnc+o3+MwNbgMhEL3RoQsE5RCRDUDwhBk88OxG95EAluIIMxeXPJNzTfJ xn5x8uaGoDrlqvoXzTQH3DobEay96Lt8ukZK4sO6AxfMPbTZXLi096HQUATFULKEAk NN3FHdZNMxE7mUyR2y+Hg6twSl77vAinM6S2WxrzEAkUA9Ziwka71eJzu4vJy7VSud o4JGQD6O5Yeew== Date: Thu, 7 Mar 2024 22:58:12 +0100 From: Niklas Cassel To: Manivannan Sadhasivam Cc: Jingoo Han , Gustavo Pimentel , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Marek Vasut , Yoshihiro Shimoda , Thierry Reding , Jonathan Hunter , Kishon Vijay Abraham I , Vidya Sagar , Vignesh Raghavendra , Richard Zhu , Lucas Stach , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Minghuan Lian , Mingkai Hu , Roy Zang , Kunihiko Hayashi , Masami Hiramatsu , Kishon Vijay Abraham I , Jesper Nilsson , Srikanth Thokala , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-tegra@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@axis.com, Frank Li Subject: Re: [PATCH v9 10/10] PCI: dwc: ep: Add Kernel-doc comments for APIs Message-ID: References: <20240304-pci-dbi-rework-v9-0-29d433d99cda@linaro.org> <20240304-pci-dbi-rework-v9-10-29d433d99cda@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240304-pci-dbi-rework-v9-10-29d433d99cda@linaro.org> On Mon, Mar 04, 2024 at 02:52:22PM +0530, Manivannan Sadhasivam wrote: > All of the APIs are missing the Kernel-doc comments. Hence, add them. > > Reviewed-by: Frank Li > Signed-off-by: Manivannan Sadhasivam > --- For the functions that you added in this series, e.g. dw_pcie_ep_cleanup(), dw_pcie_ep_init_non_sticky_registers(), and dw_pcie_ep_linkdown(), I think that it would have been better if you actually added the kdoc in the same commit that added the respective function. For the existing functions that did not have a kdoc, I think it would have been better if you fixed this as patch 1/10 in this series. (Or 2/10, in case you keep the Fixes tag for the "PCI: dwc: ep: Fix DBI access failure for drivers requiring refclk from host" patch.) Yes, I know that you rename some of these functions that lacked kdoc later in the series, but the whole kdoc description would be the same, the kdoc parameters would be the same, and the kdoc return value would be the same. If you later rename a function, you would only need to change the kdoc function name (in addition to the function declaration itself). Kind regards, Niklas