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

From: Matt Ochs
Date: Tue Apr 15 2025 - 00:22:09 EST


> On Apr 14, 2025, at 2:16 PM, Nicolin Chen <nicolinc@xxxxxxxxxx> 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>

Thanks Nicolin!

Reviewed-by: Matthew R. Ochs <mochs@xxxxxxxxxx>