Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1481019lqp; Mon, 15 Apr 2024 07:45:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWS6/3j+185WJH9mPszv0Ptx6ITNqLw1SY1ywVcu9UF46cg17zcEAceagjFwAVkNjD9418P+gLBz96PG10iOODAuOwJvIQK3IVlnNI+Lg== X-Google-Smtp-Source: AGHT+IF/BTcoNgTKwb16NrVizd+qbRvQ4IDsG/bcvT7W7BeNp08zeI+6/3QbabpDS2rGOleDMsrJ X-Received: by 2002:a05:6a20:19a6:b0:1a9:5eb1:7f35 with SMTP id bz38-20020a056a2019a600b001a95eb17f35mr10787440pzb.46.1713192358379; Mon, 15 Apr 2024 07:45:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713192358; cv=pass; d=google.com; s=arc-20160816; b=JX+sqLTmB/wXBQylN9DBed84GPNEP2CGFYoywXibFc0veRXTHo0Lj7Iz6IitAmAbB/ 1jYAryyVQatiTfBsoZJV3IoOeAvKAmDAMHhPiYmwIya3lzJr1kcVbLb39KgE6ic/Zxkr 8izqy5NZ7jdnc74fNlxI91URgc3HCvsSuPFslK4f/1Sda1Vv5YHI6pj26En5HLu2AHJd 14u3g1ahcWsNK7ccqRg5jr4MR6+Cyh4vw+QxhjIsgIp4WT98YtAUxZ3aUuwj3EDXUzb5 DIsvu9hXi4liUIL6X10WVxwH1vieGCQBGa0d7CIlVSEHYC0ALwPQVx7k91GQ7uvgfhLP jfhg== 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:message-id:subject:cc:to:from :date:dkim-signature; bh=2XzSu3Tx1VIaKzNsfmCM/zaUN5mBITA8H1oCm5IjYMc=; fh=/944Y/3FZ5mm/qvZH/3GsUpvQSE0eRXEmyNdbBDXchg=; b=K+1Nn8DNrzW83MNZem+6lY0CHK0kwRyfYK3RVq28bQbmW197/fNvEL7/M88LRZX6YE UEcEP0k5XaPlhsl2139zFujiNu1mkGf2RpVQmxDb5edP3QjkUFU39LL/aK1ziPb518NM VM6geZ3YLp+gwpYB42clcHfltdhVqQJ1MsCngVGKzu6B/R4/3AKvRf6Fn26hzJSY2Shf Smo2ACl2V5F1xG00HWGlPboZbbqvHuO5DtPPocTu/s3TS0z57C2UVxOrdxnGoUMGO04v rU3wF/dfv6DRa3DwOu/5eTIzFzPSAwYvxBdtCVZnp4xOm6PkqYdQWP4Tw6RYlMHFsVv7 Xckw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=h8ux2kJ9; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-145369-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145369-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id g12-20020a056a000b8c00b006ed95ed28c4si8376605pfj.360.2024.04.15.07.45.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 07:45:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145369-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=h8ux2kJ9; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-145369-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145369-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id EED85B22479 for ; Mon, 15 Apr 2024 14:37:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3964A83A10; Mon, 15 Apr 2024 14:35:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="h8ux2kJ9" 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 463AB74E11; Mon, 15 Apr 2024 14:35:00 +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=1713191701; cv=none; b=IgcwM0QZAnhu7RZztIcN68C3OQ7Sop3KPtltXZac7O6RDEPptnryUNxMfGGQIBT/fkoVpEl4xHiLpRhQ3I0PsP/4b4xWozO7bZ76j4k4GCXTcCXj78gclWHh7ADI1uQQmKqlZLUJKLPuiJuCe/Uvw58w1JJqS0OA93RPnmP4dOA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713191701; c=relaxed/simple; bh=iY4lgc0Rhhg0QzocM/HxB+V+JgnIN6Pz/U6ay5f9MVA=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=iKxPweiJQ8kakUSx/0SiSbZqBobPNu1fhIwXuQGnYq08ye8bFTMRhgwwWhGp18UllZqSap9GGKAJNW6yh5ABHAC4TZKYK+7i5TA2Kb84JVZl0bL1Q5YimBsMO6sGEMd1LEhl/FqwOWE3tGOioAIUYEIeQvw8C534YmTqUjfGXlY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=h8ux2kJ9; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 707A5C113CC; Mon, 15 Apr 2024 14:35:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713191700; bh=iY4lgc0Rhhg0QzocM/HxB+V+JgnIN6Pz/U6ay5f9MVA=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=h8ux2kJ9VPc31EUKRstPFxlBtLqgAikyAAiDVJYFMkbo8mtxrOyOOK3NcACc+y8Ud iXpqVF0MEx6sJdy9lY0wvSVKeeW8uxfxRN67mmZIVLth3xLTpCnMe7hyPn5vAXAEap YJVO2lf3xgNEtO0oSJyygdI7v9QUj7HOXxZHY9dCiUhkDO7nzPi891PYd/BxHxCsHv UyVxwOClfOgHueSz5EuCeCSIoFui/BN6bMZkuezCEt2p/LTzprmU9aAAuHUtmtAdXW zFxLHFLFtq8kkv6xT1YhX19MuFUhTUT9zOppzKw1mDSETuxGYDPKQceVsXviKNPbDv gZmkSaNAV4YtQ== Date: Mon, 15 Apr 2024 09:34:58 -0500 From: Bjorn Helgaas To: Manivannan Sadhasivam Cc: Manivannan Sadhasivam , Jingoo Han , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Marek Vasut , Yoshihiro Shimoda , Thierry Reding , Jonathan Hunter , 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 , Shawn Lin , Heiko Stuebner , 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, Niklas Cassel , linux-arm-kernel@axis.com, linux-rockchip@lists.infradead.org, Frank Li Subject: Re: [PATCH v12 2/8] PCI: dwc: ep: Add Kernel-doc comments for APIs Message-ID: <20240415143458.GA111010@bhelgaas> 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: <20240415140015.GJ7537@thinkpad> On Mon, Apr 15, 2024 at 07:30:15PM +0530, Manivannan Sadhasivam wrote: > On Fri, Apr 12, 2024 at 02:58:36PM -0500, Bjorn Helgaas wrote: > > On Wed, Mar 27, 2024 at 02:43:31PM +0530, Manivannan Sadhasivam wrote: > > > All of the APIs are missing the Kernel-doc comments. Hence, add them. > > > > > + * dw_pcie_ep_reset_bar - Reset endpoint BAR > > > > Apparently this resets @bar for every function of the device, so it's > > not just a single BAR? > > Right. It should've been 'Reset endpoint BARs'. And the API name is also > misleading, but that is not the scope of this series. Maybe just this for now: s/Reset endpoint BAR/Reset @bar of every function/ > > > + * dw_pcie_ep_raise_intx_irq - Raise INTx IRQ to the host > > > + * @ep: DWC EP device > > > + * @func_no: Function number of the endpoint > > > + * > > > + * Return: 0 if success, errono otherwise. > > > > s/errono/errno/ (another instance below) > > ah, thanks for spotting. Since this series is already merged, I hope > Krzysztof can ammend this. Sounds good, thanks! Bjorn