include/commonlib: Fix typos

Change-Id: I9650084f42de15c04c7e26d8a4442a4f9ff65a87
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38271
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
Elyes HAOUAS 2020-01-08 15:52:03 +01:00 committed by Nico Huber
parent b8473d0191
commit da41b6182d
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
struct region_device;
/*
* Returns NULL on error otherwise a buffer is returned with the conents of
* Returns NULL on error otherwise a buffer is returned with the contents of
* the requested data at offset of size.
*/
void *rdev_mmap(const struct region_device *rd, size_t offset, size_t size);
@ -173,7 +173,7 @@ struct mem_region_device {
struct region_device rdev;
};
/* Inititalize at runtime a mem_region_device. This would be used when
/* Initialize at runtime a mem_region_device. This would be used when
* the base and size are dynamic or can't be known during linking.
* There are two variants: read-only and read-write. */
void mem_region_device_ro_init(struct mem_region_device *mdev, void *base,