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 53BDBC433F5 for ; Tue, 23 Nov 2021 18:04:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C349183681; Tue, 23 Nov 2021 19:04:38 +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="BDL6lMCz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F2B0B83731; Tue, 23 Nov 2021 19:04:25 +0100 (CET) Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) (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 B65C58370D for ; Tue, 23 Nov 2021 19:04:20 +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-oi1-x229.google.com with SMTP id bj13so46209679oib.4 for ; Tue, 23 Nov 2021 10:04:20 -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=RQYyGpHM9OuMrjF7hJUbxGvCkyYJYsek9D2zNg/1D18=; b=BDL6lMCzu/KPFOEIbJx44Wsw4IrPLR/l6cD4MuYWSko2lqkwaU1cg28udx9NvrlcRN GLEI9Rbw7p2PdiFbOTHtmatdaDN4PBm+fQA0jZ+ToldahVtf1hLRvtX1B64A0ziwJ7NW OZJdL6xoO97VpDyx8H+xkl4R6OfhUAZAVGiRc= 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=RQYyGpHM9OuMrjF7hJUbxGvCkyYJYsek9D2zNg/1D18=; b=254azQER11e5MecqzNy9m/ewhlZ60RfCO8hZx2WmVZLO3yC8xTublDES+Oe6RPOqI9 r18P0k/qGg2d9RMKzMypEKqwF09Gzw07uL/3tZbnY1xwn2mZqW4Gads552Al4mUEVTDc BNdhtAjpUZ/GLpTXAQ5OEbaNvC2IQLQZSP5T2T77hmUxDHh4NXgSiXT4TxR5G4EO7Jf4 lfFsSSVJvc5Xf/d2EG56dZ0yXPVy0tTUr8iLWGAp/hHxGcMLzZ8TYvY2Hr9Fci06StW2 XDZyjX2WXCpEYkfIFmJFG+GsSPjp5eQm1JGJcZt4zLatjt6hToGagQTdFMLrguap/BIA P2jg== X-Gm-Message-State: AOAM530ZTHLytUaWrWKIGddsj4zQDlQdDVvuimonpo4LHdfSlidVStoZ 52ZILQi0lq3RM0QAlL8mf1vpK3NLHsVPIg== X-Google-Smtp-Source: ABdhPJyQmmSraKuokYYytpUThDHL3WPVK/ayKTeuyjD8Eo/mSFqylJYoZwjXy7qet2zmwGvf+sfp3w== X-Received: by 2002:a05:6808:171b:: with SMTP id bc27mr4278866oib.21.1637690659038; Tue, 23 Nov 2021 10:04:19 -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.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Nov 2021 10:04:18 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH 07/17] binman: Correct comments for ReadChildData() Date: Tue, 23 Nov 2021 11:03:44 -0700 Message-Id: <20211123180354.615946-8-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 The comment here is incomplete. Fix it. Signed-off-by: Simon Glass --- tools/binman/entry.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/binman/entry.py b/tools/binman/entry.py index 5e66aa4fa54..2205bc8d923 100644 --- a/tools/binman/entry.py +++ b/tools/binman/entry.py @@ -860,7 +860,8 @@ features to produce new behaviours. """Handle writing the data in a child entry This should be called on the child's parent section after the child's - data has been updated. It + data has been updated. It should update any data structures needed to + validate that the update is successful. This base-class implementation does nothing, since the base Entry object does not have any children. @@ -870,7 +871,7 @@ features to produce new behaviours. Returns: True if the section could be updated successfully, False if the - data is such that the section could not updat + data is such that the section could not update """ return True -- 2.34.0.rc2.393.gf8c9666880-goog