Leon Romanovsky <leon@xxxxxxxxxx> writes: >> So, I see that you have nice kernel-doc comments for these; why not just >> pull them in here with a kernel-doc directive rather than duplicating >> the information? > > Can I you please point me to commit/lore link/documentation with example > of such directive and I will do it? Documentation/doc-guide/kernel-doc.rst has all the information you need. It could be as simple as replacing your inline descriptions with: .. kernel-doc:: drivers/iommu/dma-iommu.c :export: That will pull in documentation for other, unrelated functions, though; assuming you don't want those, something like: .. kernel-doc:: drivers/iommu/dma-iommu.c :identifiers: dma_iova_try_alloc dma_iova_free ... Then do a docs build and see the nice results you get :) Thanks, jon