From a59f59b9f5aadc37a4e2178e9803fd4a80955238 Mon Sep 17 00:00:00 2001 From: chao an Date: Tue, 17 Dec 2024 15:41:41 +0800 Subject: [PATCH] libc/gnu: fix typo adress -> address fix typo adress -> address Signed-off-by: chao an --- arch/risc-v/src/common/espressif/esp_nxdiag.c | 2 +- arch/xtensa/src/common/espressif/esp_nxdiag.c | 2 +- libs/libc/machine/x86_64/gnu/arch_strcpy.S | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/risc-v/src/common/espressif/esp_nxdiag.c b/arch/risc-v/src/common/espressif/esp_nxdiag.c index db5c624e4c7..6b88b599174 100644 --- a/arch/risc-v/src/common/espressif/esp_nxdiag.c +++ b/arch/risc-v/src/common/espressif/esp_nxdiag.c @@ -172,7 +172,7 @@ int esp_nxdiag_read_flash_status(uint32_t *status) * Read MAC adress. * * Input Parameters: - * mac - Mac adress to return. + * mac - Mac address to return. * * Returned Value: * OK on success; ERROR on failure. diff --git a/arch/xtensa/src/common/espressif/esp_nxdiag.c b/arch/xtensa/src/common/espressif/esp_nxdiag.c index c3fe946466f..b9f45ecd5b7 100644 --- a/arch/xtensa/src/common/espressif/esp_nxdiag.c +++ b/arch/xtensa/src/common/espressif/esp_nxdiag.c @@ -179,7 +179,7 @@ int esp_nxdiag_read_flash_status(uint32_t *status) * Read MAC adress. * * Input Parameters: - * mac - Mac adress to return. + * mac - Mac address to return. * * Returned Value: * OK on success; ERROR on failure. diff --git a/libs/libc/machine/x86_64/gnu/arch_strcpy.S b/libs/libc/machine/x86_64/gnu/arch_strcpy.S index 380fb1b58da..d628762a356 100644 --- a/libs/libc/machine/x86_64/gnu/arch_strcpy.S +++ b/libs/libc/machine/x86_64/gnu/arch_strcpy.S @@ -138,7 +138,7 @@ ENTRY (STRCPY) movdqu (%rsi, %rcx), %xmm1 /* copy 16 bytes */ movdqu %xmm1, (%rdi) -/* If source adress alignment != destination adress alignment */ +/* If source address alignment != destination address alignment */ .p2align 4 L(Unalign16Both): sub %rcx, %rdi @@ -334,7 +334,7 @@ L(Unaligned64Leave): BRANCH_TO_JMPTBL_ENTRY (L(ExitTable), %rdx, 4) #endif -/* If source adress alignment == destination adress alignment */ +/* If source address alignment == destination address alignment */ L(SourceStringAlignmentLess32): pxor %xmm0, %xmm0