[PATCH 1/2] lmb: Fix lmb_add_region_flags() return codes and testing
Tom Rini
trini at konsulko.com
Tue Oct 29 23:28:24 CET 2024
On Wed, 23 Oct 2024 18:22:00 +0300, Ilias Apalodimas wrote:
> The function description says this should return 0 or -1 on failures.
> When regions coalesce though this returns the number of coalescedregions
> which is confusing and requires special handling of the return code.
> On top of that no one is using the number of coalesced regions.
>
> So let's just return 0 on success and adjust our selftests accordingly
>
> [...]
Applied to u-boot/master, thanks!
--
Tom
More information about the U-Boot
mailing list