Re: [PATCH] iommufd: Fix iommu_vevent_header tables markup

From: Jason Gunthorpe
Date: Fri Mar 28 2025 - 09:10:18 EST


On Fri, Mar 28, 2025 at 06:46:54PM +0700, Bagas Sanjaya wrote:
> Stephen Rothwell reports htmldocs warnings on iommu_vevent_header
> tables:
>
> Documentation/userspace-api/iommufd:323: ./include/uapi/linux/iommufd.h:1048: CRITICAL: Unexpected section title or transition.
>
> ------------------------------------------------------------------------- [docutils]
> WARNING: kernel-doc './scripts/kernel-doc -rst -enable-lineno -sphinx-version 8.1.3 ./include/uapi/linux/iommufd.h' processing failed with: Documentation/userspace-api/iommufd:323: ./include/uapi/linux/iommufd.h:1048: (SEVERE/4) Unexpected section title or transition.
>
> -------------------------------------------------------------------------
>
> These are because Sphinx confuses the tables for section headings. Fix
> the table markup to squash away above warnings.
>
> Fixes: e36ba5ab808e ("iommufd: Add IOMMUFD_OBJ_VEVENTQ and IOMMUFD_CMD_VEVENTQ_ALLOC")
> Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Closes: https://lore.kernel.org/linux-next/20250318213359.5dc56fd1@xxxxxxxxxxxxxxxx/
> Signed-off-by: Bagas Sanjaya <bagasdotme@xxxxxxxxx>
> ---
> include/uapi/linux/iommufd.h | 25 ++++++++++++++++---------
> 1 file changed, 16 insertions(+), 9 deletions(-)

Applied, thanks

Jason