[PATCH] soc: samsung: exynos-pmu: Fix uninitialized ret in tensor_set_bits_atomic()
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Mon Jan 6 01:55:02 PST 2025
On Sat, 04 Jan 2025 14:56:05 +0100, Krzysztof Kozlowski wrote:
> If tensor_set_bits_atomic() is called with a mask of 0 the function will
> just iterate over its bit, not perform any updates and return stack
> value of 'ret'.
>
> Also reported by smatch:
>
> drivers/soc/samsung/exynos-pmu.c:129 tensor_set_bits_atomic() error: uninitialized symbol 'ret'.
>
> [...]
Applied, thanks!
[1/1] soc: samsung: exynos-pmu: Fix uninitialized ret in tensor_set_bits_atomic()
https://git.kernel.org/krzk/linux/c/eca836dfd8386b32f1aae60f8e323218ac6a0b75
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
More information about the linux-arm-kernel
mailing list