From 46aaec7ba04fb27e6a93a3b4eb23c89cb65d41f8 Mon Sep 17 00:00:00 2001 From: Nathan Hartman Date: Sun, 29 Sep 2019 12:52:20 -0600 Subject: [PATCH] Fix minor typos in docs and comments. --- ChangeLog | 16 ++++++++-------- Documentation/NXGraphicsSubsystem.html | 4 ++-- Documentation/NuttxPortingGuide.html | 6 +++--- Documentation/NuttxUserGuide.html | 2 +- ReleaseNotes | 8 ++++---- TODO | 4 ++-- arch/arm/src/armv6-m/Toolchain.defs | 2 +- arch/arm/src/armv6-m/up_svcall.c | 2 +- arch/arm/src/armv7-a/arm_addrenv.c | 4 ++-- arch/arm/src/armv7-m/up_svcall.c | 2 +- arch/arm/src/c5471/c5471_watchdog.c | 2 +- arch/arm/src/dm320/dm320_timerisr.c | 2 +- arch/arm/src/imx1/imx_spi.c | 2 +- arch/arm/src/imx6/imx_ecspi.c | 2 +- arch/arm/src/kinetis/kinetis_rtc.c | 2 +- arch/arm/src/lpc43xx/lpc43_ethernet.c | 2 +- arch/arm/src/nuc1xx/nuc_lowputc.c | 2 +- arch/arm/src/sama5/sam_tsd.c | 2 +- arch/arm/src/samd5e5/sam_clockconfig.c | 2 +- arch/arm/src/stm32/stm32_eth.c | 2 +- arch/arm/src/stm32/stm32_otgfshost.c | 2 +- arch/arm/src/stm32/stm32_otghshost.c | 2 +- arch/arm/src/stm32/stm32_rtcc.c | 2 +- arch/arm/src/stm32/stm32f40xxx_rtcc.c | 2 +- arch/arm/src/stm32f7/stm32_ethernet.c | 2 +- arch/arm/src/stm32f7/stm32_otghost.c | 2 +- arch/arm/src/stm32f7/stm32_rtc.c | 2 +- arch/arm/src/stm32h7/stm32_ethernet.c | 2 +- arch/arm/src/stm32h7/stm32_otghost.c | 2 +- arch/arm/src/stm32h7/stm32_rtc.c | 2 +- arch/arm/src/stm32l4/stm32l4_otgfshost.c | 2 +- arch/arm/src/stm32l4/stm32l4x3xx_rcc.c | 2 +- arch/arm/src/stm32l4/stm32l4x6xx_rcc.c | 2 +- arch/arm/src/stm32l4/stm32l4xrxx_rcc.c | 2 +- arch/arm/src/str71x/str71x_head.S | 4 ++-- arch/arm/src/tiva/common/tiva_ssi.c | 2 +- arch/arm/src/tiva/tm4c/tm4c_ethernet.c | 2 +- arch/mips/src/mips32/up_swint0.c | 4 ++-- arch/misoc/src/lm32/lm32_swint.c | 4 ++-- arch/misoc/src/minerva/minerva_swint.c | 6 +++--- arch/risc-v/src/rv32im/Toolchain.defs | 4 ++-- arch/risc-v/src/rv32im/up_swint.c | 4 ++-- arch/z16/src/z16f/z16f_timerisr.c | 2 +- arch/z80/src/z180/z180_mmu.c | 6 +++--- audio/pcm_decode.c | 2 +- boards/Kconfig | 2 +- boards/arm/cxd56xx/spresense/src/cxd56_ioctl.c | 2 +- .../stm32/mikroe-stm32f4/src/stm32_touchscreen.c | 2 +- boards/arm/stm32/stm32f4discovery/README.txt | 4 ++-- boards/boardctl.c | 4 ++-- .../pic32mx/pic32mx7mmb/src/pic32_touchscreen.c | 2 +- drivers/input/ads7843e.c | 2 +- drivers/input/max11802.c | 2 +- drivers/net/enc28j60.c | 2 +- drivers/net/slip.c | 4 ++-- drivers/usbhost/Kconfig | 2 +- fs/cromfs/README.txt | 2 +- fs/smartfs/smartfs_utils.c | 2 +- fs/vfs/fs_rename.c | 2 +- fs/vfs/fs_unlink.c | 2 +- include/nuttx/arch.h | 10 +++++----- include/nuttx/sensors/adxl372.h | 8 ++++---- include/nuttx/sensors/lsm330.h | 8 ++++---- include/sys/boardctl.h | 2 +- libs/libnx/nxfonts/README.txt | 2 +- sched/task/task_delete.c | 2 +- tools/kconfig2html.c | 2 +- 67 files changed, 104 insertions(+), 104 deletions(-) diff --git a/ChangeLog b/ChangeLog index b125a38b3b..bd79a12623 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3335,7 +3335,7 @@ the UDP discovery utility. Contributed by Max Holtzberg. * mm/README.txt: Add a new README file. * include/nuttx/usb/usb.h, arch/*/src/*usb.c, and arch/*/src/*otg*.c: - Add hooks to to use common, external DMA buffer allocation + Add hooks to use common, external DMA buffer allocation implementation. * net/recvfrom.c: Don't block in recvfrom if (1) read-ahead buffering is enabled and (2) some data was obtained from read-ahead buffers. @@ -3924,7 +3924,7 @@ locking up the whole system. * sched/sched_waitpid.c: Use SIGCHLD instead of a semaphore. This is a much more spec-compliant implementation. However, there are - some issues with overruning signals because NuttX does not support + some issues with overrunning signals because NuttX does not support queueing of signals (POSIX does not require it). I think it may need to. * sched/sched_waitid.c and sched_wait.c: Add support for waitid() @@ -4442,7 +4442,7 @@ type as the second parameter (2013-03-23). * arch/arm/src/lm, kinetis, lpc43, and nuc1xx: Add kernel build support to all ARMv7-M and ARMv6-M chips. There are no - configurations in place to to verify these additions! + configurations in place to verify these additions! (2013-03-24). * arch/arm/src/lm/lm_gpio.h: Correct typos in alternate function definitions (2013-03-24). @@ -8429,7 +8429,7 @@ addresses to physical addresses, and vice versa (2104-9-7). * SAM3X/Arduino Due: Fix typo in sam3x_periphclks.h; add SCLK definitions to board.h header file. From Fabien Comte (2014-9-8). - * Several pthread interfaces: Add const storage class to to phthread + * Several pthread interfaces: Add const storage class to the phthread parameters. From Freddie Chopin (2014-9-8). * libc/math: Corrected atan2 implementations from Denis Arnst (2014-9-8). * sama5d4-ek/knsh: Rename the kernel configuration to knsh to better @@ -12026,9 +12026,9 @@ * STM32F7: Add SPI, I2C, and ADC drivers. From Lok Tep (2016-06-15). * err(), warn(), info(), and alert() renamed to include leading '_'. This was done to avoid some naming collisions (2-06-16 - * STM32: Move backup domain reset to to earlier in the initialization + * STM32: Move backup domain reset to earlier in the initialization sequence (stm32_rcc.c() in order to avoid disabling LSE during RTC - initialiation. From Alan Carvalho de Assis (2016-06-16). + initialization. From Alan Carvalho de Assis (2016-06-16). * SYSLOG: syslog() will now automatically redirect output to lowsyslog() if called from an interrupt handler (2016-06-16). * STM32: When configuring a GPIO via stm32_configgpio() the function @@ -16638,7 +16638,7 @@ because current data structures do not support it (2017-08-29). * Networking: Clean up some naming that has bothered me for a long time... There are no interrupts and no interrupt handlers in the - network. There are events and event handler (there used to to be + network. There are events and event handler (there used to be interrupt logic in there years ago but that is long, long gone) (2017-08-29). * configs: update STM32L4 configs for ADC changes. From Juha Niskanen @@ -24932,7 +24932,7 @@ * arch/arm/src/am335x/am335x_sysclk.c: Add a function to return a frequency of the system clock. From Gregory Nutt (2019-07-08). * arch/arm/src/am335x/am335x_lcdc.c: Add logic to get/set the module - reference clock. Still one more clocking interface to to. From Gregory + reference clock. Still one more clocking interface to do. From Gregory Nutt (2019-07-08). * configs/beaglebone-black/lcd/defconfig: Add a configuration for bringing up the LCDC driver. From Gregory Nutt (2019-07-08). diff --git a/Documentation/NXGraphicsSubsystem.html b/Documentation/NXGraphicsSubsystem.html index d22e778e16..a4684731e2 100644 --- a/Documentation/NXGraphicsSubsystem.html +++ b/Documentation/NXGraphicsSubsystem.html @@ -1037,7 +1037,7 @@ int nxmu_start(int display, int plane);

Returned Value: - On success zero (OKERROR) is returned on failure with the errno variable to to indicate the nature of the failure. + On success zero (OKERROR) is returned on failure with the errno variable set to indicate the nature of the failure.

2.3.4 NX Server Callbacks

@@ -4088,7 +4088,7 @@ enum nx_fontid_e

New Add the font to the NX build system. - There are several files that you have to modify to to this. + There are several files that you have to modify to do this. Look how the build system uses the font CONFIG_NXFONT_SANS23X27 for examaples:

    diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index 6f306fbf64..334e6c720b 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -3717,7 +3717,7 @@ void lpwork_restorepriority(uint8_t reqprio);

    Description:

    Input Parameters:

    @@ -3742,7 +3742,7 @@ void lpwork_restorepriority(uint8_t reqprio);

    Description:

    Input Parameters: