Skip to content

Commit

Permalink
Misc: Spell length correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Sherrill committed Jul 12, 2016
1 parent 665f03a commit 612297e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion c/src/lib/libbsp/arm/lpc176x/include/can.h
Expand Up @@ -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(
Expand Down
4 changes: 2 additions & 2 deletions c/src/lib/libbsp/arm/lpc176x/irq/irq.c
Expand Up @@ -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.
*/
Expand Down
2 changes: 1 addition & 1 deletion c/src/lib/libbsp/arm/shared/arm-l2c-310/cache_.h
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion c/src/lib/libbsp/arm/shared/armv467ar-basic-cache/cache_.h
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion c/src/lib/libbsp/lm32/shared/tsmac/tsmac.c
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion c/src/lib/libbsp/powerpc/haleakala/startup/linkcmds
Expand Up @@ -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.
*/

Expand Down
2 changes: 1 addition & 1 deletion c/src/lib/libbsp/powerpc/mpc8260ads/startup/linkcmds
Expand Up @@ -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.
*/

Expand Down
2 changes: 1 addition & 1 deletion cpukit/libfs/src/nfsclient/src/nfs.c
Expand Up @@ -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 {
Expand Down

0 comments on commit 612297e

Please sign in to comment.