Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: marvell: prestera: Add missing of_node_put() in prestera_switch_…
…set_base_mac_addr This node pointer is returned by of_find_compatible_node() with refcount incremented. Calling of_node_put() to aovid the refcount leak. Fixes: 501ef30 ("net: marvell: prestera: Add driver for Prestera family ASIC devices") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information