Re: [PATCH 4/7] accel/qaic: Drop the reference to BO in error path of create BO IOCTL

2023-12-11 Thread Jacek Lawrynowicz
Reviewed-by: Jacek Lawrynowicz On 08.12.2023 17:34, Jeffrey Hugo wrote: > From: Pranjal Ramajor Asha Kanojiya > > Do not free BO explicitly in error path, just drop its reference, cleanup > will be taken care by DRM as we have registered for ->free() callback. > This patch makes sure that there

[PATCH 4/7] accel/qaic: Drop the reference to BO in error path of create BO IOCTL

2023-12-08 Thread Jeffrey Hugo
From: Pranjal Ramajor Asha Kanojiya Do not free BO explicitly in error path, just drop its reference, cleanup will be taken care by DRM as we have registered for ->free() callback. This patch makes sure that there is only one code path for BO to be freed. Signed-off-by: Pranjal Ramajor Asha Kano