diff options
| author | Aleksandr Mishin <[email protected]> | 2024-10-15 09:01:22 +0300 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-10-21 10:50:16 +0200 |
| commit | 1dec67e0d9fbb087c2ab17bf1bd17208231c3bb1 (patch) | |
| tree | a35c290d15e8c4f8ad8ee738d4376acf29f68385 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | efeddd552ec6767e4c8884caa516ac80b65f8823 (diff) | |
fsl/fman: Fix refcount handling of fman-related devices
In mac_probe() there are multiple calls to of_find_device_by_node(),
fman_bind() and fman_port_bind() which takes references to of_dev->dev.
Not all references taken by these calls are released later on error path
in mac_probe() and in mac_remove() which lead to reference leaks.
Add references release.
Fixes: 3933961682a3 ("fsl/fman: Add FMan MAC driver")
Signed-off-by: Aleksandr Mishin <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions