[PATCH v1 03/16] iommu: Add iommu_copy_struct_to_user helper
Nicolin Chen
nicolinc at nvidia.com
Mon Apr 14 11:03:58 PDT 2025
On Fri, Apr 11, 2025 at 06:05:30PM +0530, ALOK TIWARI wrote:
> On 11-04-2025 12:07, Nicolin Chen wrote:
> > + * iommu_copy_struct_to_user - Report iommu driver specific user space data
> > + * @user_data: Pointer to a struct iommu_user_data for user space data location
> > + * @ksrc: Pointer to an iommu driver specific user data that is defined in
> > + * include/uapi/linux/iommufd.h
> > + * @data_type: The data type of the @ksrc. Must match with @user_data->type
> > + * @min_last: The last memember of the data structure @ksrc points in the
>
> old typo memember -> member
Fixed for this one.
And yea, we need a patch fixing iommu_copy_struct_from_user() too.
Thanks
Nicolin
More information about the linux-arm-kernel
mailing list