Message ID | 20230602210440.8411-2-quic_jhugo@quicinc.com |
---|---|
State | Accepted |
Commit | 3e1b9b2d81901b3ceeb5ec1f1b4c41cd1cff53ba |
Headers | show |
Series | [1/2] accel/qaic: Free user handle on interrupted mutex | expand |
diff --git a/drivers/accel/qaic/qaic_drv.c b/drivers/accel/qaic/qaic_drv.c index 2d0828db28d8..961cd341b414 100644 --- a/drivers/accel/qaic/qaic_drv.c +++ b/drivers/accel/qaic/qaic_drv.c @@ -97,6 +97,7 @@ static int qaic_open(struct drm_device *dev, struct drm_file *file) cleanup_usr: cleanup_srcu_struct(&usr->qddev_lock); + ida_free(&qaic_usrs, usr->handle); free_usr: kfree(usr); dev_unlock: