aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2022-01-11 21:13:59 +0100
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2022-01-23 12:21:56 +0100
commit50ebd19e3585b9792e994cfa8cbee8947fe06371 (patch)
treeb4eed7d4dc440ba48ccec1587ef5b5c405b8c0d4 /tools/perf/scripts/python
parentLinux 5.17-rc1 (diff)
downloadlinux-50ebd19e3585b9792e994cfa8cbee8947fe06371.tar.gz
linux-50ebd19e3585b9792e994cfa8cbee8947fe06371.zip
pinctrl: samsung: drop pin banks references on error paths
The driver iterates over its devicetree children with for_each_child_of_node() and stores for later found node pointer. This has to be put in error paths to avoid leak during re-probing. Fixes: ab663789d697 ("pinctrl: samsung: Match pin banks with their device nodes") Cc: <stable@vger.kernel.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by: Chanho Park <chanho61.park@samsung.com> Link: https://lore.kernel.org/r/20220111201426.326777-2-krzysztof.kozlowski@canonical.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions