Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2092386rdd; Thu, 11 Jan 2024 21:22:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IH2K7t/MsgH1HPhtBtCCow27m/xvewW6F0EpvVyLGkVfTQQdFHNMm57OoPalekFuLyNBAVZ X-Received: by 2002:a17:90b:4d89:b0:28c:fcef:25a8 with SMTP id oj9-20020a17090b4d8900b0028cfcef25a8mr775345pjb.71.1705036936571; Thu, 11 Jan 2024 21:22:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705036936; cv=none; d=google.com; s=arc-20160816; b=ske7544S0N9aDDKV7rBy67mGXp3gEpGaTE2kYLt39rr6V7kNZ5K3KATTMOBiNkZ5sM gjX/1GjsxjVzY9TYPSNykhbAFlFRuIVTgDADhCVlrgABv5Y8lJwLabtE6m1sqgNQC5g+ Ps3AttqJCagsplIYAcnhCp6SwJiVUmbxblbXOVDyWiFtpv/jPgZYvREIvUPiVRRHccnq OgUVbwkI5sAOAvYwTKGnz3DAgG6rRXFnGMUNq+JTrPtVA79ToBiUF8t23pD78Ppqbe4r EHf802DI0NsMbLxA/LCpRacGCNFm2gODqOFzDvO7y83rrHrOq3R8z57FDp61dAr056h4 JxQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=DQkmEI9WzLs1xZF8doYafAmuqj5j5vbesUJEuMqLcOs=; fh=G38gaapWpze/Nmz3BqZvfJ3BKzX7PwD5s+s3WKKcvr4=; b=b9y/Fr9Jpe830mHwtG+byc4UZNXLsRK1lsgjAlfPufVowHMwudbAQxklJSIgW1AbE2 PQHxS1wWVMS1aeyQidqIzzr/nsCwcquHF+IYs0fGhhuD9PqF6nAYKzqdO2OfwFIBwXbg JJLIKFtVlYih+BLOPwneciSzRClQ3QlQtCiH4H0+dquxY0j5slXMUSeWMZHGBJHafA1E Di3OrrZgPMes2lR8w8eSaqCbJGN/pQhuxU5KkpbrrSVzA2i5O69g3Z4MujpIo6AAZjWM QRWCf1CUUEi512bzVXS0Unj5Fz38LMKmybBmpZM6/FMgZJHk2MKEQ+BZPIc8PaxtDVwX btFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hjBTAxtf; spf=pass (google.com: domain of linux-kernel+bounces-24310-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24310-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 y11-20020a17090a86cb00b0028bee19fad5si5110482pjv.91.2024.01.11.21.22.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 21:22:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24310-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=@kernel.org header.s=k20201202 header.b=hjBTAxtf; spf=pass (google.com: domain of linux-kernel+bounces-24310-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24310-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3DA91288B96 for ; Fri, 12 Jan 2024 05:22:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7B6765B5CC; Fri, 12 Jan 2024 05:22:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hjBTAxtf" 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 ACFA4107A0; Fri, 12 Jan 2024 05:22:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C22B6C433C7; Fri, 12 Jan 2024 05:22:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705036927; bh=ifdN4B+pmqVR9krEwjy+TBCKjrl03UbEPUOBKS60g8s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hjBTAxtfWw7YBVOK1kv7KGL+QojD+ZNNCfC50w9eDcqVISWxkKeUIO/eq4MqR8JKt gGjEmlIt7WfoB5i48Yu85BgHIaWNQAlDEnmcQO0RN5D/NBR7NqF0Wpgl/8PDxjVZ8Z b54vJVCXLqTGL8p1gMjXy335qXHDlItngySHzaDARbPL2h9/LBifT2qLrGHVrPoqQl YgjhZkvkCgF0cqPwUwxDtOFfJDhDog23WOoNdLYCX9kDvc1cj6Jj33sKso7WrmpiRT 8zk6qgS9v1+86y5zGD7QQyiJr9Uxv+xqrLWl6KUdzg/V/NvTEK+mjELAjlU9acxdPx auskB0TjZypQA== Date: Fri, 12 Jan 2024 10:52:00 +0530 From: Manivannan Sadhasivam To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, Sui Jingfeng , Manivannan Sadhasivam , linux-kernel@vger.kernel.org, Bjorn Helgaas Subject: Re: [PATCH] PCI: Fix kernel-doc issues Message-ID: <20240112052200.GA2970@thinkpad> References: <20240111162850.2177655-1-helgaas@kernel.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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240111162850.2177655-1-helgaas@kernel.org> On Thu, Jan 11, 2024 at 10:28:50AM -0600, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > Fix kernel-doc issues reported by > "find include -name \*pci\* | xargs scripts/kernel-doc -none": > > include/linux/pci.h:731: warning: Function parameter or member 'pdev' not described in 'pci_is_vga' > include/linux/pci-epc.h:154: warning: Function parameter or member 'list_lock' not described in 'pci_epc' > include/linux/pci-epf.h:83: warning: expecting prototype for struct pci_epf_event_ops. Prototype was for struct pci_epc_event_ops instead > > Signed-off-by: Bjorn Helgaas Reviewed-by: Manivannan Sadhasivam - Mani > --- > include/linux/pci-epc.h | 2 +- > include/linux/pci-epf.h | 2 +- > include/linux/pci.h | 1 + > 3 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/include/linux/pci-epc.h b/include/linux/pci-epc.h > index 5cb694031072..bfe41b03b70c 100644 > --- a/include/linux/pci-epc.h > +++ b/include/linux/pci-epc.h > @@ -122,7 +122,7 @@ struct pci_epc_mem { > * struct pci_epc - represents the PCI EPC device > * @dev: PCI EPC device > * @pci_epf: list of endpoint functions present in this EPC device > - * list_lock: Mutex for protecting pci_epf list > + * @list_lock: Mutex for protecting pci_epf list > * @ops: function pointers for performing endpoint operations > * @windows: array of address space of the endpoint controller > * @mem: first window of the endpoint controller, which corresponds to > diff --git a/include/linux/pci-epf.h b/include/linux/pci-epf.h > index 3f44b6aec477..92d0b71d33d7 100644 > --- a/include/linux/pci-epf.h > +++ b/include/linux/pci-epf.h > @@ -68,7 +68,7 @@ struct pci_epf_ops { > }; > > /** > - * struct pci_epf_event_ops - Callbacks for capturing the EPC events > + * struct pci_epc_event_ops - Callbacks for capturing the EPC events > * @core_init: Callback for the EPC initialization complete event > * @link_up: Callback for the EPC link up event > * @link_down: Callback for the EPC link down event > diff --git a/include/linux/pci.h b/include/linux/pci.h > index 1a89dc66f89a..eb45087d7e00 100644 > --- a/include/linux/pci.h > +++ b/include/linux/pci.h > @@ -715,6 +715,7 @@ static inline bool pci_is_bridge(struct pci_dev *dev) > > /** > * pci_is_vga - check if the PCI device is a VGA device > + * @pdev: PCI device > * > * The PCI Code and ID Assignment spec, r1.15, secs 1.4 and 1.1, define > * VGA Base Class and Sub-Classes: > -- > 2.34.1 > > -- மணிவண்ணன் சதாசிவம்