summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>2026-01-16 17:08:43 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-26 16:40:33 +0100
commitf397bc0781553d01b4cdba506c09334a31cb0ec5 (patch)
tree2f036d39b62069af0515380738c1d8cd9876c567 /tools/perf/scripts/python/task-analyzer.py
parentb7f42b0cfb94d4cc96371ef77c4ecffbc1c02ac2 (diff)
downloadlinux-f397bc0781553d01b4cdba506c09334a31cb0ec5.tar.gz
linux-f397bc0781553d01b4cdba506c09334a31cb0ec5.zip
nvmem: Drop OF node reference on nvmem_add_one_cell() failure
If nvmem_add_one_cell() failed, the ownership of "child" (or "info.np"), thus its OF reference, is not passed further and function should clean up by putting the reference it got via earlier of_node_get(). Note that this is independent of references obtained via for_each_child_of_node() loop. Fixes: 50014d659617 ("nvmem: core: use nvmem_add_one_cell() in nvmem_add_cells_from_of()") Cc: stable@vger.kernel.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Srinivas Kandagatla <srini@kernel.org> Link: https://patch.msgid.link/20260116170846.733558-2-srini@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions