Re: linux-next: build warning after merge of the iommufd tree

From: Jason Gunthorpe
Date: Fri Mar 31 2023 - 13:44:44 EST


On Thu, Mar 30, 2023 at 10:09:38PM -0700, Nicolin Chen wrote:
> Thanks for reporting.
>
> On Fri, Mar 31, 2023 at 03:31:46PM +1100, Stephen Rothwell wrote:
> > Hi all,
> >
> > After merging the iommufd tree, today's linux-next build (htmldocs)
> > produced this warning:
> >
> > drivers/iommu/iommufd/device.c:674: warning: Excess function parameter 'ioas_id' description in 'iommufd_access_create'
> >
> > Introduced by commits
> >
> > 7540af571dc7 ("iommufd: Create access in vfio_iommufd_emulated_bind()")
>
> Should have dropped that line from kdoc in this commit.
>
> diff --git a/drivers/iommu/iommufd/device.c b/drivers/iommu/iommufd/device.c
> index fca09bb4e839..d791ab5830b4 100644
> --- a/drivers/iommu/iommufd/device.c
> +++ b/drivers/iommu/iommufd/device.c
> @@ -795,7 +795,6 @@ void iommufd_access_destroy_object(struct iommufd_object *obj)
> /**
> * iommufd_access_create - Create an iommufd_access
> * @ictx: iommufd file descriptor
> - * @ioas_id: ID for a IOMMUFD_OBJ_IOAS
> * @ops: Driver's ops to associate with the access
> * @data: Opaque data to pass into ops functions
> *

Got it thanks

Jason