Re: [PATCH] iommu/sysfs: constify the class struct

From: Jason Gunthorpe
Date: Mon Oct 21 2024 - 09:09:36 EST


On Fri, Oct 18, 2024 at 02:17:25PM +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> All functions that take the class address as argument expect a const
> pointer so we can make the iommu class constant.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
> ---
> drivers/iommu/iommu-sysfs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason