[PATCH] pinctrl: update document for pinconf_generic_parse_dt_config

Linus Walleij linus.walleij at linaro.org
Tue Dec 1 02:12:16 PST 2015


On Wed, Nov 25, 2015 at 1:13 PM, Yingjoe Chen <yingjoe.chen at mediatek.com> wrote:

> The returned configs from pinconf_generic_parse_dt_config() is
> duplicated from original. Make it clear it must be freed when no
> longer necessary.
>
> Signed-off-by: Yingjoe Chen <yingjoe.chen at mediatek.com>

Patch applied.

> It seems memleak in pinctrl-mtk-common.c[1] is not alone. After a quick
> glance I notice similar issues in drivers/pinctrl/pinctrl-at91-pio4.c and
> drivers/pinctrl/nomadik/pinctrl-abx500.c.

Patches fixing them are coming? ;)

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list