Re: [PATCH] gpio: kunit: fix GPIO device reference leak with __free()
From: Bartosz Golaszewski
Date: Thu Oct 15 2026 - 08:08:04 EST
On Wed, 14 Oct 2026 10:44:02 +0200, Bartosz Golaszewski wrote:
> KUnit aborts the test thread immediately using kthread_exit() so the
> variable annotated with __free() never really goes out of scope and the
> associated callback is not called. Schedule a kunit action instead.
>
>
Applied, thanks!
[1/1] gpio: kunit: fix GPIO device reference leak with __free()
https://git.kernel.org/brgl/c/851bb4a42991666f515040e95e6f40191da9e899
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>