diff options
| author | Yang Yingliang <[email protected]> | 2022-05-18 02:08:12 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-05-18 13:08:49 +0000 |
| commit | 223153ea6c79a0d78dc2a04e3300de1deb336f14 (patch) | |
| tree | 72082ff3469e950ac7b5106bf750fc285d46c0ae /net/tls/tls_main.c | |
| parent | selftests: netdevsim: Increase sleep time in hw_stats_l3.sh test (diff) | |
| download | kernel-223153ea6c79a0d78dc2a04e3300de1deb336f14.tar.gz kernel-223153ea6c79a0d78dc2a04e3300de1deb336f14.zip | |
net: ethernet: sunplus: add missing of_node_put() in spl2sw_mdio_init()
of_get_child_by_name() returns device node pointer with refcount
incremented. The refcount should be decremented before returning
from spl2sw_mdio_init().
Fixes: fd3040b9394c ("net: ethernet: Add driver for Sunplus SP7021")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Yang Yingliang <[email protected]>
Reviewed-by: Wells Lu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tls/tls_main.c')
0 files changed, 0 insertions, 0 deletions
