From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A67B8C05027 for ; Mon, 23 Jan 2023 15:43:19 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 86F988577A; Mon, 23 Jan 2023 16:42:20 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="wpIbwXJ1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B3EC285739; Mon, 23 Jan 2023 16:08:55 +0100 (CET) Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1C0C08571C for ; Mon, 23 Jan 2023 16:08:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-ej1-x631.google.com with SMTP id bk15so31228025ejb.9 for ; Mon, 23 Jan 2023 07:08:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=z51lhCsQy2YUqCycnOSyj95/3YBWCVbmng6K4j+p+3Y=; b=wpIbwXJ1d0RqREUOFY9oOWx1j8tbm7a5quzyWqLfldHYHEbG4vDY9TvbrEAhnypCW1 M6/WZqk4nVfSb+ZFLFcK2F6DgHEnzwBv71UjxmpRyfm8LdlRXjxMFBmYAj20963kimAf /nqJee2Xo8S95Hfj4GFatpBzJ28U87SZfCxvU5hZsJd9W0eJ9cm9/+HcF5l7vaqotUee 3zphANrgngLZFEILuAN73d+YXbQrnGvwJmk4xyaxjIPeL0eTcvOwGYAIr+fJVfgkuR5o kfHQOgRL4NkOYFKJB0o1qEH72XF6YI/O22JNFe/arKxeyw8Tf/FmoS3wVPMwwaxqtZGn 1vAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=z51lhCsQy2YUqCycnOSyj95/3YBWCVbmng6K4j+p+3Y=; b=udCj83QUQdFjgWF/F8uqiTp4FaN2/4+A3RtqH8/JV3E6fjqOhhMFUCLfxOjXDSUPtZ kekzzH6j/yinEK9n02DHrflX5NqjAfON6PbUFEbIpm5m8ueFmfcGOIwBwrxoGetrk0vC zGGwvcDy3sQRTGtlo5hyoT++Wg7n9kqAa//9pepsCyO1EuD0shGGd2dBFlwpa879VyNo s37+7UaF7cD5H+73bG3PrRZaCu5YUPEgwOcaOO84Rp7FAoVny0UO42S08IX3rnI8OGyY UXqtPBF2yoimztm8st8ptobZBqUgd6bjm2BpPHUE035Z5YEXr2XjsP3AqV664VTfstsb a5Rg== X-Gm-Message-State: AFqh2kpGu1c5ZJyqa3kbJ1IBR7slsYhgZwxmTcghthHgDvksHRuDlRTZ NMN5GeLnCJdmD1MlbADVdX8aJg== X-Google-Smtp-Source: AMrXdXuGBj1HVwqjEps4ZDLI6ROozeiVBZ5rrI8ym9x7xXNQ3QS/wA1IG5YXy059IU7Um4VoSewE0w== X-Received: by 2002:a17:906:4b4c:b0:871:e336:cd2a with SMTP id j12-20020a1709064b4c00b00871e336cd2amr24821215ejv.47.1674486532721; Mon, 23 Jan 2023 07:08:52 -0800 (PST) Received: from hera (ppp079167090036.access.hol.gr. [79.167.90.36]) by smtp.gmail.com with ESMTPSA id 9-20020a170906218900b0084cb4d37b8csm22420147eju.141.2023.01.23.07.08.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jan 2023 07:08:52 -0800 (PST) Date: Mon, 23 Jan 2023 17:08:50 +0200 From: Ilias Apalodimas To: Masahisa Kojima Cc: u-boot@lists.denx.de, Heinrich Schuchardt Subject: Re: [PATCH v4 4/4] eficonfig: increase the number of menu entries Message-ID: References: <20230120084358.5919-1-masahisa.kojima@linaro.org> <20230120084358.5919-5-masahisa.kojima@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230120084358.5919-5-masahisa.kojima@linaro.org> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean 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 > --- > 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 > #include > > -#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