Re: [PATCH v1 1/1] i2c: acpi: Free resource list at appropriate time
From: Mika Westerberg
Date: Wed Jun 17 2026 - 09:02:21 EST
On Wed, Jun 17, 2026 at 11:20:46AM +0200, Andy Shevchenko wrote:
> We do unneeded "double free" (emptying an empty list) in one case.
> At the same time we shadow a real error code. Address them by
> refactoring the code in question.
>
> Both are not critical issues at all, they just make code robust
> against any possible future changes in the flow.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Acked-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>