Re: linux-next: build warnings after merge of the iommufd tree
From: Joao Martins
Date: Mon Oct 23 2023 - 06:43:36 EST
On 23/10/2023 06:47, Stephen Rothwell wrote:
> Hi all,
>
> After merging the iommufd tree, today's linux-next build (htmldocs)
> produced these warnings:
>
> include/uapi/linux/iommufd.h:433: warning: expecting prototype for enum iommufd_hw_info_capabilities. Prototype was for enum iommufd_hw_capabilities instead
> include/uapi/linux/iommufd.h:497: warning: Function parameter or member '__reserved' not described in 'iommu_hwpt_set_dirty_tracking'
> include/uapi/linux/iommufd.h:512: warning: expecting prototype for enum iommufd_get_dirty_bitmap_flags. Prototype was for enum iommufd_hwpt_get_dirty_bitmap_flags instead
> include/uapi/linux/iommufd.h:542: warning: Function parameter or member '__reserved' not described in 'iommu_hwpt_get_dirty_bitmap'
>
Thanks
I've fixed these warnings in the offending patches below; for the next version.
> Introduced by commits
>
> f87900f25050 ("iommufd: Add a flag to skip clearing of IOPTE dirty")
> d2b3a545cdcc ("iommufd: Add capabilities to IOMMU_GET_HW_INFO")
> 1337d793ea25 ("iommufd: Add IOMMU_HWPT_GET_DIRTY_BITMAP")
> ccccda6d18bd ("iommufd: Add IOMMU_HWPT_SET_DIRTY_TRACKING")
>