summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-12-06 18:07:33 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2020-01-08 12:57:53 +0000
commit0bc9f0b82706c1a35baabf6fe21d4e705820dc97 (patch)
treeb4dcc158e4507ae96d4d890d9c150ec13b4226cb
parent8250e2e2d5ccf8bfae2b64ea633addf5093f22c8 (diff)
src/lib: Fix typos
Change-Id: Ia1da6637cfca5ddbd0879ea271bc68bb881b92e3 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37563 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/lib/b64_decode.c2
-rw-r--r--src/lib/bootmem.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/b64_decode.c b/src/lib/b64_decode.c
index 696652c0e0..9efa465c25 100644
--- a/src/lib/b64_decode.c
+++ b/src/lib/b64_decode.c
@@ -97,7 +97,7 @@ size_t b64_decode(const uint8_t *input_data,
bd.data_size = input_length;
bd.input_index = 0;
- while (1) { /* Until input is exausted. */
+ while (1) { /* Until input is exhausted. */
int v = get_next_char(&bd);
if (v < 0) {
diff --git a/src/lib/bootmem.c b/src/lib/bootmem.c
index 8ca3bbd3f6..0397594ef0 100644
--- a/src/lib/bootmem.c
+++ b/src/lib/bootmem.c
@@ -274,7 +274,7 @@ void *bootmem_allocate_buffer(size_t size)
end = max_addr;
begin = end - size;
- /* Mark buffer as unusuable for future buffer use. */
+ /* Mark buffer as unusable for future buffer use. */
bootmem_add_range(begin, size, BM_MEM_PAYLOAD);
return (void *)(uintptr_t)begin;