[PATCH] expo: allocate correct amount of memory

Tom Rini trini at konsulko.com
Wed Aug 9 03:40:39 CEST 2023


On Mon, Jul 31, 2023 at 05:08:29PM +0300, Dan Carpenter wrote:

> This should be allocating the memory for "item" instead of "menu".
> The item struct is 48 bytes instead of 96 (assuming a 64bit system)
> so this saves a little memory.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>

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/20230808/84766abc/attachment.sig>


More information about the U-Boot mailing list