Skip to content
Snippets Groups Projects
user avatar
Miaoqian Lin authored
The device_node pointer is returned by of_parse_phandle()  with refcount
incremented. We should use of_node_put() on it when done.

Fixes: 6d4e5c57 ("net: dsa: get port type at parse time")
Signed-off-by: default avatarMiaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220316082602.10785-1-linmq006@gmail.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
cb0b430b
Name Last commit Last update