[PATCH master] ddr: fsl: fix possible use of uninitalized variable
Sascha Hauer
s.hauer at pengutronix.de
Mon Feb 19 23:17:05 PST 2024
On Mon, 19 Feb 2024 14:30:59 +0100, Ahmad Fatoum wrote:
> step_assign_addresses_interleaved() contains a loop that either sets
> total_mem to a fixed value or keeps incrementing it.
>
> If we exclusively run into the "keep incrementing it"-case, we would
> start with an uninitialized total_mem. Fix this by initializing it to 0.
>
>
> [...]
Applied, thanks!
[1/1] ddr: fsl: fix possible use of uninitalized variable
https://git.pengutronix.de/cgit/barebox/commit/?id=1d8515a0d3f7 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list