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
+1 -1
View File
@@ -191,7 +191,7 @@ int up_relocateadd(const Elf64_Rela *rel, const Elf64_Sym *sym,
value = (sym->st_value + rel->r_addend - addr +
CONFIG_ARCH_TEXT_VBASE);
/* Convert MOV to LEA - other relocations not suported */
/* Convert MOV to LEA - other relocations not supported */
if (*(uint8_t *)(addr - 2) != OPCODE_MOV)
{
+1 -1
View File
@@ -1581,7 +1581,7 @@ L(32bytes):
ret
/*
* Aligned 8 bytes to avoid 2 branch "taken" in one 16 alinged code block.
* Aligned 8 bytes to avoid 2 branch "taken" in one 16 aligned code block.
*/
ALIGN (3)
L(less16bytes):
+2 -2
View File
@@ -120,7 +120,7 @@ ENTRY (STRCMP)
jnz L(less16bytes) /* If not, find different value or null char */
#ifdef USE_AS_STRNCMP
sub $16, %r11
jbe L(strcmp_exitz) /* finish comparision */
jbe L(strcmp_exitz) /* finish comparison */
#endif
add $16, %rsi /* prepare to search next 16 bytes */
add $16, %rdi /* prepare to search next 16 bytes */
@@ -317,7 +317,7 @@ L(nibble_ashr_1):
#endif
pxor %xmm0, %xmm0
sub $0x1000, %r10 /* substract 4K from %r10 */
sub $0x1000, %r10 /* subtract 4K from %r10 */
jmp L(gobble_ashr_1)
/*