diff options
| author | Shitalkumar Gandhi <shital.gandhi45@gmail.com> | 2026-05-06 22:58:13 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-09 04:10:30 +0300 |
| commit | 6635fa84403c3a59455b66007c019a7cc632db30 (patch) | |
| tree | 7a189793e0192b39dc1fbd122d87cfe9538e7601 /include | |
| parent | c4f3d6eb1fcf6cd9ce4644f604d5aad1ce594dfc (diff) | |
| download | linux-6635fa84403c3a59455b66007c019a7cc632db30.tar.xz | |
net: ti: icssm-prueth: fix eth_ports_node leak in probe
The error path on of_property_read_u32() failure inside
icssm_prueth_probe() returns without putting eth_ports_node,
which was acquired before the for_each_child_of_node() loop.
Drop it before returning.
Fixes: 511f6c1ae093 ("net: ti: icssm-prueth: Adds ICSSM Ethernet driver")
Signed-off-by: Shitalkumar Gandhi <shitalkumar.gandhi@cambiumnetworks.com>
Link: https://patch.msgid.link/20260506195813.641610-1-shitalkumar.gandhi@cambiumnetworks.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
