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 079F4C433FE for ; Thu, 3 Mar 2022 21:16:35 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 50F8983D18; Thu, 3 Mar 2022 22:15:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="gbR2JXPP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AE46D83D14; Thu, 3 Mar 2022 22:15:47 +0100 (CET) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (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 2949E83CDF for ; Thu, 3 Mar 2022 22:15:43 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=alpernebiyasak@gmail.com Received: by mail-ed1-x52a.google.com with SMTP id w3so8250021edu.8 for ; Thu, 03 Mar 2022 13:15:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:from:subject:to:cc :references:content-language:in-reply-to:content-transfer-encoding; bh=BJtI31riNbWW/5hZhKpZBr0a/j5o+0y6xtaoWLDcGTI=; b=gbR2JXPPSWUKUWUWjdZL0Zifz+4CUoDNPyWzEfofgmb7UZROfl7Z/XXggZWTkFj2V9 NtU6tU59SUJgecN5pfx/mUB22fnJ1gugenFxOa8ROcpIw9tz8JdcmpsIcMvmnUjy50f+ nkIz7wgIQjoMVW1EQAaZyzJzsPocjwkfhG8790lk5vWSeKC7PT5X0YyVACz69BHxJjP/ cSm1yTwwpPHPRQ0O8j27ICXmT5aKxWYXZOjup4P1H6ukugeMU+7o1YeUNihnHarTe7VV gmvN/gplgl8xoI1NLIToaWnAZeTHV/v2z/iOp3hVUCz7As6lYnxUKTr2Pe4LZz+iafnb jdzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:from :subject:to:cc:references:content-language:in-reply-to :content-transfer-encoding; bh=BJtI31riNbWW/5hZhKpZBr0a/j5o+0y6xtaoWLDcGTI=; b=PjgpXOk7YTF6/0ZNcoGntghLtFhsLods6h4Mpa3N+02JO/wyB09D8qGA4motivtH5d FexAtBOEEcpswrbBu15K3OmmrhCwGTYtat9lar1lwVQcBvEpZ6ZU0VUK8A8jACFVMWsA yJCCYfPVZ5FRT4yTUd0VZrtey+mn16bYwSMLbpcxGNWpj5xGP5zYs+gzEeaEljzaYev6 lQ/H5pSQ5fAxbjOPdwkLYRRN6iLkLisRsC0zSVQ5pSsrSLeUWoiIRX+cPSG53pxKBjtq p9x5gw/z5L+liz80s2JZA9S7jEqSyhCHtRYk48TEDTH1QjRQQYDZDu16+lcDgZWwtwA8 /Gfg== X-Gm-Message-State: AOAM531sccFek3bkSct82Te+3eRTzR/ugyEzDlCcl+UVoe5EUiBipxFa v0cnWxOZmLi81R+TBOjum6A= X-Google-Smtp-Source: ABdhPJxXbwQjt7u2w6/0u8jgEj1ERTpmHmwekTZ6ogVRKtybE+J9NR2cPunQd7HIHG0twwOaNWwsEw== X-Received: by 2002:a05:6402:549:b0:415:9497:4d8 with SMTP id i9-20020a056402054900b00415949704d8mr13618376edx.183.1646342142779; Thu, 03 Mar 2022 13:15:42 -0800 (PST) Received: from [192.168.0.74] ([178.233.26.119]) by smtp.gmail.com with ESMTPSA id d6-20020a056402144600b00412a7d10c20sm1282227edx.60.2022.03.03.13.15.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Mar 2022 13:15:42 -0800 (PST) Message-ID: <7cf47630-0045-3caa-e55b-b41b46d1e310@gmail.com> Date: Fri, 4 Mar 2022 00:08:31 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 From: Alper Nebi Yasak Subject: Re: [PATCH v2 06/25] elf: Rename load_segments() and module failure To: Simon Glass Cc: Ivan Mikhaylov , Tom Rini , Philippe Reynes , huang lin , Jeffy Chen , Kever Yang , U-Boot Mailing List References: <20220223230040.159317-1-sjg@chromium.org> <20220223230040.159317-7-sjg@chromium.org> Content-Language: en-US In-Reply-To: <20220223230040.159317-7-sjg@chromium.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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.5 at phobos.denx.de X-Virus-Status: Clean On 24/02/2022 02:00, Simon Glass wrote: > Rename this function to make it clear that it only reads loadable > segments. Also update the error for missing module to better match the > message emitted by Python. > > Signed-off-by: Simon Glass > Suggested-by: Alper Nebi Yasak > --- > > Changes in v2: > - Add new patch to rename load_segments() and module failure > > tools/binman/elf.py | 6 +++--- > tools/binman/elf_test.py | 18 +++++++++--------- > 2 files changed, 12 insertions(+), 12 deletions(-) Reviewed-by: Alper Nebi Yasak