From: Ilias Apalodimas <ilias.apalodimas@linaro.org>
To: Masahisa Kojima <masahisa.kojima@linaro.org>
Cc: u-boot@lists.denx.de, Heinrich Schuchardt <xypron.glpk@gmx.de>
Subject: Re: [PATCH v4 4/4] eficonfig: increase the number of menu entries
Date: Mon, 23 Jan 2023 17:08:50 +0200 [thread overview]
Message-ID: <Y86jAj1Fkrn0+MZ+@hera> (raw)
In-Reply-To: <20230120084358.5919-5-masahisa.kojima@linaro.org>
On Fri, Jan 20, 2023 at 05:43:58PM +0900, Masahisa Kojima wrote:
> Current eficonfig has the maximum number of menu entries and
> it is 99. If there are more EFI load options and files in the
> system, eficonfig can not handle it.
>
> This commit increases this maximum number of menu entries
> to INT_MAX.
>
> Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
> ---
> Newly created in v4
>
> include/efi_config.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/efi_config.h b/include/efi_config.h
> index 6a104e4b1d..e5edbb5e09 100644
> --- a/include/efi_config.h
> +++ b/include/efi_config.h
> @@ -11,7 +11,7 @@
> #include <efi_loader.h>
> #include <menu.h>
>
> -#define EFICONFIG_ENTRY_NUM_MAX 99
> +#define EFICONFIG_ENTRY_NUM_MAX INT_MAX
> #define EFICONFIG_VOLUME_PATH_MAX 512
> #define EFICONFIG_FILE_PATH_MAX 512
> #define EFICONFIG_FILE_PATH_BUF_SIZE (EFICONFIG_FILE_PATH_MAX * sizeof(u16))
> --
> 2.17.1
>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
prev parent reply other threads:[~2023-01-23 15:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-20 8:43 [PATCH v4 0/4] eficonfig: add vertical scroll support and refactoring Masahisa Kojima
2023-01-20 8:43 ` [PATCH v4 1/4] eficonfig: refactor eficonfig_process_common function Masahisa Kojima
2023-01-23 13:04 ` Ilias Apalodimas
2023-01-20 8:43 ` [PATCH v4 2/4] eficonfig: refactor change boot order implementation Masahisa Kojima
2023-01-23 14:57 ` Ilias Apalodimas
2023-01-20 8:43 ` [PATCH v4 3/4] eficonfig: add vertical scroll support Masahisa Kojima
2023-01-23 15:07 ` Ilias Apalodimas
2023-01-24 4:43 ` Masahisa Kojima
2023-01-20 8:43 ` [PATCH v4 4/4] eficonfig: increase the number of menu entries Masahisa Kojima
2023-01-23 15:08 ` Ilias Apalodimas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y86jAj1Fkrn0+MZ+@hera \
--to=ilias.apalodimas@linaro.org \
--cc=masahisa.kojima@linaro.org \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox