[PATCH] pinctrl: at91: use devm_kasprintf() to avoid potential leaks

Linus Walleij linus.walleij at linaro.org
Mon Feb 6 03:12:17 PST 2023


On Fri, Feb 3, 2023 at 2:29 PM Claudiu Beznea
<claudiu.beznea at microchip.com> wrote:

> Use devm_kasprintf() instead of kasprintf() to avoid any potential
> leaks. At the moment drivers have no remove functionality thus
> there is no need for fixes tag.
>
> Signed-off-by: Claudiu Beznea <claudiu.beznea at microchip.com>

Patch applied!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list