Re: [PATCH] memory: stm32_omm: initialize ret in stm32_omm_set_amcr

From: Krzysztof Kozlowski

Date: Tue Jun 30 2026 - 13:34:49 EST



On Thu, 18 Jun 2026 02:22:02 +0800, Ruoyu Wang wrote:
> stm32_omm_set_amcr() returns ret after checking whether the AMCR value
> matches the device tree description. On the normal matching path ret is
> not otherwise assigned, so initialize it to 0 before the checks.

Applied, thanks!

[1/1] memory: stm32_omm: initialize ret in stm32_omm_set_amcr
https://git.kernel.org/krzk/linux-mem-ctrl/c/1527acf2295cf2d6e11e3e9b121d63709667e6e7

Best regards,
--
Krzysztof Kozlowski <krzk@xxxxxxxxxx>