Thread (3 messages) flat view 3 messages, 3 authors, 2021-06-07

Re: [PATCH net-next v2] net: mscc: ocelot: check return value after calling platform_get_resource()

From: Vladimir Oltean <olteanv@gmail.com>
Date: 2021-06-06 01:03:47
Also in: lkml

On Sat, Jun 05, 2021 at 10:31:48AM +0800, Yang Yingliang wrote:
It will cause null-ptr-deref if platform_get_resource() returns NULL,
we need check the return value.

Signed-off-by: Yang Yingliang <redacted>
---
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help