From: Bagas Sanjaya Date: Fri, 7 Nov 2025 08:13:00 +0000 (+0700) Subject: Documentation: genpt: Don't use code block marker before iommu_amdv1.c include listing X-Git-Tag: v6.19-rc1~133^2^8~30 X-Git-Url: https://gentwo.org/gitweb/?a=commitdiff_plain;h=6573d552e28c22f5f7b7eedce3ac7c2677032b13;p=linux%2F.git 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 Closes: https://lore.kernel.org/linux-next/20251106143925.578e411b@canb.auug.org.au/ Acked-by: Randy Dunlap Tested-by: Randy Dunlap Reviewed-by: Jason Gunthorpe Signed-off-by: Bagas Sanjaya Signed-off-by: Joerg Roedel --- diff --git a/Documentation/driver-api/generic_pt.rst b/Documentation/driver-api/generic_pt.rst index 210d1229aa1c..7a9ca9f2878d 100644 --- a/Documentation/driver-api/generic_pt.rst +++ b/Documentation/driver-api/generic_pt.rst @@ -27,7 +27,7 @@ compiled into a per-format IOMMU operations kernel module. For this to work the .c file for each compilation unit will include both the format headers and the generic code for the implementation. For instance in an implementation compilation unit the headers would normally be included as -follows:: +follows: generic_pt/fmt/iommu_amdv1.c::