[PATCH v7 01/28] iommufd: Report unmapped bytes in the error path of iopt_unmap_iova_range

Tian, Kevin kevin.tian at intel.com
Wed Jul 2 02:39:47 PDT 2025


> From: Nicolin Chen <nicolinc at nvidia.com>
> Sent: Friday, June 27, 2025 3:35 AM
> 
> There are callers that read the unmapped bytes even when rc != 0. Thus, do
> not forget to report it in the error path too.
> 
> Fixes: 8d40205f6093 ("iommufd: Add kAPI toward external drivers for kernel
> access")
> Cc: stable at vger.kernel.org
> Signed-off-by: Nicolin Chen <nicolinc at nvidia.com>

Reviewed-by: Kevin Tian <kevin.tian at intel.com>



More information about the linux-arm-kernel mailing list