Thread (3 messages) 3 messages, 3 authors, 2023-11-13

Re: [PATCH] pinctrl: stm32: Add check for devm_kcalloc

From: Linus Walleij <hidden>
Date: 2023-11-13 14:13:11
Also in: linux-gpio, lkml

On Tue, Oct 31, 2023 at 9:09 AM Chen Ni [off-list ref] wrote:
Add check for the return value of devm_kcalloc() and return the error
if it fails in order to avoid NULL pointer dereference.

Fixes: 32c170ff15b0 ("pinctrl: stm32: set default gpio line names using pin names")
Signed-off-by: Chen Ni <redacted>
Patch applied.

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help