aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJavier Carrasco <[email protected]>2024-10-30 18:34:45 +0100
committerKalle Valo <[email protected]>2024-11-11 14:07:24 +0200
commit2e19a3b590ebf2e351fc9d0e7c323430e65b6b6d (patch)
tree112c5ea00667cdc72d9cc17e236568c2afb69436 /tools/perf/scripts/python/export-to-postgresql.py
parent5255ee958f584c86b9f4836bf750073a36fc3c02 (diff)
wifi: brcmfmac: release 'root' node in all execution paths
The fixed patch introduced an additional condition to enter the scope where the 'root' device_node is released (!settings->board_type, currently 'err'), which avoid decrementing the refcount with a call to of_node_put() if that second condition is not satisfied. Move the call to of_node_put() to the point where 'root' is no longer required to avoid leaking the resource if err is not zero. Cc: [email protected] Fixes: 7682de8b3351 ("wifi: brcmfmac: of: Fetch Apple properties") Signed-off-by: Javier Carrasco <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions