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 208C9C433F5 for ; Tue, 23 Nov 2021 18:05:17 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 542E08373F; Tue, 23 Nov 2021 19:04:48 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="WRX0Pk4n"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 321D883709; Tue, 23 Nov 2021 19:04:28 +0100 (CET) Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) (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 B0C99836DC for ; Tue, 23 Nov 2021 19:04:19 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-ot1-x32a.google.com with SMTP id 47-20020a9d0332000000b005798ac20d72so97115otv.9 for ; Tue, 23 Nov 2021 10:04:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3p3FzIM18260bOy3xGfjY9x+qLHWc6EllpRLr89Awxk=; b=WRX0Pk4nfslnI29Hvd3soHwkW9rHIG6YyE9cw2taC+QYDI4Wn6rloAMZJrZcNdTRq8 akq+6DzQtH5dL0nQRKz0JyOJ6wfwiVNtNGD3m+TPhIYYIM0al2yO/ZWMd+7L+CClkJ4+ GKymV3s6OSPwyk2kahY6m/4QZ/OmPpxQhHTW8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3p3FzIM18260bOy3xGfjY9x+qLHWc6EllpRLr89Awxk=; b=MsO9ml/XQeiw2ACxMBhb1F+nv2Q86T2cM/REwjIJGQFKSP16U+SU5geD7TRln2VdRe /2TApOLzJjTs73RU8Hxb4j+1O5JdOleZ5JasLWpnVlEw4B7S6tQhmKYUbt3taLgQ1NKm tbB7ZNHdjvshW4wvhIt7N+iDbDj1NXnI2T6NPAJkBuzVMvHC6zBQj66WgRjRXdO+a+u8 r//YST3SxOgF0NKqEyRS2bGhslnSvkV+K2JrJKICCLWNrlvj9KOxPGyk2voG+Lm3U/bC X5wnh+lcRg/egRXGl7Y1QZi86XNli2nGWCzC2HjiYLpx+MsWmxngtMFxGAR3FIRg7BAY DgHw== X-Gm-Message-State: AOAM532GgIOkizHyx2Wi+zORE3j9Gc/uUX2emYxrtOtP211zwhiYJt4K EoqRpdtOJ5CbtdGhdu4nX46RRA7EQYBldg== X-Google-Smtp-Source: ABdhPJxxEhdAvuf/Vht9C9xjr14kuo1GFz0PcJofstOGxgQ6TGI/TXO4cOheGxRmAyHLVyuyQrceFg== X-Received: by 2002:a9d:6f13:: with SMTP id n19mr6193865otq.317.1637690658159; Tue, 23 Nov 2021 10:04:18 -0800 (PST) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id c8sm2357514otk.40.2021.11.23.10.04.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Nov 2021 10:04:17 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH 06/17] binman: Correct init of entry in Entry class Date: Tue, 23 Nov 2021 11:03:43 -0700 Message-Id: <20211123180354.615946-7-sjg@chromium.org> X-Mailer: git-send-email 2.34.0.rc2.393.gf8c9666880-goog In-Reply-To: <20211123180354.615946-1-sjg@chromium.org> References: <20211123180354.615946-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.37 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.2 at phobos.denx.de X-Virus-Status: Clean This should not have an underscore. Drop it so that derived classes can rely on it being set correctly. Signed-off-by: Simon Glass --- tools/binman/entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/binman/entry.py b/tools/binman/entry.py index 70222718ea9..5e66aa4fa54 100644 --- a/tools/binman/entry.py +++ b/tools/binman/entry.py @@ -95,7 +95,7 @@ class Entry(object): self.pad_after = 0 self.offset_unset = False self.image_pos = None - self._expand_size = False + self.expand_size = False self.compress = 'none' self.missing = False self.external = False -- 2.34.0.rc2.393.gf8c9666880-goog