Re: [PATCH] PCI/P2PDMA: Add missing struct p2pdma_provider documentation
From: Logan Gunthorpe
Date: Mon Jan 05 2026 - 12:25:06 EST
On 2026-01-04 05:51, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@xxxxxxxxxx>
>
> Two fields in struct p2pdma_provider were not documented, which resulted
> in the following kernel-doc warning:
>
> Warning: include/linux/pci-p2pdma.h:26 struct member 'owner' not described in 'p2pdma_provider'
> Warning: include/linux/pci-p2pdma.h:26 struct member 'bus_offset' not described in 'p2pdma_provider'
>
> Repro:
>
> $ scripts/kernel-doc -none include/linux/pci-p2pdma.h
>
> Fixes: f58ef9d1d135 ("PCI/P2PDMA: Separate the mmap() support from the core logic")
> Reported-by: Bjorn Helgaas <helgaas@xxxxxxxxxx>
> Closes: https://lore.kernel.org/all/20260102234033.GA246107@bhelgaas
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>
LGTM
Reviewed-by: Logan Gunthorpe <logang@xxxxxxxxxxxx>