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