Thread (3 messages) 3 messages, 3 authors, 2019-06-07

Re: [PATCH] pinctrl: ns2: Fix potential NULL dereference

From: Linus Walleij <hidden>
Date: 2019-06-07 21:06:38
Also in: linux-gpio, lkml

On Wed, May 29, 2019 at 4:42 AM Young Xiao [off-list ref] wrote:
platform_get_resource() may fail and return NULL, so we should
better check it's return value to avoid a NULL pointer dereference
a bit later in the code.

Signed-off-by: Young Xiao <redacted>
Patch applied with Ray's ACK.

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