Re: [PATCH v2 05/14] iommufd: Return EOPNOTSUPP for failures due to driver bugs
From: Jason Gunthorpe
Date: Mon Jun 16 2025 - 08:28:19 EST
On Fri, Jun 13, 2025 at 11:35:17PM -0700, Nicolin Chen wrote:
> It's more accurate to report EOPNOTSUPP when an ioctl failed due to driver
> bug, since there is nothing wrong with the user space side.
>
> Signed-off-by: Nicolin Chen <nicolinc@xxxxxxxxxx>
> ---
> drivers/iommu/iommufd/device.c | 2 +-
> drivers/iommu/iommufd/hw_pagetable.c | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
Jason