[PATCH] log: fixup log_head after relocating global data

Tom Rini trini at konsulko.com
Mon Mar 4 16:28:41 CET 2024


On Tue, Feb 13, 2024 at 06:13:28PM +0100, Thomas Weißschuh wrote:

> When `gd` is relocated during `spl_relocate_stack_gd()` the
> doubly-linked circular list in the `log_head` member is broken.
> 
> The last element of the list should point back to the initial
> `list_head`, but as the initial `list_head` is moved the pointer becomes
> stale. As a result the loop in `log_dispatch` would never finish.
> 
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240304/7e86fca2/attachment.sig>


More information about the U-Boot mailing list