summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-07-12 05:44:17 -0500
committerJoel Sherrill <joel@rtems.org>2016-07-12 05:44:17 -0500
commit612297e813795d6f8c09d8b8a5e1dfa712ad3d9d (patch)
tree77808013ec7ef5612e190a7af80e4d9e1cb88fbe
parentDOSFS - LENGHT -> LENGTH (diff)
downloadrtems-612297e813795d6f8c09d8b8a5e1dfa712ad3d9d.tar.bz2
Misc: Spell length correctly
-rwxr-xr-xc/src/lib/libbsp/arm/lpc176x/include/can.h2
-rw-r--r--c/src/lib/libbsp/arm/lpc176x/irq/irq.c4
-rw-r--r--c/src/lib/libbsp/arm/shared/arm-l2c-310/cache_.h2
-rw-r--r--c/src/lib/libbsp/arm/shared/armv467ar-basic-cache/cache_.h2
-rw-r--r--c/src/lib/libbsp/lm32/shared/tsmac/tsmac.c2
-rw-r--r--c/src/lib/libbsp/powerpc/haleakala/startup/linkcmds2
-rw-r--r--c/src/lib/libbsp/powerpc/mpc8260ads/startup/linkcmds2
-rw-r--r--cpukit/libfs/src/nfsclient/src/nfs.c2
8 files changed, 9 insertions, 9 deletions
diff --git a/c/src/lib/libbsp/arm/lpc176x/include/can.h b/c/src/lib/libbsp/arm/lpc176x/include/can.h
index c323608da2..7515ec2f53 100755
--- a/c/src/lib/libbsp/arm/lpc176x/include/can.h
+++ b/c/src/lib/libbsp/arm/lpc176x/include/can.h
@@ -162,7 +162,7 @@ rtems_status_code can_register_isr(
* @param msg The created message.
* @param _id The can id for the message.
* @param _data The data of the message.
- * @param _len The lenght of the message.
+ * @param _len The length of the message.
* @return RTEMS_SUCCESFUL if created, RTEMS_INVALID_NUMBER otherwise.
*/
rtems_status_code create_can_message(
diff --git a/c/src/lib/libbsp/arm/lpc176x/irq/irq.c b/c/src/lib/libbsp/arm/lpc176x/irq/irq.c
index 2fdc0d51e2..e05fd59e6c 100644
--- a/c/src/lib/libbsp/arm/lpc176x/irq/irq.c
+++ b/c/src/lib/libbsp/arm/lpc176x/irq/irq.c
@@ -30,9 +30,9 @@
#include <bsp/linker-symbols.h>
/**
- * @brief Checks if the current interrupt vector lenght is valid or not.
+ * @brief Checks if the current interrupt vector length is valid or not.
*
- * @param vector The current interrupt vector lenght .
+ * @param vector The current interrupt vector length.
* @return TRUE if valid.
* FALSE otherwise.
*/
diff --git a/c/src/lib/libbsp/arm/shared/arm-l2c-310/cache_.h b/c/src/lib/libbsp/arm/shared/arm-l2c-310/cache_.h
index e83b55cfa6..f7017b7688 100644
--- a/c/src/lib/libbsp/arm/shared/arm-l2c-310/cache_.h
+++ b/c/src/lib/libbsp/arm/shared/arm-l2c-310/cache_.h
@@ -73,7 +73,7 @@ extern "C" {
#define CPU_DATA_CACHE_ALIGNMENT ARM_CACHE_L1_CPU_DATA_ALIGNMENT
#define CPU_INSTRUCTION_CACHE_ALIGNMENT ARM_CACHE_L1_CPU_INSTRUCTION_ALIGNMENT
#if defined(__ARM_ARCH_7A__)
-/* Some/many ARM Cortex-A cores have L1 data line lenght 64 bytes */
+/* Some/many ARM Cortex-A cores have L1 data line length 64 bytes */
#define CPU_MAXIMAL_CACHE_ALIGNMENT 64
#endif
#define CPU_CACHE_SUPPORT_PROVIDES_RANGE_FUNCTIONS \
diff --git a/c/src/lib/libbsp/arm/shared/armv467ar-basic-cache/cache_.h b/c/src/lib/libbsp/arm/shared/armv467ar-basic-cache/cache_.h
index efca2bb24e..c6e1f834d7 100644
--- a/c/src/lib/libbsp/arm/shared/armv467ar-basic-cache/cache_.h
+++ b/c/src/lib/libbsp/arm/shared/armv467ar-basic-cache/cache_.h
@@ -29,7 +29,7 @@
#define CPU_DATA_CACHE_ALIGNMENT 32
#define CPU_INSTRUCTION_CACHE_ALIGNMENT 32
#if defined(__ARM_ARCH_7A__)
-/* Some/many ARM Cortex-A cores have L1 data line lenght 64 bytes */
+/* Some/many ARM Cortex-A cores have L1 data line length 64 bytes */
#define CPU_MAXIMAL_CACHE_ALIGNMENT 64
#endif
diff --git a/c/src/lib/libbsp/lm32/shared/tsmac/tsmac.c b/c/src/lib/libbsp/lm32/shared/tsmac/tsmac.c
index 2850653fc4..6f9fd443ec 100644
--- a/c/src/lib/libbsp/lm32/shared/tsmac/tsmac.c
+++ b/c/src/lib/libbsp/lm32/shared/tsmac/tsmac.c
@@ -249,7 +249,7 @@ static void tsmac_rxDaemon(void *arg)
if (rxq == 0)
break;
- /* Get lenght of frame */
+ /* Get length of frame */
len = tsmacread(LM32_TSMAC_RX_LEN_FIFO);
#ifdef DEBUG
printk(TSMAC_NAME ": Frames %d, len 0x%04x (%d)\n",
diff --git a/c/src/lib/libbsp/powerpc/haleakala/startup/linkcmds b/c/src/lib/libbsp/powerpc/haleakala/startup/linkcmds
index bed8580827..2be24329f8 100644
--- a/c/src/lib/libbsp/powerpc/haleakala/startup/linkcmds
+++ b/c/src/lib/libbsp/powerpc/haleakala/startup/linkcmds
@@ -77,7 +77,7 @@ SECTIONS
/*
* C++ constructors and destructors for static objects.
* PowerPC EABI does not use crtstuff yet, so we build "old-style"
- * constructor and destructor lists that begin with the list lenght
+ * constructor and destructor lists that begin with the list length
* end terminate with a NULL entry.
*/
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/linkcmds b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/linkcmds
index de52e4664a..e3dc118f12 100644
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/startup/linkcmds
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/startup/linkcmds
@@ -95,7 +95,7 @@ SECTIONS
/*
* C++ constructors and destructors for static objects.
* PowerPC EABI does not use crtstuff yet, so we build "old-style"
- * constructor and destructor lists that begin with the list lenght
+ * constructor and destructor lists that begin with the list length
* end terminate with a NULL entry.
*/
diff --git a/cpukit/libfs/src/nfsclient/src/nfs.c b/cpukit/libfs/src/nfsclient/src/nfs.c
index 17a726dfdf..1f6486fa17 100644
--- a/cpukit/libfs/src/nfsclient/src/nfs.c
+++ b/cpukit/libfs/src/nfsclient/src/nfs.c
@@ -249,7 +249,7 @@ typedef struct strbuf {
/* Read 'readlink' results into a 'strbuf'.
* This is convenient as it avoids
- * one extra step of copying / lenght
+ * one extra step of copying / length
* checking.
*/
typedef struct readlinkres_strbuf {