summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/cache
diff options
context:
space:
mode:
authorLu Hongfei <luhongfei@vivo.com>2023-06-12 16:34:52 +0300
committerBjorn Andersson <andersson@kernel.org>2023-09-19 21:34:12 +0300
commit5692aeea5bcb9331e956628c3bc8fc9afcc9765d (patch)
tree2ea02f064fb9b78d4e969257c8258d1845d4cc45 /Documentation/devicetree/bindings/cache
parentd74612b6da61aeb32e81bcf762b8be4e3c41bda5 (diff)
downloadlinux-5692aeea5bcb9331e956628c3bc8fc9afcc9765d.tar.xz
soc: qcom: pmic: Fix resource leaks in a device_for_each_child_node() loop
The device_for_each_child_node loop should call fwnode_handle_put() before return in the error cases, to avoid resource leaks. Let's fix this bug in pmic_glink_altmode_probe(). Signed-off-by: Lu Hongfei <luhongfei@vivo.com> Link: https://lore.kernel.org/r/20230612133452.47315-1-luhongfei@vivo.com [bjorn: Rebased patch, moved fw_handle_put() from jump target into the loop] Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/cache')
0 files changed, 0 insertions, 0 deletions