From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796303509; b=cgW02zKOsXdfTSCrAQnhwVd0dK6hP8Tyx/T3YDk9vy3b10KTFr+xAUTgtrfIOjYQ8W8G i2Pi6NX1J9j0N8NWnQR4QMjnjYqTf25UiWU4Q9wWEkq1apenpfnW9lHmd1ibeT8Eh30Ii fVclvJcjiQ32hnMhJ+R832Rc4iMivS6vpjQpGYuwKJbZu9Fv717+dPboRaqioB6ZGbK8I 0spnWiA1T5N1G63hTxXuuTXbtcv71utEAa6PSsR7dMDfTdnLFPcu43oH61BQsDyrykrwM XTYDANpa3dYYEoPLKY8zqNRKwyH9j+h98Fm1tZOI1UvHeJo2X9dJ1NLOFhvWHijy/bg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796303509; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=ZA4xsWRCQnVh2dogEsIYw8LH8ZN389QLxppffjK/vHE=; b=PItYgaRJaduyyaHkxPNR41cbr0RrpTNZWL8i1+Co9TDeONnvRXUQkkTDTu/f7oSHF2yZ UMF0+JgrrJFOUu416JivsVYk3bWLMyBp+sD0e8lBWxpxX/A9KVf1bRBytFXOrOl0tEdH9 /dZ6pXT8cWON8WzHu73OAVTNZmcsU+fu+pRO0vx5cF071OQf4Q0RsKaqlDas0bvrhIdZT AjgWoXi9dOZxFvm4Y1QCTbnRtP7zMdTij2/faRSvvdJ1AcYiH9jJ8MKj7Etcv5bOGQbvo A7D25MSg5RmPEfYqPtp1HLMCgHzLf+2hsUgeOggdJ3rhYftptk3vO/e7sznzDC1DGwA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=d04R4Rvv; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1C1E5606A322 for ; Thu, 3 Dec 2026 13:11:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=d04R4Rvv Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC76D1F00893; Thu, 3 Dec 2026 13:11:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796303509; bh=ZA4xsWRCQnVh2dogEsIYw8LH8ZN389QLxppffjK/vHE=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=d04R4RvvMKiPtceDeshuuiccW2nCbAFON5MEkijhIKK+vdKJdSC/bVaWYxpRlN0yx oq9zn39eF9423kXBcKxRHSNqUQ44OVm9dKlNA6egixe0NwlISeFfq5ZT1sOA942iwx c/vpDupoJiPdbF/BTRI7g7Ben9q5AI6niOF9KOtSmKg5IJxvF2haTEXHvXDYSr2xRZ 7e6pwRpXFi/A2dNnLWcS/D/lG+T7C4eewqGWs/j5J2/gbt5CZ408JY3xWmJFbSJrGt nKCRK+GqbOoxOoGmpmCF8BSHWdiLCFhTg8lywmAafXhI6i/EvCTtBD62Os4JbcAECo 9B9YUoTS2goaA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2 1/3] PCI: Deprecate public devres reversal functions Reply-To: sashiko-reviews@lists.linux.dev To: "Philipp Stanner" Cc: linux-pci@vger.kernel.org In-Reply-To: <20261203125328.2421736-4-phasta@kernel.org> References: <20261203125328.2421736-3-phasta@kernel.org> <20261203125328.2421736-4-phasta@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 13:11:48 +0000 X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 2 potential issues to consider: - [Low] PCI: pcim_iomap_region() kernel-doc still recommends deprecated unmap helper - [Low] PCI: unescaped trailing underscore in pci_ breaks Sphinx kernel-doc build -- commit 8660487605651cef78b920e50301df88eb6f6c06 Author: Philipp Stanner PCI: Deprecate public devres reversal functions This commit marks pcim_iounmap() and pcim_iounmap_region() as deprecated in their kernel-doc comments and removes manual-release instructions from pcim_iomap() and pcim_iomap_range(). > diff --git a/drivers/pci/devres.c b/drivers/pci/devres.c > index f075e7881c3a6..48451581516a1 100644 > --- a/drivers/pci/devres.c > +++ b/drivers/pci/devres.c [ ... ] > @@ -640,12 +643,16 @@ void __iomem *pcim_iomap_region(struct pci_dev *pde= v, int bar, > EXPORT_SYMBOL(pcim_iomap_region); > =20 > /** > - * pcim_iounmap_region - Unmap and release a PCI BAR > + * pcim_iounmap_region - Unmap and release a PCI BAR (DEPRECATED) [Severity: Low] Should the kernel-doc for pcim_iomap_region() right above this also be updated? It still advises releasing manually with pcim_iounmap_region(), which contradicts this deprecation notice in the generated documentation from Documentation/driver-api/pci/pci.rst. > * @pdev: PCI device to operate on > * @bar: Index of BAR to unmap and release > * > * Unmap a BAR and release its region manually. Only pass BARs that were > * previously mapped by pcim_iomap_region(). > + * > + * This function is deprecated (at least for external users). If you're = ever in > + * a position where it seems useful, you should manage your regions fully > + * manually with unmanaged pci_ interfaces. [Severity: Low] Does the trailing underscore in "pci_" break the Sphinx kernel-doc build? Documentation/driver-api/pci/pci.rst includes exported kernel-doc from drivers/pci/devres.c, and reStructuredText parses a bare word ending in an underscore as a hyperlink reference, failing with an unknown target name error for "pci". Writing "pci_*" avoids the error. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203125328.2421= 736-3-phasta@kernel.org?part=3D1