[PATCH 0/3] pinctrl: check memory returned by devm_kasprintf()

Linus Walleij linus.walleij at linaro.org
Fri Jun 16 06:02:48 PDT 2023


Hi Claudiu,

thanks for your patches!

On Thu, Jun 15, 2023 at 12:53 PM Claudiu Beznea
<claudiu.beznea at microchip.com> wrote:

> While browsing some code I noticed that there are places where pointer
> returned by devm_kasprintf() or kasprintf() is not checked. Thus I've
> tooked the chance and fixed this (by updating kmerr.cocci script,
> changes published at [1]).

I applied patch 2/3 and 3/3 you only need to resent the first patch
after looking into the comments from Andy.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list