aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2024-08-25 16:14:25 +0200
committerPhilipp Zabel <[email protected]>2024-09-02 11:51:19 +0200
commitb14e40f5dc7cd0dd7e958010e6ca9ad32ff2ddad (patch)
tree0a839530fd12976944f4dfe7bfb5554c1e7f8f0a /tools/perf/scripts/python/exported-sql-viewer.py
parent5f58a88cc91075be38cec69b7cb70aaa4ba69e8b (diff)
reset: k210: fix OF node leak in probe() error path
Driver is leaking OF node reference on memory allocation failure. Acquire the OF node reference after memory allocation to fix this and keep it simple. Fixes: 5a2308da9f60 ("riscv: Add Canaan Kendryte K210 reset controller") Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Damien Le Moal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Philipp Zabel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions