[PATCH v2 5/8] lmb: correct size of the regions array

Tom Rini trini at konsulko.com
Fri Apr 23 18:24:04 CEST 2021

On Wed, Mar 10, 2021 at 10:16:29AM +0100, Patrick Delaunay wrote:

> As in lmb_region, cnt < max and in the lmb library
> use region[i] only with i in 0...cnt, this region array size
> can be reduced by 1 element without overflow.
> This patch allows to reduce the struct lmb size.
> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>

Applied to u-boot/master, thanks!

-------------- 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/20210423/7167b310/attachment.sig>

More information about the U-Boot mailing list