Re: [PATCH v5 04/17] menu: menu_get_choice() return -ENOENT if menu item is empty

2022-04-29 Thread Heinrich Schuchardt
On 4/28/22 10:09, Masahisa Kojima wrote: menu_get_choice() needs to handle the case that menu item is empty. In this case, menu_get_choice() returns -ENOENT. Signed-off-by: Masahisa Kojima --- Newly created in v5 common/menu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH v5 04/17] menu: menu_get_choice() return -ENOENT if menu item is empty

2022-04-28 Thread Masahisa Kojima
menu_get_choice() needs to handle the case that menu item is empty. In this case, menu_get_choice() returns -ENOENT. Signed-off-by: Masahisa Kojima --- Newly created in v5 common/menu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/menu.c b/common/menu.c index