diff --git a/Documentation/NXGraphicsSubsystem.html b/Documentation/NXGraphicsSubsystem.html
index 32bb98d66a5..d22e778e16c 100644
--- a/Documentation/NXGraphicsSubsystem.html
+++ b/Documentation/NXGraphicsSubsystem.html
@@ -1332,7 +1332,7 @@ int nx_eventhandler(NXHANDLE handle);
the CPU bandwidth calling nx_eventhandler repeatedly.
nx_eventnotify()
may be called to get a signal event whenever a new incoming server
- event is avaiable.
+ event is available.
Input Parameters:
diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html
index cf3d0fbee3a..b3a7d3f59cf 100644
--- a/Documentation/NuttX.html
+++ b/Documentation/NuttX.html
@@ -6528,7 +6528,7 @@ Mem: 29232 5920 23312 23312
for download from the MicroChip website, or
- The Pinguino MIPS ELF toolchain avaiable from the Pinquino website.
+ The Pinguino MIPS ELF toolchain available from the Pinguino website.
The MIPS SDE toolchain available from the Mentor Graphics website.
diff --git a/ReleaseNotes b/ReleaseNotes
index 0329b5a255c..dff6ceaf72b 100644
--- a/ReleaseNotes
+++ b/ReleaseNotes
@@ -19635,7 +19635,7 @@ detailed bugfix information):
order. From Xiang Xiao.
- apps/system/ping and ping6: Change dependency in ping and ping6
Kconfig. These may be implemented in users sockets and, hence,
- may need to be avaiable even if ICMP and ICMPv6 sockets are not
+ may need to be available even if ICMP and ICMPv6 sockets are not
support. From Xiang Xiao.
- apps/system/system: Add 'const' to make function prototype
compatible with OpenGroup.org requirement From Xiang Xiao.
diff --git a/arch/arm/src/nuc1xx/hardware/nuc_uart.h b/arch/arm/src/nuc1xx/hardware/nuc_uart.h
index 701eba048d4..442e7846db0 100644
--- a/arch/arm/src/nuc1xx/hardware/nuc_uart.h
+++ b/arch/arm/src/nuc1xx/hardware/nuc_uart.h
@@ -123,7 +123,7 @@
/* UART interrupt enable register */
-#define UART_IER_RDA_IEN (1 << 0) /* Bit 0: Receive data avaiable interrupt enable */
+#define UART_IER_RDA_IEN (1 << 0) /* Bit 0: Receive data available interrupt enable */
#define UART_IER_THRE_IEN (1 << 1) /* Bit 1: Transmit holding register empty interrupt enable */
#define UART_IER_RLS_IEN (1 << 2) /* Bit 2: Receive line status interrupt enable */
#define UART_IER_MODEM_IEN (1 << 3) /* Bit 3: Modem status interrupt enable (UART0/1) */
@@ -217,7 +217,7 @@
#define UART_ISR_MODEM_IF (1 << 3) /* Bit 3: Modem interrupt flag (UART0/1) */
#define UART_ISR_TOUT_IF (1 << 4) /* Bit 4: Timeout interrupt flag */
#define UART_ISR_BUF_ERR_IF (1 << 5) /* Bit 5: Buffer error interrupt flag */
-#define UART_ISR_RDA_INT (1 << 8) /* Bit 8: Receive data avaiable interrupt indicator */
+#define UART_ISR_RDA_INT (1 << 8) /* Bit 8: Receive data available interrupt indicator */
#define UART_ISR_THRE_INT (1 << 9) /* Bit 9: Transmit holding register empty interrupt indicator */
#define UART_ISR_RLS_INT (1 << 10) /* Bit 10: Receive line status interrupt indicator */
#define UART_ISR_MODEM_INT (1 << 11) /* Bit 11: Modem interrupt indicator (UART0/1) */
diff --git a/arch/arm/src/sama5/sam_adc.c b/arch/arm/src/sama5/sam_adc.c
index ce5072eefd9..f9b603324ec 100644
--- a/arch/arm/src/sama5/sam_adc.c
+++ b/arch/arm/src/sama5/sam_adc.c
@@ -1124,7 +1124,7 @@ static int sam_adc_setup(struct adc_dev_s *dev)
#ifdef CONFIG_SAMA5_ADC_DMA
/* Initiate DMA transfers */
- priv->ready = true; /* Worker is avaiable */
+ priv->ready = true; /* Worker is available */
priv->enabled = true; /* Transfers are enabled */
sam_adc_dmastart(priv);
diff --git a/arch/misoc/src/common/misoc_net.c b/arch/misoc/src/common/misoc_net.c
index 298da7b2d38..6a0dcde8f18 100644
--- a/arch/misoc/src/common/misoc_net.c
+++ b/arch/misoc/src/common/misoc_net.c
@@ -79,7 +79,7 @@
*/
#if !defined(CONFIG_SCHED_HPWORK)
- /* REVISIT: The low priority work queue would be preferred if it is avaiable */
+ /* REVISIT: The low priority work queue would be preferred if it is available */
# error High priority work queue support is required
#endif
diff --git a/boards/arm/a1x/pcduino-a10/src/a1x_leds.c b/boards/arm/a1x/pcduino-a10/src/a1x_leds.c
index 2886e745e2b..57c75b8818c 100644
--- a/boards/arm/a1x/pcduino-a10/src/a1x_leds.c
+++ b/boards/arm/a1x/pcduino-a10/src/a1x_leds.c
@@ -209,7 +209,7 @@ void board_autoled_off(int led)
*
* If CONFIG_ARCH_LEDS is defined, then NuttX will control both on-board
* LEDs up until the completion of boot.
- * The it will continue to control LED2; LED1 is avaiable for application
+ * The it will continue to control LED2; LED1 is available for application
* use.
*
* If CONFIG_ARCH_LEDS is not defined, then both LEDs are available for
diff --git a/boards/arm/lpc31xx/olimex-lpc-h3131/src/lpc31_leds.c b/boards/arm/lpc31xx/olimex-lpc-h3131/src/lpc31_leds.c
index 21d48f43a94..14de97076ae 100644
--- a/boards/arm/lpc31xx/olimex-lpc-h3131/src/lpc31_leds.c
+++ b/boards/arm/lpc31xx/olimex-lpc-h3131/src/lpc31_leds.c
@@ -166,7 +166,7 @@ void board_autoled_off(int led)
* If CONFIG_ARCH_LEDS is defined, then NuttX will control both on-board
* LEDs up until the completion of boot.
* Then it will continue to control LED2;
- * LED1 is avaiable for application use.
+ * LED1 is available for application use.
*
* If CONFIG_ARCH_LEDS is not defined, then both LEDs are available
* for application use.
diff --git a/boards/arm/stm32/viewtool-stm32f107/src/stm32_leds.c b/boards/arm/stm32/viewtool-stm32f107/src/stm32_leds.c
index 92576d55ec3..1ec79ee0d8a 100644
--- a/boards/arm/stm32/viewtool-stm32f107/src/stm32_leds.c
+++ b/boards/arm/stm32/viewtool-stm32f107/src/stm32_leds.c
@@ -237,7 +237,7 @@ void board_autoled_off(int led)
*
* If CONFIG_ARCH_LEDS is defined, then NuttX will control both on-board LEDs up
* until the completion of boot. The it will continue to control LED2; LED1 is
- * avaiable for application use.
+ * available for application use.
*
* If CONFIG_ARCH_LEDS is not defined, then both LEDs are available for application
* use.
diff --git a/boards/avr/at32uc3/avr32dev1/README.txt b/boards/avr/at32uc3/avr32dev1/README.txt
index 663c6d80848..598ba28ae14 100644
--- a/boards/avr/at32uc3/avr32dev1/README.txt
+++ b/boards/avr/at32uc3/avr32dev1/README.txt
@@ -93,7 +93,7 @@ In arch/avr/src/at32uc3/at32uc3b_pinmux.h:
#define PINMUX_USART1_RXD_1 (GPIO_PERIPH | GPIO_FUNCD | GPIO_PORTA | 17)
#define PINMUX_USART1_TXD_1 (GPIO_PERIPH | GPIO_FUNCA | GPIO_PORTA | 23)
-PA17 and PA23 are avaiable from the AVR32DEV1:
+PA17 and PA23 are available from the AVR32DEV1:
FUNC GPIO PIN Header 16X2 (J1) MX232 Board
---- ----- ----- ---------------- ------------
diff --git a/boards/mips/pic32mx/mirtoo/README.txt b/boards/mips/pic32mx/mirtoo/README.txt
index bb95b19b3b2..e5a24e92376 100644
--- a/boards/mips/pic32mx/mirtoo/README.txt
+++ b/boards/mips/pic32mx/mirtoo/README.txt
@@ -525,7 +525,7 @@ LED Usage
UART Usage
==========
- When mounted on the DTX1-4000L EV-kit1 board, serial output is avaiable through
+ When mounted on the DTX1-4000L EV-kit1 board, serial output is available through
an FT230X device via the FUNC0 and FUNC1 module outputs. If CONFIG_PIC32MX_UART2
is enabled, the src/pic32_boot will configure the UART2 pins as follows:
diff --git a/boards/mips/pic32mx/mirtoo/src/pic32_boot.c b/boards/mips/pic32mx/mirtoo/src/pic32_boot.c
index d94b89ae8a3..e9c837ac2a5 100644
--- a/boards/mips/pic32mx/mirtoo/src/pic32_boot.c
+++ b/boards/mips/pic32mx/mirtoo/src/pic32_boot.c
@@ -68,7 +68,7 @@
* Name: pic32mx_uartinitialize
*
* Description:
- * When mounted on the DTX1-4000L EV-kit1 board, serial output is avaiable
+ * When mounted on the DTX1-4000L EV-kit1 board, serial output is available
* through an FT230X device via the FUNC0 and FUNC1 module outputs.
* If CONFIG_PIC32MX_UART2 is enabled, the src/pic32_boot will configure
* the UART2 pins as follows.
diff --git a/boards/z80/z180/p112/README.txt b/boards/z80/z180/p112/README.txt
index c3bfae96a33..0f1da03b3da 100644
--- a/boards/z80/z180/p112/README.txt
+++ b/boards/z80/z180/p112/README.txt
@@ -130,9 +130,10 @@ PIN NAME
P112 Serial Console
===================
-The UARTs are not used on the P112 board (the UART signals are avaiable off-board through P14).
-The serial console is provided by U7 LT1133, Advanced Low Power 5V RS232 Driver/Receiver
-that connects to the P112 via the Z85230 ESCC channel A.
+The UARTs are not used on the P112 board (the UART signals are available
+off-board through P14). The serial console is provided by U7 LT1133,
+Advanced Low Power 5V RS232 Driver/Receiver that connects to the P112 via
+the Z85230 ESCC channel A.
Status
======
diff --git a/fs/fat/fs_fat32dirent.c b/fs/fat/fs_fat32dirent.c
index fa6496ad659..a2078d393a5 100644
--- a/fs/fat/fs_fat32dirent.c
+++ b/fs/fat/fs_fat32dirent.c
@@ -1847,7 +1847,7 @@ static inline int fat_getlfname(struct fat_mountpt_s *fs, struct fs_dirent_s *di
fat_getlfnchunk(LDIR_PTRWCHAR12_13(direntry), &lfname[11], 2);
/* Ignore trailing spaces on the "last" directory entry. The
- * number of characters avaiable is LDIR_MAXLFNCHARS or that
+ * number of characters available is LDIR_MAXLFNCHARS or that
* minus the number of trailing spaces on the "last" directory
* entry.
*/
diff --git a/include/dsp.h b/include/dsp.h
index 79a3ec9024d..ef724aa6469 100644
--- a/include/dsp.h
+++ b/include/dsp.h
@@ -364,7 +364,7 @@ struct foc_data_s
dq_frame_t i_dq; /* Current in dq frame */
dq_frame_t i_dq_err; /* DQ current error */
- dq_frame_t i_dq_ref; /* Currrent dq reference frame */
+ dq_frame_t i_dq_ref; /* Current dq reference frame */
pid_controller_t id_pid; /* Current d-axis component PI controller */
pid_controller_t iq_pid; /* Current q-axis component PI controller */
diff --git a/include/nuttx/init.h b/include/nuttx/init.h
index ff7350e1fb8..d80fd64136c 100644
--- a/include/nuttx/init.h
+++ b/include/nuttx/init.h
@@ -75,7 +75,7 @@ enum nx_initstate_e
OSINIT_MEMORY = 3, /* The memory manager has been initialized */
OSINIT_HARDWARE = 4, /* MCU-specific hardware is initialized. Hardware
* resources such as timers and device drivers are
- * now avaiable. Low-level OS services sufficient
+ * now available. Low-level OS services sufficient
* to support the hardware are also available but
* the OS has not yet completed its full
* initialization. */
diff --git a/include/nuttx/sched.h b/include/nuttx/sched.h
index 52206686e56..8af68326325 100644
--- a/include/nuttx/sched.h
+++ b/include/nuttx/sched.h
@@ -775,7 +775,7 @@ struct pthread_tcb_s
/* Clean-up stack *************************************************************/
#ifdef CONFIG_PTHREAD_CLEANUP
- /* tos - The index to the next avaiable entry at the top of the stack.
+ /* tos - The index to the next available entry at the top of the stack.
* stack - The pre-allocated clean-up stack memory.
*/
diff --git a/include/nuttx/syslog/syslog.h b/include/nuttx/syslog/syslog.h
index daad5d3b3dc..6f10153c2c9 100644
--- a/include/nuttx/syslog/syslog.h
+++ b/include/nuttx/syslog/syslog.h
@@ -58,7 +58,7 @@
*
* In addition, some SYSLOG device must also be enabled that will provide
* the syslog output "channel. As of this writing, there are two SYSLOG
- * devices avaiable:
+ * devices available:
*
* 1. A RAM SYSLOGing device that will log data into a circular buffer
* that can be dumped using the NSH dmesg command. This device is
diff --git a/libs/libc/stdio/Kconfig b/libs/libc/stdio/Kconfig
index 3e787562d88..484a3722cbc 100644
--- a/libs/libc/stdio/Kconfig
+++ b/libs/libc/stdio/Kconfig
@@ -57,7 +57,7 @@ config LIBC_PRINT_LEGACY
---help---
By default, printf (and friends) are implemented using a port from
newlib-nano. That port can be signifcantly smaller, especially if
- floating support is enabled. This option may is avaiable, however,
+ floating support is enabled. This option is available, however,
to revert to the legacy printf version is so desired.
config LIBC_FLOATINGPOINT
diff --git a/libs/libc/unistd/lib_getcwd.c b/libs/libc/unistd/lib_getcwd.c
index 7bbdd506c6c..7e2c07defa8 100644
--- a/libs/libc/unistd/lib_getcwd.c
+++ b/libs/libc/unistd/lib_getcwd.c
@@ -65,8 +65,8 @@
*
* Input Parameters:
* buf - a pointer to the location in which the current working directory
- * pathaname is returned.
- * size - The size in bytes avaiable at 'buf'
+ * pathname is returned.
+ * size - The size in bytes available at 'buf'
*
* Returned Value:
* Upon successful completion, getcwd() returns the 'buf' argument.
@@ -77,11 +77,11 @@
* The 'size' argument is 0 or the 'buf' argument is NULL.
* ERANGE
* The size argument is greater than 0, but is smaller than the length
- * of the currrent working directory pathname +1.
+ * of the current working directory pathname +1.
* EACCES
* Read or search permission was denied for a component of the pathname.
* ENOMEM
- * Insufficient storage space is available.
+ * Insufficient storage space is available.
*
****************************************************************************/
@@ -118,7 +118,6 @@ FAR char *getcwd(FAR char *buf, size_t size)
/* Copy the cwd to the user buffer */
strcpy(buf, pwd);
- sched_unlock();
return buf;
}
#endif /* !CONFIG_DISABLE_ENVIRON */