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

Jonas Karlman jonas at kwiboo.se
Sun Feb 19 23:02:03 CET 2023


Replace notes with nodes in code comments and docstrings.

Signed-off-by: Jonas Karlman <jonas at 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(-)

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:
-- 
2.39.2



More information about the U-Boot mailing list