From 1ec76447c0fe3dbbe0a8e3d4762294bf3c7a97f8 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Tue, 7 Aug 2018 12:20:04 +0200 Subject: src/lib: Fix typo Change-Id: Ie5bf036a63a254dd95b45a0823086c8079eeafe2 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/27913 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/lib/device_tree.c | 2 +- src/lib/region_file.c | 2 +- 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; } -- cgit v1.2.3