Re: [PATCH] expo: allocate correct ammount of memory

2023-07-31 Thread Simon Glass
On Mon, 31 Jul 2023 at 08:08, 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 > --- > boot/scene_menu.c | 2 +- > 1

[PATCH] expo: allocate correct ammount of memory

2023-07-31 Thread Dan Carpenter
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 --- boot/scene_menu.c | 2 +- 1 file changed, 1 insertions(+), 1 deletions(-) diff --git a/boot/scen