libkmod: Fix typos

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Link: https://github.com/kmod-project/kmod/pull/201
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
This commit is contained in:
Tobias Stoeckmann 2024-10-21 17:29:58 +02:00 committed by Lucas De Marchi
parent 33248df9ea
commit b3a7664fea

View File

@ -635,7 +635,7 @@ struct index_mm_value_array {
struct index_mm_node {
struct index_mm *idx;
const char *prefix; /* mmape'd value */
const char *prefix; /* mmap'ed value */
struct index_mm_value_array values;
unsigned char first;
unsigned char last;
@ -647,7 +647,7 @@ static inline uint32_t read_u32_mm(const void **p)
const uint8_t *addr = *(const uint8_t **)p;
uint32_t v;
/* addr may be unalined to uint32_t */
/* addr may be unaligned to uint32_t */
v = get_unaligned((const uint32_t *)addr);
*p = addr + sizeof(uint32_t);
@ -945,7 +945,7 @@ static char *index_mm_search_node(struct index_mm_node *node, const char *key, i
*
* Returns the value of the first match
*
* The recursive functions free their node argument (using index_close).
* The recursive functions free their node argument (using index_mm_free_node).
*/
char *index_mm_search(struct index_mm *idx, const char *key)
{