summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-08-25 16:14:25 +0200
committerPhilipp Zabel <p.zabel@pengutronix.de>2024-09-02 11:51:19 +0200
commitb14e40f5dc7cd0dd7e958010e6ca9ad32ff2ddad (patch)
tree0a839530fd12976944f4dfe7bfb5554c1e7f8f0a /scripts/lib/kdoc/kdoc_output.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 <krzysztof.kozlowski@linaro.org> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Link: https://lore.kernel.org/r/20240825-reset-cleanup-scoped-v1-2-03f6d834f8c0@linaro.org Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions