diff options
author | Aleksandr Mishin <amishin@t-argos.ru> | 2024-10-15 09:01:21 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-10-21 11:50:16 +0300 |
commit | efeddd552ec6767e4c8884caa516ac80b65f8823 (patch) | |
tree | 0d37b36ef53ea40ad784cf2a9cc68860d03a0b0f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3b05b9c36ddd01338e1352588f2ec1ea23f97d43 (diff) | |
download | linux-efeddd552ec6767e4c8884caa516ac80b65f8823.tar.xz |
fsl/fman: Save device references taken in mac_probe()
In mac_probe() there are calls to of_find_device_by_node() which takes
references to of_dev->dev. These references are not saved and not released
later on error path in mac_probe() and in mac_remove().
Add new fields into mac_device structure to save references taken for
future use in mac_probe() and mac_remove().
This is a preparation for further reference leaks fix.
Signed-off-by: Aleksandr Mishin <amishin@t-argos.ru>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions