summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/device_tree.c2
-rw-r--r--src/lib/region_file.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/device_tree.c b/src/lib/device_tree.c
index 00b36fdb4a..a905dbf893 100644
--- a/src/lib/device_tree.c
+++ b/src/lib/device_tree.c
@@ -751,7 +751,7 @@ uint32_t dt_get_phandle(struct device_tree_node *node)
* Write an arbitrary sized big-endian integer into a pointer.
*
* @param dest Pointer to the DT property data buffer to write.
- * @param src The integer to write (in CPU endianess).
+ * @param src The integer to write (in CPU endianness).
* @param length the length of the destination integer in bytes.
*/
void dt_write_int(u8 *dest, u64 src, size_t length)
diff --git a/src/lib/region_file.c b/src/lib/region_file.c
index 9d103f2404..e42c2afd1e 100644
--- a/src/lib/region_file.c
+++ b/src/lib/region_file.c
@@ -465,7 +465,7 @@ int region_file_update_data(struct region_file *f, const void *buf, size_t size)
break;
}
- /* No more state changes and data commited. */
+ /* No more state changes and data committed. */
if (f->slot > RF_ONLY_METADATA && prev_slot != f->slot)
break;
}