diff mbox series

[07/17] binman: Correct comments for ReadChildData()

Message ID 20211123180354.615946-8-sjg@chromium.org
State Accepted
Commit 557693ef7edaf66c43e709b33e7c98d7371c083c
Delegated to: Simon Glass
Headers show
Series binman: Various tidy-ups and refactors | expand

Commit Message

Simon Glass Nov. 23, 2021, 6:03 p.m. UTC
The comment here is incomplete. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 tools/binman/entry.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Simon Glass Dec. 2, 2021, 9:18 p.m. UTC | #1
The comment here is incomplete. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 tools/binman/entry.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Applied to u-boot-dm/next, thanks!
diff mbox series

Patch

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