From 0bc9f0b82706c1a35baabf6fe21d4e705820dc97 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 6 Dec 2019 18:07:33 +0100 Subject: [PATCH] src/lib: Fix typos Change-Id: Ia1da6637cfca5ddbd0879ea271bc68bb881b92e3 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/37563 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/lib/b64_decode.c | 2 +- src/lib/bootmem.c | 2 +- 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;