diff mbox series

[2/9] binman: Fix spelling of nodes in code comments

Message ID 20230219220158.4160763-3-jonas@kwiboo.se
State Accepted
Commit dd4bdad4c1b17fcfc43e3fa56a2c5131fac01c2a
Delegated to: Simon Glass
Headers show
Series binman: Show missing blob message when building U-Boot | expand

Commit Message

Jonas Karlman Feb. 19, 2023, 10:02 p.m. UTC
Replace notes with nodes in code comments and docstrings.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
---
 tools/binman/etype/fit.py     | 2 +-
 tools/binman/etype/section.py | 2 +-
 tools/binman/state.py         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Comments

Simon Glass Feb. 21, 2023, 7:35 p.m. UTC | #1
On Sun, 19 Feb 2023 at 15:02, Jonas Karlman <jonas@kwiboo.se> wrote:
>
> Replace notes with nodes in code comments and docstrings.
>
> Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
> ---
>  tools/binman/etype/fit.py     | 2 +-
>  tools/binman/etype/section.py | 2 +-
>  tools/binman/state.py         | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>
Simon Glass March 8, 2023, 10:17 p.m. UTC | #2
On Sun, 19 Feb 2023 at 15:02, Jonas Karlman <jonas@kwiboo.se> wrote:
>
> Replace notes with nodes in code comments and docstrings.
>
> Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
> ---
>  tools/binman/etype/fit.py     | 2 +-
>  tools/binman/etype/section.py | 2 +-
>  tools/binman/state.py         | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)

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

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

Patch

diff --git a/tools/binman/etype/fit.py b/tools/binman/etype/fit.py
index cd2943533ce2..822de7982768 100644
--- a/tools/binman/etype/fit.py
+++ b/tools/binman/etype/fit.py
@@ -823,7 +823,7 @@  class Entry_fit(Entry_section):
         self.mkimage = self.AddBintool(btools, 'mkimage')
 
     def CheckMissing(self, missing_list):
-        # We must use our private entry list for this since generator notes
+        # We must use our private entry list for this since generator nodes
         # which are removed from self._entries will otherwise not show up as
         # missing
         for entry in self._priv_entries.values():
diff --git a/tools/binman/etype/section.py b/tools/binman/etype/section.py
index 57b91ff726c0..8bf5aa437d1a 100644
--- a/tools/binman/etype/section.py
+++ b/tools/binman/etype/section.py
@@ -172,7 +172,7 @@  class Entry_section(Entry):
     def IsSpecialSubnode(self, node):
         """Check if a node is a special one used by the section itself
 
-        Some notes are used for hashing / signatures and do not add entries to
+        Some nodes are used for hashing / signatures and do not add entries to
         the actual section.
 
         Returns:
diff --git a/tools/binman/state.py b/tools/binman/state.py
index 56e5bf8bc10f..33563199840e 100644
--- a/tools/binman/state.py
+++ b/tools/binman/state.py
@@ -306,7 +306,7 @@  def GetUpdateNodes(node, for_repack=False):
     """Yield all the nodes that need to be updated in all device trees
 
     The property referenced by this node is added to any device trees which
-    have the given node. Due to removable of unwanted notes, SPL and TPL may
+    have the given node. Due to removable of unwanted nodes, SPL and TPL may
     not have this node.
 
     Args: