]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Documentation: genpt: Don't use code block marker before iommu_amdv1.c include listing
authorBagas Sanjaya <bagasdotme@gmail.com>
Fri, 7 Nov 2025 08:13:00 +0000 (15:13 +0700)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 7 Nov 2025 10:07:04 +0000 (11:07 +0100)
commit6573d552e28c22f5f7b7eedce3ac7c2677032b13
tree8ac6abad09fc0d9acf976a62a52eedf160d8e4db
parent6303c0187f03ab47c748302f020789558d825f70
Documentation: genpt: Don't use code block marker before iommu_amdv1.c include listing

Stephen Rothwell reports htmldocs warning when merging iommu tree:

Documentation/driver-api/generic_pt.rst:32: WARNING: Literal block expected; none found. [docutils]

This is because of duplicate double colon code block markers: one after
generic_pt/fmt/iommu_amdv1.c and the one in its preceding paragraph. The
resulting htmldocs, however, only marks the include listing (after the
former) up as it should be.

Drop the latter to fix the warning.

Fixes: ab0b572847ac ("genpt: Add Documentation/ files")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/linux-next/20251106143925.578e411b@canb.auug.org.au/
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Documentation/driver-api/generic_pt.rst