Re: [PATCH 2/2] gpio: sim: simplify code with cleanup helpers
From: Andy Shevchenko
Date: Fri Aug 11 2023 - 05:15:00 EST
On Fri, Aug 11, 2023 at 08:20:11AM +0300, Dan Carpenter wrote:
> smatch warnings:
> drivers/gpio/gpio-sim.c:1472 gpio_sim_config_make_device_group() warn: possible memory leak of 'dev'
Isn't smatch a bit dumb about cleanup.h?
--
With Best Regards,
Andy Shevchenko