Messages in this thread |  | | Date | Fri, 11 Apr 2025 18:05:30 +0530 | | Subject | Re: [PATCH v1 03/16] iommu: Add iommu_copy_struct_to_user helper | | From | ALOK TIWARI <> |
| |
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
> + * initial version. > + * Return 0 for success, otherwise -error.
Thanks, Alok
|  |