Re: [PATCH rc] iommu: Fix two issues in iommu_copy_struct_from_user()

From: ALOK TIWARI
Date: Tue Apr 15 2025 - 01:22:46 EST




On 15-04-2025 00:46, Nicolin Chen wrote:
Since both issues were copied from iommu_copy_struct_from_user(), fix them
first in the current header.

Fixes: e9d36c07bb78 ("iommu: Add iommu_copy_struct_from_user helper")
Cc:stable@xxxxxxxxxxxxxxx
Signed-off-by: Nicolin Chen<nicolinc@xxxxxxxxxx>
---
include/linux/iommu.h | 8 ++++----

Thanks Nicolin!

Acked-by: Alok Tiwari <alok.a.tiwari@xxxxxxxxxx>