diff --git a/Kconfig b/Kconfig index b01ba30e32..f698f8dc82 100644 --- a/Kconfig +++ b/Kconfig @@ -1858,7 +1858,7 @@ config DEBUG_TCBINFO bool "Enable TCBinfo struct for debug" default n ---help--- - Enables tcbinfo struct for debugger infomation. + Enables tcbinfo struct for debugger information. Selecting this option will enable g_tcbinfo in arch and procfs. diff --git a/arch/arm/src/common/arm_backtrace_thumb.c b/arch/arm/src/common/arm_backtrace_thumb.c index 8e4497fa04..3ef6339023 100644 --- a/arch/arm/src/common/arm_backtrace_thumb.c +++ b/arch/arm/src/common/arm_backtrace_thumb.c @@ -126,7 +126,7 @@ static int getlroffset(uint8_t *lr) * pc - Program counter address * * Returned Value: - * A boolean value: true the counter is vaild + * A boolean value: true the counter is valid * ****************************************************************************/ diff --git a/arch/arm/src/phy62xx/log.h b/arch/arm/src/phy62xx/log.h index 3f6951000a..4ee8840acc 100644 --- a/arch/arm/src/phy62xx/log.h +++ b/arch/arm/src/phy62xx/log.h @@ -104,7 +104,7 @@ extern "C" #define LOG_LEVEL_NONE 0 /* no log output */ #define LOG_LEVEL_ERROR 1 /* only log error */ #define LOG_LEVEL_DEBUG 2 /* output debug info and error info */ -#define LOG_LEVEL_LOG 3 /* output all infomation */ +#define LOG_LEVEL_LOG 3 /* output all information */ #define LOG_INIT() {hal_uart_init(115200, P9, P10, NULL);} diff --git a/arch/arm/src/samv7/Kconfig b/arch/arm/src/samv7/Kconfig index 0b29d2cffb..7f0c9f1dda 100644 --- a/arch/arm/src/samv7/Kconfig +++ b/arch/arm/src/samv7/Kconfig @@ -423,7 +423,7 @@ config SAMV7_AFEC_DMASAMPLES default 2 depends on SAMV7_AFEC_DMA ---help--- - Number of DMA samples to be transfered. Number of samples less than + Number of DMA samples to be transferred. Number of samples less than 2 might be inneficient. choice @@ -496,7 +496,7 @@ config SAMV7_AFEC_DMASAMPLES default 2 depends on SAMV7_AFEC_DMA ---help--- - Number of DMA samples to be transfered. Number of samples less than + Number of DMA samples to be transferred. Number of samples less than 2 might be inneficient. choice diff --git a/arch/arm/src/tlsr82/tc32/tc32_backtrace.c b/arch/arm/src/tlsr82/tc32/tc32_backtrace.c index d5b1e46c37..0995a8f527 100644 --- a/arch/arm/src/tlsr82/tc32/tc32_backtrace.c +++ b/arch/arm/src/tlsr82/tc32/tc32_backtrace.c @@ -112,7 +112,7 @@ static int getlroffset(uint8_t *lr) * pc - Program counter address * * Returned Value: - * A boolean value: true the counter is vaild + * A boolean value: true the counter is valid * ****************************************************************************/ diff --git a/arch/arm/src/tlsr82/tlsr82_gpio.c b/arch/arm/src/tlsr82/tlsr82_gpio.c index 31be903d30..30ab2d76b4 100644 --- a/arch/arm/src/tlsr82/tlsr82_gpio.c +++ b/arch/arm/src/tlsr82/tlsr82_gpio.c @@ -610,7 +610,7 @@ int tlsr82_gpiounconfig(gpio_cfg_t cfg) { gpio_cfg_t pinset; - /* Get the pin infomation in cfg */ + /* Get the pin information in cfg */ pinset = GPIO_CFG2PIN(cfg); diff --git a/arch/arm/src/tlsr82/tlsr82_serial.c b/arch/arm/src/tlsr82/tlsr82_serial.c index afff384004..6b28d0a122 100644 --- a/arch/arm/src/tlsr82/tlsr82_serial.c +++ b/arch/arm/src/tlsr82/tlsr82_serial.c @@ -670,7 +670,7 @@ static void uart_dma_send(uart_priv_t *priv, char *buf, size_t len) } /* Copy the driver buffer to dma buffer, this is necessary because - * the first 4 bytes of the buffer must be the transfered size, which + * the first 4 bytes of the buffer must be the transferred size, which * is telin dma peripheral required. * NOTE: the memcpy better be ramcode. */ diff --git a/arch/renesas/src/m16c/chip.h b/arch/renesas/src/m16c/chip.h index 624df1bcd3..2992d51489 100644 --- a/arch/renesas/src/m16c/chip.h +++ b/arch/renesas/src/m16c/chip.h @@ -76,8 +76,8 @@ * specific chips do not support external RAM. */ -/* Each part has a different amount on on-chip FLASH. The ending FLASH address is - * 0xfffff for all chips, but the starting address varies depening on the amount +/* Each part has a different amount of on-chip FLASH. The ending FLASH address is + * 0xfffff for all chips, but the starting address varies depending on the amount * of on-chip FLASH. */ @@ -101,7 +101,7 @@ #define M16C_PM1 0x00005 /* Processor mode 1 */ #define M16C_CM0 0x00006 /* System clock control 0 */ #define M16C_CM1 0x00007 /* System clock control 1 */ -#define M16C_AIER 0x00009 /* Addrese match interrupt enable */ +#define M16C_AIER 0x00009 /* Address match interrupt enable */ #define M16C_PRCR 0x0000a /* Protect */ #define M16C_CM2 0x0000c /* Oscillation stop detection */ #define M16C_WDTS 0x0000e /* Watchdog timer start */ diff --git a/arch/renesas/src/rx65n/rx65n_usbhost.h b/arch/renesas/src/rx65n/rx65n_usbhost.h index 15c6025174..0e455992d7 100644 --- a/arch/renesas/src/rx65n/rx65n_usbhost.h +++ b/arch/renesas/src/rx65n/rx65n_usbhost.h @@ -117,7 +117,7 @@ #endif #if CONFIG_RX65N_USBHOST_NTDS < 2 -# error "Insufficent TDs" +# error "Insufficient TDs" #endif /* Derived size of user transfer descriptor (TD) memory. */ diff --git a/arch/risc-v/src/bl602/bl602_netdev.c b/arch/risc-v/src/bl602/bl602_netdev.c index a831de0de9..07a5a22b36 100644 --- a/arch/risc-v/src/bl602/bl602_netdev.c +++ b/arch/risc-v/src/bl602/bl602_netdev.c @@ -1285,7 +1285,7 @@ static int format_scan_result_to_wapi(struct iwreq *req, int result_cnt) DEBUGASSERT(j == result_cnt); - /* sort the vaild list according the rssi */ + /* sort the valid list according the rssi */ qsort(rssi_list, result_cnt, sizeof(uint8_t), rssi_compare); diff --git a/arch/risc-v/src/mpfs/mpfs_dma.h b/arch/risc-v/src/mpfs/mpfs_dma.h index 7f401a7938..d625f1bd4b 100755 --- a/arch/risc-v/src/mpfs/mpfs_dma.h +++ b/arch/risc-v/src/mpfs/mpfs_dma.h @@ -44,7 +44,7 @@ struct mpfs_dma_channel_config { uint64_t src_addr; /* source address */ uint64_t dest_addr; /* destination address */ - uint64_t num_bytes; /* Number of bytes to be transfered. (Base-2) */ + uint64_t num_bytes; /* Number of bytes to be transferred. (Base-2) */ uint8_t enable_done_int; /* enable transfer complete interrupt */ uint8_t enable_err_int; /* enable transfer error interrupt */ uint8_t repeat; /* repeat the transaction */ diff --git a/arch/risc-v/src/mpfs/mpfs_opensbi_utils.S b/arch/risc-v/src/mpfs/mpfs_opensbi_utils.S index 30cad6a57f..b8abcaed09 100755 --- a/arch/risc-v/src/mpfs/mpfs_opensbi_utils.S +++ b/arch/risc-v/src/mpfs/mpfs_opensbi_utils.S @@ -72,7 +72,7 @@ mpfs_global_pointer: * mtvec, global pointer and the stack (per hart) for the OpenSBI. * mpfs_global_pointer is used to store the real __global_pointer$ as * seen in the .map file. Loading gp, _global_pointer$ would default to - * mv gp, gp -instruction which isn't what we want. External libraties seem + * mv gp, gp -instruction which isn't what we want. External libraries seem * to link relative to gp. When trapping from the kernel, the gp has been * utilized for other purposes, so we need to save and restore gp at all * times. diff --git a/arch/risc-v/src/rv32m1/hardware/rv32m1_memorymap.h b/arch/risc-v/src/rv32m1/hardware/rv32m1_memorymap.h index b545771dbd..3f415f708f 100644 --- a/arch/risc-v/src/rv32m1/hardware/rv32m1_memorymap.h +++ b/arch/risc-v/src/rv32m1/hardware/rv32m1_memorymap.h @@ -32,7 +32,7 @@ #elif defined(CONFIG_ARCH_CHIP_RV32M1_ZERORISCY) # error "rv32m1 zero-riscy is to be continued..." #else -# error "Unspported rv32m1 cortex-m cores" +# error "Unsupported rv32m1 cortex-m cores" #endif #endif /* __ARCH_RISCV_SRC_RV32M1_HARDWARE_RV32M1_MEMORYMAP_H */ diff --git a/arch/risc-v/src/rv32m1/hardware/rv32m1_scg.h b/arch/risc-v/src/rv32m1/hardware/rv32m1_scg.h index 002592dbc8..6189152fa2 100644 --- a/arch/risc-v/src/rv32m1/hardware/rv32m1_scg.h +++ b/arch/risc-v/src/rv32m1/hardware/rv32m1_scg.h @@ -32,7 +32,7 @@ #elif defined(CONFIG_ARCH_CHIP_RV32M1_ZERORISCY) # error "rv32m1 zero-riscy is to be continued..." #else -# error "Unspported rv32m1 cortex-m cores" +# error "Unsupported rv32m1 cortex-m cores" #endif #endif /* _ARCH_RISCV_SRC_RV32M1_CHIP_RV32M1_SCG_H */ diff --git a/arch/risc-v/src/rv32m1/hardware/rv32m1_wdog.h b/arch/risc-v/src/rv32m1/hardware/rv32m1_wdog.h index d7daaa5ae3..441179a35f 100644 --- a/arch/risc-v/src/rv32m1/hardware/rv32m1_wdog.h +++ b/arch/risc-v/src/rv32m1/hardware/rv32m1_wdog.h @@ -62,7 +62,7 @@ #define WDOG_CS_WIN (1 << 15) /* Bit15: Window */ #define WDOG_CS_FLG (1 << 14) /* Bit14: Interrupt Flag */ -#define WDOG_CS_CMD32EN (1 << 13) /* Bit13: suport 32bit command */ +#define WDOG_CS_CMD32EN (1 << 13) /* Bit13: support 32bit command */ #define WDOG_CS_PRES (1 << 12) /* Bit12: Prescaler, '1' enables 256 prescaler */ #define WDOG_CS_ULK (1 << 11) /* Bit11: Unlock status */ #define WDOG_CS_RCS (1 << 10) /* Bit10: Reconfiguration Success */ diff --git a/arch/x86_64/src/intel64/intel64_vectors.S b/arch/x86_64/src/intel64/intel64_vectors.S index 1271db9222..74691686ad 100644 --- a/arch/x86_64/src/intel64/intel64_vectors.S +++ b/arch/x86_64/src/intel64/intel64_vectors.S @@ -337,7 +337,7 @@ irq_common: /* The common return point for both isr_handler and irq_handler */ .Lreturn: - /* EAX may possibly hold a pointer to a different regiser save area on + /* EAX may possibly hold a pointer to a different register save area on * return. Are we switching to a new context? */ diff --git a/arch/xtensa/src/esp32s3/hardware/esp32s3_uart.h b/arch/xtensa/src/esp32s3/hardware/esp32s3_uart.h index a647b4f16b..5258b439ae 100644 --- a/arch/xtensa/src/esp32s3/hardware/esp32s3_uart.h +++ b/arch/xtensa/src/esp32s3/hardware/esp32s3_uart.h @@ -1299,7 +1299,7 @@ #define UART_HIGHPULSE_REG (DR_REG_UART_BASE + 0x2c) /* UART_HIGHPULSE_MIN_CNT : RO; bitpos: [11:0]; default: 4095; - * This register stores the value of the maxinum duration time for the high + * This register stores the value of the maximum duration time for the high * level pulse. It is used in baud rate-detect process. */ diff --git a/boards/arm/samv7/same70-qmtech/README.txt b/boards/arm/samv7/same70-qmtech/README.txt index fc0403a861..b3853ab409 100644 --- a/boards/arm/samv7/same70-qmtech/README.txt +++ b/boards/arm/samv7/same70-qmtech/README.txt @@ -718,7 +718,7 @@ Configuration sub-directories running application "adc" in NuttShell. The ADC is triggered by Timer/counter at 1 kHz frequency and uses - DMA to transfer samples. Number of transfered samples can be set + DMA to transfer samples. Number of transferred samples can be set by configuring CONFIG_SAMV7_AFEC_DMASAMPLES. nsh: diff --git a/boards/arm/samv7/same70-xplained/README.txt b/boards/arm/samv7/same70-xplained/README.txt index 00a939aaea..d4cecb3cb2 100644 --- a/boards/arm/samv7/same70-xplained/README.txt +++ b/boards/arm/samv7/same70-xplained/README.txt @@ -1318,7 +1318,7 @@ Configuration sub-directories running application "adc" in NuttShell. The ADC is triggered by Timer/counter at 1 kHz frequency and uses - DMA to transfer samples. Number of transfered samples can be set + DMA to transfer samples. Number of transferred samples can be set by configuring CONFIG_SAMV7_AFEC_DMASAMPLES. mrf24j40-starhub diff --git a/boards/x86_64/intel64/qemu-intel64/README.txt b/boards/x86_64/intel64/qemu-intel64/README.txt index 630720493b..b76337c675 100644 --- a/boards/x86_64/intel64/qemu-intel64/README.txt +++ b/boards/x86_64/intel64/qemu-intel64/README.txt @@ -97,10 +97,10 @@ Here are some links (which will probably be mostly outdated by the time your rea Home Page: http://bochs.sourceforge.net The bochs can be build from source. -Unlike qemu, it do not rely on KVM to support modern hardware features, therefor it can -also be used under windows. +Unlike qemu, it does not rely on KVM to support modern hardware features, therefore it can +also be used under Windows. When building bochs, remember to enable x86-64 support with "--enable-x86-64". -If you also want the support of SIMD instruction, enable them with "--enable-avx --enable-evex". +If you also want support for SIMD instructions, enable them with "--enable-avx --enable-evex". Running Bochs ------------ diff --git a/drivers/i2c/tca9548a.c b/drivers/i2c/tca9548a.c index ebfd6ee75c..ae2ddfa758 100644 --- a/drivers/i2c/tca9548a.c +++ b/drivers/i2c/tca9548a.c @@ -219,7 +219,7 @@ static int tca9548a_select_channel(FAR struct tca9548a_dev_s *priv, * attached to the virtual i2c_master ".transfer()" pointer. This way every * time an I2C message is sent it is called and it starts sending a command * to TCA9548A setup the right channel defined to this i2c_master. All the - * expected messages are then transfered to the I2C device connected the + * expected messages are then transferred to the I2C device connected the * this selected channel. * * Input Parameters: diff --git a/drivers/ioexpander/mcp23x17.h b/drivers/ioexpander/mcp23x17.h index 9edf00354c..9a58efcde4 100644 --- a/drivers/ioexpander/mcp23x17.h +++ b/drivers/ioexpander/mcp23x17.h @@ -121,7 +121,7 @@ #define MCP23X17_IOCON_ODR (1 << 2) /* Config INT pin as open-drain */ #define MCP23X17_IOCON_HAEN (1 << 3) /* HW Address enable bit */ #define MCP23X17_IOCON_DISSLW (1 << 4) /* Disable Slew Rate for SDA output */ -#define MCP23X17_IOCON_SEQOP (1 << 5) /* Disable Sequencial Operation */ +#define MCP23X17_IOCON_SEQOP (1 << 5) /* Disable Sequential Operation */ #define MCP23X17_IOCON_MIRROR (1 << 6) /* Mirror INT pins */ #define MCP23X17_IOCON_BANK (1 << 7) /* Configure how to address register */ diff --git a/drivers/lcd/ssd1680.c b/drivers/lcd/ssd1680.c index 33588ae689..b6e3b7e361 100644 --- a/drivers/lcd/ssd1680.c +++ b/drivers/lcd/ssd1680.c @@ -655,14 +655,14 @@ static int ssd1680_configuredisplay(struct ssd1680_dev_s *priv) ssd1680_snd_cmd_with_data1(priv, SSD1680_DATA_MODE, SSD1680_VAL_DATA_MODE); - /* Step 7: Set ram X start/end postion 00 FF */ + /* Step 7: Set ram X start/end position 00 FF */ lcdinfo("Set ram X start/end position (0x%02x): 0, %d\n", SSD1680_SET_RAMXPOS, (SSD1680_DEV_X_ROUND_UP >> 3)-1); ssd1680_snd_cmd_with_data2(priv, SSD1680_SET_RAMXPOS, 0x00, (SSD1680_DEV_X_ROUND_UP >> 3)-1); - /* Step 8: Set ram Y start/end postion */ + /* Step 8: Set ram Y start/end position */ lcdinfo("Set ram Y start/end position (0x%02x): 0, %d\n", SSD1680_SET_RAMYPOS, SSD1680_DEV_NATIVE_YRES - 1); @@ -909,7 +909,7 @@ static int ssd1680_busy_wait(FAR struct ssd1680_dev_s *priv) if (max_wait_time == 0) { - lcderr("Timout. Ignoring Busy state... " + lcderr("Timeout. Ignoring Busy state... " "Display is probably not ready\n"); return ERROR; } diff --git a/drivers/lcd/ssd1680.h b/drivers/lcd/ssd1680.h index 2c96344357..6c44fff47f 100644 --- a/drivers/lcd/ssd1680.h +++ b/drivers/lcd/ssd1680.h @@ -170,7 +170,7 @@ # define SSD1680_DEV_NATIVE_XRES 128 # define SSD1680_DEV_NATIVE_YRES 296 #else -# error "Unknown resulution" +# error "Unknown resolution" #endif /* SSD1680 memory write algorithm */ diff --git a/drivers/motor/foc/foc_dummy.c b/drivers/motor/foc/foc_dummy.c index f244b92859..8a9a6040ac 100644 --- a/drivers/motor/foc/foc_dummy.c +++ b/drivers/motor/foc/foc_dummy.c @@ -626,7 +626,7 @@ FAR struct foc_dev_s *foc_dummy_initialize(int inst) dev = &g_foc_dev[inst]; - /* Connect lower half FOC with FOC devic */ + /* Connect lower half FOC with FOC device */ dev->lower = (FAR void *)foc_lower; diff --git a/drivers/net/w5500.c b/drivers/net/w5500.c index 18ae561b9b..53cf3c1422 100644 --- a/drivers/net/w5500.c +++ b/drivers/net/w5500.c @@ -767,7 +767,7 @@ static int w5500_read16_atomic(FAR struct w5500_driver_s *self, return -EIO; } -/* Ethernet frame tranmission buffer management *****************************/ +/* Ethernet frame transmission buffer management ****************************/ /**************************************************************************** * Name: w5500_txbuf_reset @@ -1397,7 +1397,7 @@ static void w5500_receive(FAR struct w5500_driver_s *self) self->sk_dev.d_len); } - /* Acknowledge data receiption to W5500 */ + /* Acknowledge data reception to W5500 */ w5500_write16(self, W5500_BSB_SOCKET_REGS(0), diff --git a/drivers/sensors/ds18b20.c b/drivers/sensors/ds18b20.c index 31e228dbe9..cba9e686d6 100644 --- a/drivers/sensors/ds18b20.c +++ b/drivers/sensors/ds18b20.c @@ -220,7 +220,7 @@ static inline int16_t ds18b20_rawtemp(FAR const uint8_t *spad) * Name: ds18b20_tempdata * * Description: - * Helper for converting temperatur data from raw sensor data + * Helper for converting temperature data from raw sensor data * * Return: * Temperature data @@ -418,7 +418,7 @@ static int ds18b20_read_spad(FAR struct ds18b20_dev_s *dev, * a buffer overflow later. */ - swarn("WARNING: Sensor responsed unknown resolution: %d\n", reg->res); + swarn("WARNING: Sensor responded unknown resolution: %d\n", reg->res); reg->res = DS18B20_RES_CONV(DS18B20_RESMAX); } diff --git a/drivers/sensors/msa301.c b/drivers/sensors/msa301.c index 8782838691..ec0190cdeb 100644 --- a/drivers/sensors/msa301.c +++ b/drivers/sensors/msa301.c @@ -407,7 +407,7 @@ static int msa301_sensor_stop(FAR struct msa301_dev_s *priv) msa301_set_powermode(priv, MSA301_SUSPENDMODE); - sninfo("Stoping...."); + sninfo("Stopping...."); return OK; } diff --git a/drivers/syslog/Kconfig b/drivers/syslog/Kconfig index 9d49f8ba21..167a70527a 100644 --- a/drivers/syslog/Kconfig +++ b/drivers/syslog/Kconfig @@ -283,8 +283,8 @@ config SYSLOG_RPMSG_OVERWRITE bool "SYSLOG RPMSG overwrite" default n ---help--- - Allow syslog rpmsg overwrite, maybe caused syslog lost. - Set 'n' if you don't want lost logs, but may harmful to preformance. + Allow syslog rpmsg overwrite, may cause syslog to lose some logs. + Set 'n' if you don't want lost logs, but may harm performance. endif # SYSLOG_RPMSG diff --git a/drivers/video/isx012.c b/drivers/video/isx012.c index 067a430041..c7ac8d3908 100644 --- a/drivers/video/isx012.c +++ b/drivers/video/isx012.c @@ -2952,7 +2952,7 @@ int isx012_initialize(void) int ret; FAR struct isx012_dev_s *priv = &g_isx012_private; - /* Regiser image sensor operations variable */ + /* Register image sensor operations variable */ ret = imgsensor_register(&g_isx012_ops); if (ret != OK) diff --git a/drivers/video/isx019.c b/drivers/video/isx019.c index 9bc8c68aed..8611f2596d 100644 --- a/drivers/video/isx019.c +++ b/drivers/video/isx019.c @@ -2842,7 +2842,7 @@ static double calc_iso(double gain) * calculate 10^z. */ - /* Devide z into integer and other parts. + /* Divide z into integer and other parts. * z = log10(E) (k * ln2 + r) * (k : integer, r < 0.5 * ln2) * diff --git a/drivers/wireless/ieee80211/bcm43xxx/bcmf_netdev.c b/drivers/wireless/ieee80211/bcm43xxx/bcmf_netdev.c index fd07781b6c..d9557f4c02 100644 --- a/drivers/wireless/ieee80211/bcm43xxx/bcmf_netdev.c +++ b/drivers/wireless/ieee80211/bcm43xxx/bcmf_netdev.c @@ -1079,7 +1079,7 @@ static int bcmf_ioctl(FAR struct net_driver_s *dev, int cmd, if (!priv->bc_bifup) { - wlerr("ERROR: invaild state " + wlerr("ERROR: invalid state " "(IFF_DOWN, unable to execute command: %x)\n", cmd); return -EPERM; } diff --git a/fs/inode/fs_files.c b/fs/inode/fs_files.c index a4cde7676f..2799c62902 100644 --- a/fs/inode/fs_files.c +++ b/fs/inode/fs_files.c @@ -199,7 +199,7 @@ int files_allocate(FAR struct inode *inode, int oflags, off_t pos, return ret; } - /* Calcuate minfd whether is in list->fl_files. + /* Calculate minfd whether is in list->fl_files. * if not, allocate a new filechunk. */ diff --git a/fs/inode/inode.h b/fs/inode/inode.h index 3731716902..e54652053a 100644 --- a/fs/inode/inode.h +++ b/fs/inode/inode.h @@ -258,7 +258,7 @@ int inode_stat(FAR struct inode *inode, FAR struct stat *buf, int resolve); * inode - The inode of interest * buf - The caller provide location in which to apply information * about the inode. - * flags - The vaild field in buf + * flags - The valid field in buf * resolve - Whether to resolve the symbolic link * * Returned Value: diff --git a/fs/procfs/Kconfig b/fs/procfs/Kconfig index f5c275f5ad..a187d395a8 100644 --- a/fs/procfs/Kconfig +++ b/fs/procfs/Kconfig @@ -22,10 +22,10 @@ config FS_PROCFS_REGISTER system. config FS_PROCFS_MAX_TASKS - int "The maxinum number of active tasks for procfs snapshot" + int "The maximum number of active tasks for procfs snapshot" default 128 ---help--- - The maxinum number of active tasks for procfs snapshot. + The maximum number of active tasks for procfs snapshot. menu "Exclude individual procfs entries" diff --git a/fs/procfs/fs_procfsutil.c b/fs/procfs/fs_procfsutil.c index 87c91d2c5b..ff7cbe4bb8 100644 --- a/fs/procfs/fs_procfsutil.c +++ b/fs/procfs/fs_procfsutil.c @@ -123,7 +123,7 @@ size_t procfs_memcpy(FAR const char *src, size_t srclen, * Description: * This function is same with snprintf, except return values. * If buf has no enough space and output was truncated due to size limit, - * snprintf: return formated string len. + * snprintf: return formatted string len. * procfs_snprintf: return string len which has written to buf. * * Input Parameters: diff --git a/fs/vfs/fs_chstat.c b/fs/vfs/fs_chstat.c index 38c0fb44f8..8b019fc80f 100644 --- a/fs/vfs/fs_chstat.c +++ b/fs/vfs/fs_chstat.c @@ -401,7 +401,7 @@ int lutimens(FAR const char *path, const struct timespec times[2]) * inode - The inode of interest * buf - The caller provide location in which to apply information * about the inode. - * flags - The vaild field in buf + * flags - The valid field in buf * resolve - Whether to resolve the symbolic link * * Returned Value: diff --git a/fs/vfs/fs_fchstat.c b/fs/vfs/fs_fchstat.c index 44d8306988..87503d0879 100644 --- a/fs/vfs/fs_fchstat.c +++ b/fs/vfs/fs_fchstat.c @@ -90,7 +90,7 @@ errout: * Input Parameters: * filep - File structure instance * buf - The stat to be modified - * flags - The vaild field in buf + * flags - The valid field in buf * * Returned Value: * Upon successful completion, 0 shall be returned. Otherwise, the diff --git a/include/nuttx/fs/fs.h b/include/nuttx/fs/fs.h index c411cc60c7..f883b4f7bc 100644 --- a/include/nuttx/fs/fs.h +++ b/include/nuttx/fs/fs.h @@ -1396,7 +1396,7 @@ int nx_stat(FAR const char *path, FAR struct stat *buf, int resolve); * Input Parameters: * filep - File structure instance * buf - The stat to be modified - * flags - The vaild field in buf + * flags - The valid field in buf * * Returned Value: * Upon successful completion, 0 shall be returned. Otherwise, the diff --git a/include/nuttx/fs/procfs.h b/include/nuttx/fs/procfs.h index 8d7d840e7d..e2afe6b10b 100644 --- a/include/nuttx/fs/procfs.h +++ b/include/nuttx/fs/procfs.h @@ -207,7 +207,7 @@ size_t procfs_memcpy(FAR const char *src, size_t srclen, * Description: * This function is same with snprintf, except return values. * If buf has no enough space and output was truncated due to size limit, - * snprintf: return formated string len. + * snprintf: return formatted string len. * procfs_snprintf: return string len which has written to buf. * * Input Parameters: diff --git a/include/nuttx/net/mii.h b/include/nuttx/net/mii.h index 3d761e27cd..c0741d3419 100644 --- a/include/nuttx/net/mii.h +++ b/include/nuttx/net/mii.h @@ -324,7 +324,7 @@ /* Auto-negotiation next page advertisement */ -#define MII_NPADVERTISE_CODE 0x07ff /* Bits 0-10: message/un-formated code field */ +#define MII_NPADVERTISE_CODE 0x07ff /* Bits 0-10: message/un-formatted code field */ #define MII_NPADVERTISE_TOGGLE (1 << 11) /* Bit 11: Toggle */ #define MII_NPADVERTISE_ACK2 (1 << 12) /* Bit 12: Acknowledgement 2 */ #define MII_NPADVERTISE_MSGPAGE (1 << 13) /* Bit 13: Message page */ diff --git a/libs/libc/audio/lib_buffer.c b/libs/libc/audio/lib_buffer.c index 6009af6b00..c1f6a66023 100644 --- a/libs/libc/audio/lib_buffer.c +++ b/libs/libc/audio/lib_buffer.c @@ -161,7 +161,7 @@ void apb_free(FAR struct ap_buffer_s *apb) void apb_reference(FAR struct ap_buffer_s *apb) { - /* Do we need any thread protection here? Almost certaily... */ + /* Do we need any thread protection here? Almost certainly... */ apb_semtake(apb); apb->crefs++; diff --git a/libs/libc/audio/libsrc/Kconfig b/libs/libc/audio/libsrc/Kconfig index 247584d274..6ea7960869 100644 --- a/libs/libc/audio/libsrc/Kconfig +++ b/libs/libc/audio/libsrc/Kconfig @@ -4,7 +4,7 @@ # config AUDIO_SRC - bool "Audio Samplerate Convertor Library" + bool "Audio Samplerate Converter Library" default n ---help--- Enable build for various SRC functions diff --git a/libs/libc/errno/lib_errno.c b/libs/libc/errno/lib_errno.c index 684b2bff92..30144fc845 100644 --- a/libs/libc/errno/lib_errno.c +++ b/libs/libc/errno/lib_errno.c @@ -58,7 +58,7 @@ FAR int *__errno(void) FAR struct tls_info_s *tlsinfo = tls_get_info(); - /* And return the return refernce to the error number */ + /* And return the return reference to the error number */ return tlsinfo ? &tlsinfo->tl_errno : &g_errno; } diff --git a/libs/libc/libgen/lib_basename.c b/libs/libc/libgen/lib_basename.c index 61737755c7..79cdc99e97 100644 --- a/libs/libc/libgen/lib_basename.c +++ b/libs/libc/libgen/lib_basename.c @@ -88,7 +88,7 @@ FAR char *basename(FAR char *path) } /* Get the address of the last '/' which is not at the end of the path and, - * therefor, must be just before the beginning of the filename component. + * therefore, must be just before the beginning of the filename component. */ p = strrchr(path, '/'); diff --git a/libs/libc/libgen/lib_dirname.c b/libs/libc/libgen/lib_dirname.c index 2fdfc5b5a7..2ea74965dd 100644 --- a/libs/libc/libgen/lib_dirname.c +++ b/libs/libc/libgen/lib_dirname.c @@ -88,7 +88,7 @@ FAR char *dirname(FAR char *path) } /* Get the address of the last '/' which is not at the end of the path and, - * therefor, must be the end of the directory component. + * therefore, must be the end of the directory component. */ p = strrchr(path, '/'); diff --git a/libs/libc/machine/arm/armv7-m/arch_elf.c b/libs/libc/machine/arm/armv7-m/arch_elf.c index 2ca96527e6..cbf454d38c 100644 --- a/libs/libc/machine/arm/armv7-m/arch_elf.c +++ b/libs/libc/machine/arm/armv7-m/arch_elf.c @@ -480,7 +480,7 @@ int up_relocate(const Elf32_Rel *rel, const Elf32_Sym *sym, uintptr_t addr) if (offset < (int32_t)0xfffff800 || offset >= (int32_t)0x0800) { berr("ERROR: JUMP11 [%" PRId32 "] " - "relocation out of range, branch taget=%08lx\n", + "relocation out of range, branch target=%08lx\n", ELF32_R_TYPE(rel->r_info), offset); return -EINVAL; diff --git a/libs/libc/machine/arm/armv8-m/arch_elf.c b/libs/libc/machine/arm/armv8-m/arch_elf.c index 614efdb792..2d2572e7bb 100644 --- a/libs/libc/machine/arm/armv8-m/arch_elf.c +++ b/libs/libc/machine/arm/armv8-m/arch_elf.c @@ -480,7 +480,7 @@ int up_relocate(const Elf32_Rel *rel, const Elf32_Sym *sym, uintptr_t addr) if (offset < (int32_t)0xfffff800 || offset >= (int32_t)0x0800) { berr("ERROR: JUMP11 [%" PRId32 "] " - "relocation out of range, branch taget=%08lx\n", + "relocation out of range, branch target=%08lx\n", ELF32_R_TYPE(rel->r_info), offset); return -EINVAL; diff --git a/libs/libc/machine/xtensa/arch_setjmp.S b/libs/libc/machine/xtensa/arch_setjmp.S index a765c73cf0..16087eb4be 100644 --- a/libs/libc/machine/xtensa/arch_setjmp.S +++ b/libs/libc/machine/xtensa/arch_setjmp.S @@ -72,8 +72,8 @@ setjmp: # if XCHAL_HAVE_XEA3 /* a2 points to the jmp_buf structure of 68 bytes length: - 8 * 4 to save the regester save area of setjmp that contains the callers resgisters - 8 * 4 to save the caller's register save area which is pottentally + 8 * 4 to save the register save area of setjmp that contains the callers registers + 8 * 4 to save the caller's register save area which is potentially clobbered by an alloca() in the caller */ diff --git a/libs/libc/math/lib_acos.c b/libs/libc/math/lib_acos.c index 617f2669d4..ad14ab2d3f 100644 --- a/libs/libc/math/lib_acos.c +++ b/libs/libc/math/lib_acos.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_acosf.c b/libs/libc/math/lib_acosf.c index a571d0bf57..a3ed12ae4b 100644 --- a/libs/libc/math/lib_acosf.c +++ b/libs/libc/math/lib_acosf.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_acosl.c b/libs/libc/math/lib_acosl.c index b3ad598aa6..683bc614f6 100644 --- a/libs/libc/math/lib_acosl.c +++ b/libs/libc/math/lib_acosl.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_asin.c b/libs/libc/math/lib_asin.c index d534f997d9..b13512fa5b 100644 --- a/libs/libc/math/lib_asin.c +++ b/libs/libc/math/lib_asin.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_asinf.c b/libs/libc/math/lib_asinf.c index c97a8d8bd6..a05bb67cc4 100644 --- a/libs/libc/math/lib_asinf.c +++ b/libs/libc/math/lib_asinf.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_asinl.c b/libs/libc/math/lib_asinl.c index 2e523d662d..87cf3fed21 100644 --- a/libs/libc/math/lib_asinl.c +++ b/libs/libc/math/lib_asinl.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_atan.c b/libs/libc/math/lib_atan.c index 669ae709f2..5a69600af7 100644 --- a/libs/libc/math/lib_atan.c +++ b/libs/libc/math/lib_atan.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_atan2.c b/libs/libc/math/lib_atan2.c index a12b7c2bb9..7b2c84dc1d 100644 --- a/libs/libc/math/lib_atan2.c +++ b/libs/libc/math/lib_atan2.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_atan2f.c b/libs/libc/math/lib_atan2f.c index 77032986e4..b4128fb25a 100644 --- a/libs/libc/math/lib_atan2f.c +++ b/libs/libc/math/lib_atan2f.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_atan2l.c b/libs/libc/math/lib_atan2l.c index 9632881d55..0445c7b0ab 100644 --- a/libs/libc/math/lib_atan2l.c +++ b/libs/libc/math/lib_atan2l.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_atanf.c b/libs/libc/math/lib_atanf.c index 600426b40d..cac3614530 100644 --- a/libs/libc/math/lib_atanf.c +++ b/libs/libc/math/lib_atanf.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_atanl.c b/libs/libc/math/lib_atanl.c index 89b2d40eb4..1dd492f7cf 100644 --- a/libs/libc/math/lib_atanl.c +++ b/libs/libc/math/lib_atanl.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_ceil.c b/libs/libc/math/lib_ceil.c index 9a58e64c32..4d050749b4 100644 --- a/libs/libc/math/lib_ceil.c +++ b/libs/libc/math/lib_ceil.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_ceilf.c b/libs/libc/math/lib_ceilf.c index 414d9815e6..006093128e 100644 --- a/libs/libc/math/lib_ceilf.c +++ b/libs/libc/math/lib_ceilf.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_ceill.c b/libs/libc/math/lib_ceill.c index 8524f6c772..531b51e070 100644 --- a/libs/libc/math/lib_ceill.c +++ b/libs/libc/math/lib_ceill.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_cos.c b/libs/libc/math/lib_cos.c index 43fb37fdad..904bc603e2 100644 --- a/libs/libc/math/lib_cos.c +++ b/libs/libc/math/lib_cos.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_cosf.c b/libs/libc/math/lib_cosf.c index 910dc5f680..1a436c3452 100644 --- a/libs/libc/math/lib_cosf.c +++ b/libs/libc/math/lib_cosf.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_cosh.c b/libs/libc/math/lib_cosh.c index 4807800129..40ce8ae3bb 100644 --- a/libs/libc/math/lib_cosh.c +++ b/libs/libc/math/lib_cosh.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_coshf.c b/libs/libc/math/lib_coshf.c index c6c34451a0..6c48c97506 100644 --- a/libs/libc/math/lib_coshf.c +++ b/libs/libc/math/lib_coshf.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_coshl.c b/libs/libc/math/lib_coshl.c index 176ec9605a..e0741a91f1 100644 --- a/libs/libc/math/lib_coshl.c +++ b/libs/libc/math/lib_coshl.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_cosl.c b/libs/libc/math/lib_cosl.c index dc3abddc69..983e78e47d 100644 --- a/libs/libc/math/lib_cosl.c +++ b/libs/libc/math/lib_cosl.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_erf.c b/libs/libc/math/lib_erf.c index aba342d67b..af64ec909f 100644 --- a/libs/libc/math/lib_erf.c +++ b/libs/libc/math/lib_erf.c @@ -48,7 +48,7 @@ * Name: erf * * Description: - * This implementation comes from the Handbook of Mathmatical Functions + * This implementation comes from the Handbook of Mathematical Functions * The implementations in this book are not protected by copyright. * erf comes from formula 7.1.26 * diff --git a/libs/libc/math/lib_erff.c b/libs/libc/math/lib_erff.c index 3a65072fca..cc728516ed 100644 --- a/libs/libc/math/lib_erff.c +++ b/libs/libc/math/lib_erff.c @@ -46,7 +46,7 @@ * Name: erff * * Description: - * This implementation comes from the Handbook of Mathmatical Functions + * This implementation comes from the Handbook of Mathematical Functions * The implementations in this book are not protected by copyright. * erf comes from formula 7.1.26 * diff --git a/libs/libc/math/lib_erfl.c b/libs/libc/math/lib_erfl.c index 94066dfa21..0090fa0892 100644 --- a/libs/libc/math/lib_erfl.c +++ b/libs/libc/math/lib_erfl.c @@ -41,7 +41,7 @@ #ifdef CONFIG_HAVE_LONG_DOUBLE long double erfl(long double x) { - /* This implementation comes from the Handbook of Mathmatical Functions + /* This implementation comes from the Handbook of Mathematical Functions * The implementations in this book are not protected by copyright. * erf comes from formula 7.1.26 */ diff --git a/libs/libc/math/lib_exp.c b/libs/libc/math/lib_exp.c index 2b44496244..23a3ba9ca6 100644 --- a/libs/libc/math/lib_exp.c +++ b/libs/libc/math/lib_exp.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_expf.c b/libs/libc/math/lib_expf.c index 57e0bb4586..92f3b8a52b 100644 --- a/libs/libc/math/lib_expf.c +++ b/libs/libc/math/lib_expf.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_expl.c b/libs/libc/math/lib_expl.c index 8975bf657e..9001c9d42b 100644 --- a/libs/libc/math/lib_expl.c +++ b/libs/libc/math/lib_expl.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_fabs.c b/libs/libc/math/lib_fabs.c index 7998cd87ab..7908abf867 100644 --- a/libs/libc/math/lib_fabs.c +++ b/libs/libc/math/lib_fabs.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_fabsf.c b/libs/libc/math/lib_fabsf.c index 99c430fc3b..d5e7186842 100644 --- a/libs/libc/math/lib_fabsf.c +++ b/libs/libc/math/lib_fabsf.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_fabsl.c b/libs/libc/math/lib_fabsl.c index a6d2686ba2..bdaab4dd9c 100644 --- a/libs/libc/math/lib_fabsl.c +++ b/libs/libc/math/lib_fabsl.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_floor.c b/libs/libc/math/lib_floor.c index 1ecc48dd9d..71a77b13ea 100644 --- a/libs/libc/math/lib_floor.c +++ b/libs/libc/math/lib_floor.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_floorf.c b/libs/libc/math/lib_floorf.c index c98634f99d..6b0fa7b80d 100644 --- a/libs/libc/math/lib_floorf.c +++ b/libs/libc/math/lib_floorf.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_floorl.c b/libs/libc/math/lib_floorl.c index 1e1d147171..82fd9742ea 100644 --- a/libs/libc/math/lib_floorl.c +++ b/libs/libc/math/lib_floorl.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_fmod.c b/libs/libc/math/lib_fmod.c index 7f6a789f91..e70ce684f3 100644 --- a/libs/libc/math/lib_fmod.c +++ b/libs/libc/math/lib_fmod.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_fmodf.c b/libs/libc/math/lib_fmodf.c index b907af9f52..4a7858654c 100644 --- a/libs/libc/math/lib_fmodf.c +++ b/libs/libc/math/lib_fmodf.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_fmodl.c b/libs/libc/math/lib_fmodl.c index 593ba03d9a..d264c338a1 100644 --- a/libs/libc/math/lib_fmodl.c +++ b/libs/libc/math/lib_fmodl.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_frexp.c b/libs/libc/math/lib_frexp.c index 4afafe2500..fcfeab69ed 100644 --- a/libs/libc/math/lib_frexp.c +++ b/libs/libc/math/lib_frexp.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_frexpf.c b/libs/libc/math/lib_frexpf.c index e8a6b1feb4..4e879534a2 100644 --- a/libs/libc/math/lib_frexpf.c +++ b/libs/libc/math/lib_frexpf.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_frexpl.c b/libs/libc/math/lib_frexpl.c index d08e0b230c..121a5b2a12 100644 --- a/libs/libc/math/lib_frexpl.c +++ b/libs/libc/math/lib_frexpl.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_ldexp.c b/libs/libc/math/lib_ldexp.c index 0562d5ac07..b3a8f2e6ad 100644 --- a/libs/libc/math/lib_ldexp.c +++ b/libs/libc/math/lib_ldexp.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_ldexpf.c b/libs/libc/math/lib_ldexpf.c index 23bd4d7375..2803861399 100644 --- a/libs/libc/math/lib_ldexpf.c +++ b/libs/libc/math/lib_ldexpf.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_ldexpl.c b/libs/libc/math/lib_ldexpl.c index d8626a3d15..8df8f08266 100644 --- a/libs/libc/math/lib_ldexpl.c +++ b/libs/libc/math/lib_ldexpl.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_libexpi.c b/libs/libc/math/lib_libexpi.c index 5a53bb3a3c..d5540b5179 100644 --- a/libs/libc/math/lib_libexpi.c +++ b/libs/libc/math/lib_libexpi.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_libexpif.c b/libs/libc/math/lib_libexpif.c index a79f07684e..ba5d5ce8f5 100644 --- a/libs/libc/math/lib_libexpif.c +++ b/libs/libc/math/lib_libexpif.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong/Gregory Nutt * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_libsqrtapprox.c b/libs/libc/math/lib_libsqrtapprox.c index 69c4bfda69..58a0f678cb 100644 --- a/libs/libc/math/lib_libsqrtapprox.c +++ b/libs/libc/math/lib_libsqrtapprox.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_log.c b/libs/libc/math/lib_log.c index 24edee3afb..e69b34c838 100644 --- a/libs/libc/math/lib_log.c +++ b/libs/libc/math/lib_log.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_log10.c b/libs/libc/math/lib_log10.c index 2177f68553..2d5cea9d45 100644 --- a/libs/libc/math/lib_log10.c +++ b/libs/libc/math/lib_log10.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_log10f.c b/libs/libc/math/lib_log10f.c index 8e9438de4c..a91fc7d023 100644 --- a/libs/libc/math/lib_log10f.c +++ b/libs/libc/math/lib_log10f.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_log10l.c b/libs/libc/math/lib_log10l.c index 548d0cb703..2cdc0f237c 100644 --- a/libs/libc/math/lib_log10l.c +++ b/libs/libc/math/lib_log10l.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_log2.c b/libs/libc/math/lib_log2.c index 69990b0c93..c94e7c1bd6 100644 --- a/libs/libc/math/lib_log2.c +++ b/libs/libc/math/lib_log2.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_log2f.c b/libs/libc/math/lib_log2f.c index 30b84dbab5..a39523aecd 100644 --- a/libs/libc/math/lib_log2f.c +++ b/libs/libc/math/lib_log2f.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_log2l.c b/libs/libc/math/lib_log2l.c index f78bd67dfb..46290103c4 100644 --- a/libs/libc/math/lib_log2l.c +++ b/libs/libc/math/lib_log2l.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_logf.c b/libs/libc/math/lib_logf.c index efaac61b4b..4ca2649e0d 100644 --- a/libs/libc/math/lib_logf.c +++ b/libs/libc/math/lib_logf.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_logl.c b/libs/libc/math/lib_logl.c index 0250a2a77c..cccbc896f3 100644 --- a/libs/libc/math/lib_logl.c +++ b/libs/libc/math/lib_logl.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_modf.c b/libs/libc/math/lib_modf.c index e1ac235508..f46066c499 100644 --- a/libs/libc/math/lib_modf.c +++ b/libs/libc/math/lib_modf.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_modff.c b/libs/libc/math/lib_modff.c index 7c068509cd..2448c0a8aa 100644 --- a/libs/libc/math/lib_modff.c +++ b/libs/libc/math/lib_modff.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_modfl.c b/libs/libc/math/lib_modfl.c index 49fd4f1128..235c07c05e 100644 --- a/libs/libc/math/lib_modfl.c +++ b/libs/libc/math/lib_modfl.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_pow.c b/libs/libc/math/lib_pow.c index 664e4ea303..c918479ea3 100644 --- a/libs/libc/math/lib_pow.c +++ b/libs/libc/math/lib_pow.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_powf.c b/libs/libc/math/lib_powf.c index c8c7bae563..2325d73dbd 100644 --- a/libs/libc/math/lib_powf.c +++ b/libs/libc/math/lib_powf.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_powl.c b/libs/libc/math/lib_powl.c index cfbd03f7cf..94bc0d4f84 100644 --- a/libs/libc/math/lib_powl.c +++ b/libs/libc/math/lib_powl.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_sin.c b/libs/libc/math/lib_sin.c index aa28fd1db8..f144d45c75 100644 --- a/libs/libc/math/lib_sin.c +++ b/libs/libc/math/lib_sin.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_sinf.c b/libs/libc/math/lib_sinf.c index 3a7072951b..b9651ad79c 100644 --- a/libs/libc/math/lib_sinf.c +++ b/libs/libc/math/lib_sinf.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_sinh.c b/libs/libc/math/lib_sinh.c index e6cb7c2b68..622445b18b 100644 --- a/libs/libc/math/lib_sinh.c +++ b/libs/libc/math/lib_sinh.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_sinhf.c b/libs/libc/math/lib_sinhf.c index 2201c55ed8..fa7f7da832 100644 --- a/libs/libc/math/lib_sinhf.c +++ b/libs/libc/math/lib_sinhf.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_sinhl.c b/libs/libc/math/lib_sinhl.c index 8238db8204..603e051ad0 100644 --- a/libs/libc/math/lib_sinhl.c +++ b/libs/libc/math/lib_sinhl.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_sinl.c b/libs/libc/math/lib_sinl.c index 5935cf1daf..bead13181f 100644 --- a/libs/libc/math/lib_sinl.c +++ b/libs/libc/math/lib_sinl.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_sqrt.c b/libs/libc/math/lib_sqrt.c index 2ef0a1f235..1114fefe04 100644 --- a/libs/libc/math/lib_sqrt.c +++ b/libs/libc/math/lib_sqrt.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_sqrtf.c b/libs/libc/math/lib_sqrtf.c index a99f878666..1bed69face 100644 --- a/libs/libc/math/lib_sqrtf.c +++ b/libs/libc/math/lib_sqrtf.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_sqrtl.c b/libs/libc/math/lib_sqrtl.c index 029fb1003e..71d89237a2 100644 --- a/libs/libc/math/lib_sqrtl.c +++ b/libs/libc/math/lib_sqrtl.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009-2011 Nick Johnson * diff --git a/libs/libc/math/lib_tan.c b/libs/libc/math/lib_tan.c index c5699c7806..be7da77f5a 100644 --- a/libs/libc/math/lib_tan.c +++ b/libs/libc/math/lib_tan.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_tanf.c b/libs/libc/math/lib_tanf.c index 9ccb138eb4..d23d4af0bd 100644 --- a/libs/libc/math/lib_tanf.c +++ b/libs/libc/math/lib_tanf.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_tanh.c b/libs/libc/math/lib_tanh.c index 85dce6df5f..187f0ca75a 100644 --- a/libs/libc/math/lib_tanh.c +++ b/libs/libc/math/lib_tanh.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_tanhf.c b/libs/libc/math/lib_tanhf.c index 8db236abf8..df5da9a152 100644 --- a/libs/libc/math/lib_tanhf.c +++ b/libs/libc/math/lib_tanhf.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_tanhl.c b/libs/libc/math/lib_tanhl.c index a03c000ef7..36cf45d4a6 100644 --- a/libs/libc/math/lib_tanhl.c +++ b/libs/libc/math/lib_tanhl.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/math/lib_tanl.c b/libs/libc/math/lib_tanl.c index 96f079e253..f3285d563b 100644 --- a/libs/libc/math/lib_tanl.c +++ b/libs/libc/math/lib_tanl.c @@ -7,7 +7,7 @@ * Ported by: Darcy Gong * * It derives from the Rhombus OS math library by Nick Johnson which has - * a compatibile, MIT-style license: + * a compatible, MIT-style license: * * Copyright (C) 2009, 2010 Nick Johnson * diff --git a/libs/libc/misc/lib_slcddecode.c b/libs/libc/misc/lib_slcddecode.c index 961b934c0d..70c23a60ad 100644 --- a/libs/libc/misc/lib_slcddecode.c +++ b/libs/libc/misc/lib_slcddecode.c @@ -240,7 +240,7 @@ enum slcdret_e slcd_decode(FAR struct lib_instream_s *stream, return slcd_reget(state, pch, parg); } - /* If the next character is a hexidecimal value (with lower case + /* If the next character is a hexadecimal value (with lower case * alphabetic characters), then we are parsing a 5-byte sequence. */ @@ -271,7 +271,7 @@ enum slcdret_e slcd_decode(FAR struct lib_instream_s *stream, } else { - /* Save the first character of the two byte hexidecimal number */ + /* Save the first character of the two byte hexadecimal number */ state->buf[NDX_COUNTH] = (uint8_t)ch; state->nch = NCH_COUNTH; @@ -288,7 +288,7 @@ enum slcdret_e slcd_decode(FAR struct lib_instream_s *stream, return slcd_reget(state, pch, parg); } - /* We expect the next character to be the second byte of hexidecimal + /* We expect the next character to be the second byte of hexadecimal * count value. */ @@ -304,7 +304,7 @@ enum slcdret_e slcd_decode(FAR struct lib_instream_s *stream, return slcd_reget(state, pch, parg); } - /* Save the second character of the two byte hexidecimal number */ + /* Save the second character of the two byte hexadecimal number */ state->buf[NDX_COUNTL] = (uint8_t)ch; state->nch = NCH_COUNTL; diff --git a/libs/libc/modlib/modlib_loadshdrs.c b/libs/libc/modlib/modlib_loadshdrs.c index 0da27962b5..ac6580908e 100644 --- a/libs/libc/modlib/modlib_loadshdrs.c +++ b/libs/libc/modlib/modlib_loadshdrs.c @@ -74,7 +74,7 @@ int modlib_loadshdrs(FAR struct mod_loadinfo_s *loadinfo) (size_t)loadinfo->ehdr.e_shnum; if (loadinfo->ehdr.e_shoff + shdrsize > loadinfo->filelen) { - berr("ERROR: Insufficent space in file for section header table\n"); + berr("ERROR: Insufficient space in file for section header table\n"); return -ESPIPE; } diff --git a/libs/libc/netdb/lib_rexec.c b/libs/libc/netdb/lib_rexec.c index 33735c6056..2ceed200dd 100644 --- a/libs/libc/netdb/lib_rexec.c +++ b/libs/libc/netdb/lib_rexec.c @@ -173,7 +173,7 @@ addr_out: * standard name of the host. If a username and password are both * specified, then these are used to authenticate to the foreign host; * otherwise the environment and then the .netrc file in user's home - * direcotry are searched for appropiate information. If all the fails, + * directory are searched for appropiate information. If all that fails, * the user is prompted for the information. * * The port inport specifies which well-known DARPA Internet port to diff --git a/libs/libc/pthread/pthread_spinlock.c b/libs/libc/pthread/pthread_spinlock.c index 7f1391a109..75a3466bad 100644 --- a/libs/libc/pthread/pthread_spinlock.c +++ b/libs/libc/pthread/pthread_spinlock.c @@ -178,7 +178,7 @@ int pthread_spin_lock(pthread_spinlock_t *lock) /* Loop until we successfully take the spinlock (i.e., until the previous * state of the spinlock was SP_UNLOCKED). - * NOTE that the test/set operaion is performed via boardctl() to avoid a + * NOTE that the test/set operation is performed via boardctl() to avoid a * variety of issues. An option might be to move the implementation of * up_testset() to libs/libc/machine. */ diff --git a/libs/libc/sched/task_setcanceltype.c b/libs/libc/sched/task_setcanceltype.c index 6b1e4ff3ff..2be62cd7bf 100644 --- a/libs/libc/sched/task_setcanceltype.c +++ b/libs/libc/sched/task_setcanceltype.c @@ -46,7 +46,7 @@ int task_setcanceltype(int type, FAR int *oldtype) { - /* Return the current type if so requrested */ + /* Return the current type if so requested */ if (oldtype != NULL) { diff --git a/libs/libc/string/lib_isbasedigit.c b/libs/libc/string/lib_isbasedigit.c index cb201af6f1..2a2d6dd3c6 100644 --- a/libs/libc/string/lib_isbasedigit.c +++ b/libs/libc/string/lib_isbasedigit.c @@ -43,7 +43,7 @@ * * Description: * Given an ASCII character, ch, and a base (1-36) do two - * things: 1) Determine if ch is a valid charcter, and 2) + * things: 1) Determine if ch is a valid character, and 2) * convert ch to its binary value. * ****************************************************************************/ diff --git a/libs/libc/string/lib_strxfrm.c b/libs/libc/string/lib_strxfrm.c index f87d197271..e19cf80de3 100644 --- a/libs/libc/string/lib_strxfrm.c +++ b/libs/libc/string/lib_strxfrm.c @@ -48,7 +48,7 @@ * resulting string into the array pointed to by s1. The transformation is * such that if the strcmp() function is applied to the two transformed * strings, it returns a value greater than, equal to, or less than zero, - * correspoinding to the result of a <> function applied to the + * corresponding to the result of a <> function applied to the * same two original strings. * With a C locale, this function just copies. * diff --git a/libs/libc/unistd/Kconfig b/libs/libc/unistd/Kconfig index ada5ea250e..d18c9cf877 100644 --- a/libs/libc/unistd/Kconfig +++ b/libs/libc/unistd/Kconfig @@ -23,7 +23,7 @@ config LIBC_EXECFUNCS functions are essentially just wrapper functions that (1) call the non-standard binfmt function 'exec', and then (2) exit(0). Since the new thread will be terminated by the exec[l|v] call, it really - served no purpose other than to suport Unix compatility. + served no purpose other than to support Unix compatibility. The posix_spawn() functions do not have this inefficiency. diff --git a/libs/libc/unistd/lib_execl.c b/libs/libc/unistd/lib_execl.c index 54ea688798..6caf029c9d 100644 --- a/libs/libc/unistd/lib_execl.c +++ b/libs/libc/unistd/lib_execl.c @@ -104,7 +104,7 @@ * is defined in the configuration, then this may be a relative path * from the current working directory. Otherwise, path must be the * absolute path to the program. - * ... - A list of the string arguments to be recevied by the + * ... - A list of the string arguments to be received by the * program. Zero indicates the end of the list. * * Returned Value: diff --git a/libs/libc/unistd/lib_execle.c b/libs/libc/unistd/lib_execle.c index 1aaffe5f74..a4860c2919 100644 --- a/libs/libc/unistd/lib_execle.c +++ b/libs/libc/unistd/lib_execle.c @@ -104,7 +104,7 @@ * is defined in the configuration, then this may be a relative path * from the current working directory. Otherwise, path must be the * absolute path to the program. - * ... - A list of the string arguments to be recevied by the + * ... - A list of the string arguments to be received by the * program. Zero indicates the end of the list. * * Returned Value: diff --git a/libs/libdsp/lib_observer.c b/libs/libdsp/lib_observer.c index 158928b141..9abffc9fc9 100644 --- a/libs/libdsp/lib_observer.c +++ b/libs/libdsp/lib_observer.c @@ -263,8 +263,8 @@ void motor_aobserver_smo(FAR struct motor_aobserver_f32_s *o, /* Configure low pass filters * * We tune low-pass filters to achieve cutoff frequency equal to - * input singal frequency. This gives us constant phase shift between - * input and outpu signals equals to: + * input signal frequency. This gives us constant phase shift between + * input and output signals equals to: * * phi = -arctan(f_in/f_c) = -arctan(1) = -45deg = -PI/4 * diff --git a/libs/libdsp/lib_observer_b16.c b/libs/libdsp/lib_observer_b16.c index 10474dc6dd..5c40735fb2 100644 --- a/libs/libdsp/lib_observer_b16.c +++ b/libs/libdsp/lib_observer_b16.c @@ -259,8 +259,8 @@ void motor_aobserver_smo_b16(FAR struct motor_aobserver_b16_s *o, /* Configure low pass filters * * We tune low-pass filters to achieve cutoff frequency equal to - * input singal frequency. This gives us constant phase shift between - * input and outpu signals equals to: + * input signal frequency. This gives us constant phase shift between + * input and output signals equals to: * * phi = -arctan(f_in/f_c) = -arctan(1) = -45deg = -PI/4 * diff --git a/libs/libnx/nxfonts/README.txt b/libs/libnx/nxfonts/README.txt index e43df5f84b..d91e3da8ad 100644 --- a/libs/libnx/nxfonts/README.txt +++ b/libs/libnx/nxfonts/README.txt @@ -17,7 +17,7 @@ Installing New Fonts 1. Locate a font in BDF format, 2. Use the bdf-converter program to convert the BDF font to the NuttX font format. This will result in a C header file containing - defintions. That header file should be installed at, for example, + definitions. That header file should be installed at, for example, graphics/nxfonts/nxfonts_myfont.h. Create a new NuttX configuration variable. For example, suppose diff --git a/libs/libnx/nxglib/nxglib_rectadd.c b/libs/libnx/nxglib/nxglib_rectadd.c index 9509367de4..7112f35569 100644 --- a/libs/libnx/nxglib/nxglib_rectadd.c +++ b/libs/libnx/nxglib/nxglib_rectadd.c @@ -34,7 +34,7 @@ * Name: nxgl_rectadd * * Description: - * Return the rectangle that contains exactly two other rectanges. + * Return the rectangle that contains exactly two other rectangles. * ****************************************************************************/ diff --git a/libs/libnx/nxglib/nxglib_rectunion.c b/libs/libnx/nxglib/nxglib_rectunion.c index 931b89fea9..52ed3046c9 100644 --- a/libs/libnx/nxglib/nxglib_rectunion.c +++ b/libs/libnx/nxglib/nxglib_rectunion.c @@ -34,7 +34,7 @@ * Name: nxgl_rectunion * * Description: - * Given two rectanges, src1 and src2, return the larger rectangle that + * Given two rectangles, src1 and src2, return the larger rectangle that * contains both, dest. * ****************************************************************************/ diff --git a/libs/libnx/nxglib/nxglib_rgbblend.c b/libs/libnx/nxglib/nxglib_rgbblend.c index 00c435a744..00ed55ffc6 100644 --- a/libs/libnx/nxglib/nxglib_rgbblend.c +++ b/libs/libnx/nxglib/nxglib_rgbblend.c @@ -47,7 +47,7 @@ * implementation of anti-aliasing without transparency. * * Input Parameters: - * component1 - The semi-transparent, forground 8-bit color component + * component1 - The semi-transparent, foreground 8-bit color component * component2 - The opaque, background color component * frac1 - The fractional amount of component1 to blend into component2 * @@ -114,7 +114,7 @@ static uint8_t nxglib_blend_component(uint8_t component1, uint8_t component2, * implementation of anti-aliasing without transparency. * * Input Parameters: - * color1 - The semi-transparent, forground color + * color1 - The semi-transparent, foreground color * color2 - The opaque, background color * frac1 - The fractional amount of color1 to blend into color2 * diff --git a/libs/libnx/nxglib/nxglib_splitline.c b/libs/libnx/nxglib/nxglib_splitline.c index e5ea306023..a1cd50dbfe 100644 --- a/libs/libnx/nxglib/nxglib_splitline.c +++ b/libs/libnx/nxglib/nxglib_splitline.c @@ -71,7 +71,7 @@ static b16_t nxgl_interpolate(b16_t x, b16_t dy, b16_t dxdy) * 2. If x1 == x2 then the line is vertical and also better represented * as a rectangle. * 3. If the width of the line is 1, then there are no triangles at the - * top and bottome (this may also be the case if the width is narrow + * top and bottom (this may also be the case if the width is narrow * and the line is near vertical). * 4. If the line is oriented is certain angles, it may consist only of * the upper and lower triangles with no trapezoid in between. In diff --git a/libs/libnx/nxmu/nx_cursor.c b/libs/libnx/nxmu/nx_cursor.c index f48d989879..ad91bc7c07 100644 --- a/libs/libnx/nxmu/nx_cursor.c +++ b/libs/libnx/nxmu/nx_cursor.c @@ -188,7 +188,7 @@ int nxcursor_setposition(NXHANDLE hnd, FAR const struct nxgl_point_s *pos) * CAUTION: The current cursor position is not updated until the display * is actually changed. Due to asynchronies caused by queue, the new * current cursor position may not match the cursor position set until - * the client and server are syncrhonized. + * the client and server are synchronized. * * Input Parameters: * hnd - The server handle returned by nx_connect() diff --git a/libs/libnx/nxmu/nx_synch.c b/libs/libnx/nxmu/nx_synch.c index b5024fb2e1..b1ebc75b3e 100644 --- a/libs/libnx/nxmu/nx_synch.c +++ b/libs/libnx/nxmu/nx_synch.c @@ -39,7 +39,7 @@ * Name: nx_synch * * Description: - * This interface can be used to syncrhonize the window client with the + * This interface can be used to synchronize the window client with the * NX server. It really just implements an 'echo': A synch message is * sent from the window client to the server which then responds * immediately by sending the NXEVENT_SYNCHED back to the windows client. @@ -69,7 +69,7 @@ * } * } * - * When the windwo listener thread receives the NXEVENT_SYNCHED event, it + * When the window listener thread receives the NXEVENT_SYNCHED event, it * would set g_synched to true and post g_synch_sem, waking up the above * loop. * diff --git a/libs/libnx/nxtk/nxtk_events.c b/libs/libnx/nxtk/nxtk_events.c index 45a934799f..dcccc9af77 100644 --- a/libs/libnx/nxtk/nxtk_events.c +++ b/libs/libnx/nxtk/nxtk_events.c @@ -228,7 +228,7 @@ static void nxtk_mousein(NXWINDOW hwnd, FAR const struct nxgl_point_s *pos, /* The fwrect and tbrect boxes are both in absolute display coordinates. So * the easiest thing to do is to restore the mouse position to absolute - * display coordiantes before making the comparisons and adjustments. + * display coordinates before making the comparisons and adjustments. */ nxgl_vectoradd(&abspos, pos, &fwnd->wnd.bounds.pt1); diff --git a/libs/libnx/nxtk/nxtk_synch.c b/libs/libnx/nxtk/nxtk_synch.c index d25799f16a..2d103e3253 100644 --- a/libs/libnx/nxtk/nxtk_synch.c +++ b/libs/libnx/nxtk/nxtk_synch.c @@ -36,7 +36,7 @@ * Name: nxtk_synch * * Description: - * This interface can be used to syncrhonize the window client with the + * This interface can be used to synchronize the window client with the * NX server. It really just implements an 'echo': A synch message is * sent from the window client to the server which then responds * immediately by sending the NXEVENT_SYNCHED back to the windows client. @@ -66,7 +66,7 @@ * } * } * - * When the windwo listener thread receives the NXEVENT_SYNCHED event, it + * When the window listener thread receives the NXEVENT_SYNCHED event, it * would set g_synched to true and post g_synch_sem, waking up the above * loop. * diff --git a/sched/sched/sched_verifytcb.c b/sched/sched/sched_verifytcb.c index 8703fd8c85..01a6f19bd9 100644 --- a/sched/sched/sched_verifytcb.c +++ b/sched/sched/sched_verifytcb.c @@ -69,11 +69,11 @@ bool nxsched_verify_tcb(FAR struct tcb_s *tcb) */ irqstate_t flags; - bool vaild; + bool valid; flags = enter_critical_section(); - vaild = tcb == g_pidhash[PIDHASH(tcb->pid)]; + valid = tcb == g_pidhash[PIDHASH(tcb->pid)]; leave_critical_section(flags); - return vaild; + return valid; } diff --git a/tools/minidumpserver.py b/tools/minidumpserver.py index 61ad8a27e1..f44af7d469 100755 --- a/tools/minidumpserver.py +++ b/tools/minidumpserver.py @@ -45,7 +45,7 @@ class dump_elf_file: Class to parse ELF file for memory content in various sections. There are read-only sections (e.g. text and rodata) where the memory content does not need to be dumped via coredump - and can be retrived from the ELF file. + and can be retrieved from the ELF file. """ def __init__(self, elffile): diff --git a/tools/parsememdump.py b/tools/parsememdump.py index 7707e98060..1c8d4eeec8 100755 --- a/tools/parsememdump.py +++ b/tools/parsememdump.py @@ -101,7 +101,7 @@ if __name__ == "__main__": nargs=1, ) - parser.add_argument("-o", "--output", help="output file,defult output shell") + parser.add_argument("-o", "--output", help="output file,default output shell") args = parser.parse_args() dump_file = open("%s" % args.file[0], "r") diff --git a/tools/size_report.py b/tools/size_report.py index ad39216fca..21e038fc9b 100755 --- a/tools/size_report.py +++ b/tools/size_report.py @@ -292,7 +292,7 @@ def do_simple_name_matching(elf, symbol_dict, processed): # an actual address elif "DW_AT_low_pc" in die.attributes: # DW_AT_low_pc == 0 is a weak function - # which has been overriden + # which has been overridden if die.attributes["DW_AT_low_pc"].value != 0: sym_name = die.get_full_path()