style: fix spelling in code comments and strings

This commit is contained in:
Lars Kruse
2025-05-03 06:16:30 +02:00
committed by Xiang Xiao
parent b2315e98c4
commit 3ce85ca54e
1670 changed files with 3162 additions and 2991 deletions
+2 -2
View File
@@ -69,7 +69,7 @@ int libelf_depend(FAR struct module_s *importer,
* exporting module. In that case, the module would already be in the
* list of dependencies.
*
* The list dependency list is a a dumb, upacked array of pointers. This
* The list dependency list is a a dumb, unpacked array of pointers. This
* should not be too inefficient if the number of CONFIG_LIBC_ELF_MAXDEPEND
* is small. Otherwise, a more dynamic data structure would be in order.
*/
@@ -157,7 +157,7 @@ int libelf_undepend(FAR struct module_s *importer)
DEBUGASSERT(importer != NULL && importer->dependents == 0);
/* Decrement the dependency count on each of exporters of symbols used by
* this importer module. This is an upacked array of pointers. This
* this importer module. This is an unpacked array of pointers. This
* should not be too inefficient if the number of CONFIG_LIBC_ELF_MAXDEPEND
* is small. Otherwise, a more dynamic data structure would be in order.
*/
+1 -1
View File
@@ -109,7 +109,7 @@ int libelf_loadhdrs(FAR struct mod_loadinfo_s *loadinfo)
(size_t)loadinfo->ehdr.e_phnum;
if (loadinfo->ehdr.e_phoff + phdrsize > loadinfo->filelen)
{
berr("ERROR: Insufficent space for program header table\n");
berr("ERROR: Insufficient space for program header table\n");
return -ESPIPE;
}