Messages in this thread | | | Date | Thu, 11 Jan 2024 08:55:08 -0800 | From | Nicolin Chen <> | Subject | Re: [PATCH v11 3/8] iommu: Add iommu_copy_struct_from_user_array helper |
| |
On Wed, Jan 10, 2024 at 08:10:10PM -0800, Yi Liu wrote:
> +#define iommu_copy_struct_from_user_array(kdst, user_array, data_type, \ > + index, min_last) \ > + __iommu_copy_struct_from_user_array(kdst, user_array, data_type, \ > + index, sizeof(*kdst), \ > + offsetofend(typeof(*kdst), \ > + min_last))
There is an extra space before '\' at the 2nd line, making it:
390 #define iommu_copy_struct_from_user_array(kdst, user_array, data_type, \ 391 index, min_last) \ 392 __iommu_copy_struct_from_user_array(kdst, user_array, data_type, \ 393 index, sizeof(*kdst), \ 394 offsetofend(typeof(*kdst), \ 395 min_last))
| |