From 0da9aaeb0918f37ecd08371213da3beef9ac2296 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 8 Jul 2014 13:12:36 -0600 Subject: [PATCH] Fix some recurring typos: postion->position, *atino->*ation --- Documentation/NuttXCCodingStandard.html | 2 +- configs/stm3220g-eval/src/up_stmpe811.c | 2 +- configs/stm3240g-eval/src/up_stmpe811.c | 2 +- drivers/usbdev/Kconfig | 2 +- drivers/usbhost/usbhost_skeleton.c | 2 +- drivers/usbhost/usbhost_storage.c | 2 +- graphics/nxglib/fb/nxglib_moverectangle.c | 2 +- libc/wqueue/work_thread.c | 2 +- sched/task_reparent.c | 4 ++-- tools/configure.c | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Documentation/NuttXCCodingStandard.html b/Documentation/NuttXCCodingStandard.html index 56eea5aafa..7b17b054b9 100755 --- a/Documentation/NuttXCCodingStandard.html +++ b/Documentation/NuttXCCodingStandard.html @@ -1392,7 +1392,7 @@ struct xyz_info_s

2.7 Enumerations

Enumeration Naming. - Naming of enumeratinos follow the same naming rules as for structure and union naming. + Naming of enumerations follow the same naming rules as for structure and union naming. The only difference is that the suffix _e is used to identify an enumeration.

diff --git a/configs/stm3220g-eval/src/up_stmpe811.c b/configs/stm3220g-eval/src/up_stmpe811.c index 06be67bb52..721650a3d5 100644 --- a/configs/stm3220g-eval/src/up_stmpe811.c +++ b/configs/stm3220g-eval/src/up_stmpe811.c @@ -227,7 +227,7 @@ static void stmpe811_enable(FAR struct stmpe811_config_s *state, bool enable) /* Attach and enable, or detach and disable. Enabling and disabling GPIO * interrupts is a multi-step process so the safest thing is to keep - * interrupts disabled during the reconfiguratino. + * interrupts disabled during the reconfiguration. */ flags = irqsave(); diff --git a/configs/stm3240g-eval/src/up_stmpe811.c b/configs/stm3240g-eval/src/up_stmpe811.c index f6c7d1e27c..8e4aed3077 100644 --- a/configs/stm3240g-eval/src/up_stmpe811.c +++ b/configs/stm3240g-eval/src/up_stmpe811.c @@ -227,7 +227,7 @@ static void stmpe811_enable(FAR struct stmpe811_config_s *state, bool enable) /* Attach and enable, or detach and disable. Enabling and disabling GPIO * interrupts is a multi-step process so the safest thing is to keep - * interrupts disabled during the reconfiguratino. + * interrupts disabled during the reconfiguration. */ flags = irqsave(); diff --git a/drivers/usbdev/Kconfig b/drivers/usbdev/Kconfig index 9fdc6c92ce..c034c62bc2 100644 --- a/drivers/usbdev/Kconfig +++ b/drivers/usbdev/Kconfig @@ -552,7 +552,7 @@ config USBMSC_BULKOUTREQLEN the completed READ request to the caller as each packet is received. Therefore, there is no benefit in increasing the size of this buffer beyond the maximum size of one packet. Default: 512 or 64 bytes - (depending upon if dual speed operatino is supported or not). + (depending upon if dual speed operation is supported or not). config USBMSC_VENDORID hex "Mass storage Vendor ID" diff --git a/drivers/usbhost/usbhost_skeleton.c b/drivers/usbhost/usbhost_skeleton.c index 806990375d..0603221c61 100644 --- a/drivers/usbhost/usbhost_skeleton.c +++ b/drivers/usbhost/usbhost_skeleton.c @@ -175,7 +175,7 @@ static int usbhost_disconnected(FAR struct usbhost_class_s *class); * Private Data ****************************************************************************/ -/* This structure provides the registry entry ID informatino that will be +/* This structure provides the registry entry ID information that will be * used to associate the USB class driver to a connected USB device. */ diff --git a/drivers/usbhost/usbhost_storage.c b/drivers/usbhost/usbhost_storage.c index 7c57371ee7..2a8a2e9611 100644 --- a/drivers/usbhost/usbhost_storage.c +++ b/drivers/usbhost/usbhost_storage.c @@ -257,7 +257,7 @@ static int usbhost_ioctl(FAR struct inode *inode, int cmd, * Private Data ****************************************************************************/ -/* This structure provides the registry entry ID informatino that will be +/* This structure provides the registry entry ID information that will be * used to associate the USB host mass storage class to a connected USB * device. */ diff --git a/graphics/nxglib/fb/nxglib_moverectangle.c b/graphics/nxglib/fb/nxglib_moverectangle.c index 7b64e13040..1535e64758 100644 --- a/graphics/nxglib/fb/nxglib_moverectangle.c +++ b/graphics/nxglib/fb/nxglib_moverectangle.c @@ -189,7 +189,7 @@ void NXGL_FUNCNAME(nxgl_moverectangle,NXGLIB_SUFFIX) /* Case 1: Is the destination position above the displayed position? * If the destination position is less then then the src address, then the - * destination is offset to a postion below (and or to the left) of the + * destination is offset to a position below (and or to the left) of the * source in framebuffer memory. */ diff --git a/libc/wqueue/work_thread.c b/libc/wqueue/work_thread.c index c0474ad692..ed26ca3ff8 100644 --- a/libc/wqueue/work_thread.c +++ b/libc/wqueue/work_thread.c @@ -233,7 +233,7 @@ static void work_process(FAR struct wqueue_s *wqueue) * These worker threads are started by the OS during normal bringup. * * work_usrthread: This is a user mode work queue. It must be built into - * the applicatino blob during the user phase of a kernel build. The + * the application blob during the user phase of a kernel build. The * user work thread will then automatically be started when the system * boots by calling through the pointer found in the header on the user * space blob. diff --git a/sched/task_reparent.c b/sched/task_reparent.c index d5c03b347a..8bd1f9767d 100644 --- a/sched/task_reparent.c +++ b/sched/task_reparent.c @@ -85,7 +85,7 @@ int task_reparent(pid_t ppid, pid_t chpid) irqstate_t flags; int ret; - /* Disable interrupts so that nothing can change in the relatinoship of + /* Disable interrupts so that nothing can change in the relationship of * the three task: Child, current parent, and new parent. */ @@ -217,7 +217,7 @@ int task_reparent(pid_t ppid, pid_t chpid) irqstate_t flags; int ret; - /* Disable interrupts so that nothing can change in the relatinoship of + /* Disable interrupts so that nothing can change in the relationship of * the three task: Child, current parent, and new parent. */ diff --git a/tools/configure.c b/tools/configure.c index 5f8fbdddc8..a17cf64960 100644 --- a/tools/configure.c +++ b/tools/configure.c @@ -80,7 +80,7 @@ static const char *g_boarddir = NULL; /* Name of board subdirectory */ static char *g_configdir = NULL; /* Name of configuration subdirectory */ static char *g_topdir = NULL; /* Full path to top-level NuttX build directory */ -static char *g_apppath = NULL; /* Full path to the applicatino directory */ +static char *g_apppath = NULL; /* Full path to the application directory */ static char *g_configtop = NULL; /* Full path to the top-level configuration directory */ static char *g_configpath = NULL; /* Full path to the configuration sub-directory */ static char *g_verstring = "0.0"; /* Version String */