Re: [PATCH v2] gpio: regmap: Fix memleak in gpio_remap_register

From: Andy Shevchenko

Date: Wed Dec 03 2025 - 11:58:12 EST


On Wed, Dec 03, 2025 at 11:12:39PM +0800, Wentao Guan wrote:
> Hello Andy:
>
> I did not found ae495810cffe ,thought it is that:
> Fixes: 00aaae60faf5 ("gpio: regmap: add the .fixed_direction_output configuration parameter"),


> I will add it to v3.

No, please don't. This is wrong.

$ git tag --contains ae495810cffe
next-20251022
...

$ git branch -a --contains ae495810cffe | grep gpio
remotes/brgl/gpio/for-current
remotes/brgl/gpio/for-next

So it will be part of v6.19-rc1, which means your patch should be based
on that three.

--
With Best Regards,
Andy Shevchenko