[PATCH 14/23] interconnect: exynos: fix node leak in probe PM QoS error path
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Thu Feb 2 02:58:51 PST 2023
On 01/02/2023 11:15, Johan Hovold wrote:
> Make sure to add the newly allocated interconnect node to the provider
> before adding the PM QoS request so that the node is freed on errors.
>
> Fixes: 2f95b9d5cf0b ("interconnect: Add generic interconnect driver for Exynos SoCs")
> Cc: stable at vger.kernel.org # 5.11
> Cc: Sylwester Nawrocki <s.nawrocki at samsung.com>
> Signed-off-by: Johan Hovold <johan+linaro at kernel.org>
> ---
> drivers/interconnect/samsung/exynos.c | 6 +++---
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list