Re: [PATCH v2] dmaengine: idxd: fix double free in idxd_alloc() error path
From: Guangshuo Li
Date: Wed Apr 22 2026 - 23:14:27 EST
Hi Vinicius,
Thanks for reviewing.
On Thu, 23 Apr 2026 at 05:56, Vinicius Costa Gomes
<vinicius.gomes@xxxxxxxxx> wrote:
>
> On the review of 'v1', you agreed to the comments I made, but they are
> neither reflected in the code nor in the series organization.
>
You're right — my v2 did not incorporate the broader issues you pointed out.
At the moment I don't have a good fix for the similar patterns in
idxd_clean_wqs(), idxd_clean_engines(), idxd_clean_groups(), and
idxd_free(). Do you have any suggestion on the preferred way to
restructure those cleanup paths?
Thanks,
Guangshuo