Re: [PATCH] pinctrl: ns2: Fix potential NULL dereference
From: Linus Walleij <hidden>
Date: 2019-06-07 21:06:38
Also in:
linux-gpio, lkml
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