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>
This commit is contained in:
Elyes HAOUAS 2019-12-06 18:07:33 +01:00 committed by Kyösti Mälkki
parent 8250e2e2d5
commit 0bc9f0b827
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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;