From 60636c46660c0baa0311b87fc2281452eed1c687 Mon Sep 17 00:00:00 2001 From: chao an Date: Tue, 17 Dec 2024 15:40:15 +0800 Subject: [PATCH] drivers/pci: fix typo addres -> address fix typo addres -> address Signed-off-by: chao an --- arch/arm/src/nrf91/nrf91_modem.h | 8 ++++---- arch/x86_64/src/common/x86_64_mmu.h | 2 +- drivers/pci/pci.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/src/nrf91/nrf91_modem.h b/arch/arm/src/nrf91/nrf91_modem.h index 89d988dd8b..fdfd1697c7 100644 --- a/arch/arm/src/nrf91/nrf91_modem.h +++ b/arch/arm/src/nrf91/nrf91_modem.h @@ -55,19 +55,19 @@ #define NRF91_SHMEM_TRACE_SIZE (CONFIG_NRF91_MODEM_SHMEM_TRACE_SIZE) #if !(NRF91_SHMEM_CTRL_BASE % 4 == 0) -# error SHMEM base addres must be word-aligned (4 bytes) +# error SHMEM base address must be word-aligned (4 bytes) #endif #if !(NRF91_SHMEM_TX_BASE % 4 == 0) -# error SHMEM base addres must be word-aligned (4 bytes) +# error SHMEM base address must be word-aligned (4 bytes) #endif #if !(NRF91_SHMEM_RX_BASE % 4 == 0) -# error SHMEM base addres must be word-aligned (4 bytes) +# error SHMEM base address must be word-aligned (4 bytes) #endif #if !(NRF91_SHMEM_TRACE_BASE % 4 == 0) -# error SHMEM base addres must be word-aligned (4 bytes) +# error SHMEM base address must be word-aligned (4 bytes) #endif /**************************************************************************** diff --git a/arch/x86_64/src/common/x86_64_mmu.h b/arch/x86_64/src/common/x86_64_mmu.h index 298fcc1531..e029075a19 100644 --- a/arch/x86_64/src/common/x86_64_mmu.h +++ b/arch/x86_64/src/common/x86_64_mmu.h @@ -105,7 +105,7 @@ static inline uintptr_t mmu_pte_to_paddr(uintptr_t pte) { paddr = pte; - /* Get page addres - remove flags */ + /* Get page address - remove flags */ paddr &= 0x0dfffffffffff000; } diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index e55f6c2546..3d6b7e7049 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -638,7 +638,7 @@ static void pci_register_bus_devices(FAR struct pci_bus_s *bus) * Input Parameters: * base - PCI address base address * maxbase - PCI max base address - * mask - PCI addres mask + * mask - PCI address mask * * Returned Value: * Return the size result