On Wed, May 29, 2019 at 4:42 AM Young Xiao <92siuy...@gmail.com> 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 <92siuy...@gmail.com>

Patch applied with Ray's ACK.

Yours,
Linus Walleij

Reply via email to