> From: Jason Gunthorpe <j...@nvidia.com>
> Sent: Wednesday, October 26, 2022 2:17 AM
> 
> +err_container:
> +     vfio_device_unassign_container(device);
>  err_module_put:
>       device->kvm = NULL;

err_module_put should be moved after nullifying device->kvm.

otherwise it looks good to me:

Reviewed-by: Kevin Tian <kevin.t...@intel.com>

Reply via email to