[PATCH] Spelling and grammar fixes in source code comments

Joel Sherrill joel at rtems.org
Tue Dec 4 21:15:08 UTC 2018


Good eye!

Thanks. Pushed.

On Tue, Dec 4, 2018 at 2:10 PM Marçal Comajoan Cara <mcomajoancara at gmail.com>
wrote:

> This work was part of GCI 2018.
> ---
>  bsps/i386/pc386/start/README-SMP                  | 2 +-
>  bsps/powerpc/shared/exceptions/ppc_exc_address.c  | 2 +-
>  bsps/sparc/leon3/start/bspclean.c                 | 2 +-
>  cpukit/include/rtems/confdefs.h                   | 4 ++--
>  cpukit/include/rtems/rtems/mainpage.h             | 4 ++--
>  cpukit/include/rtems/rtl/rtl.h                    | 4 ++--
>  cpukit/libfs/src/defaults/default_rename.c        | 2 +-
>  cpukit/libfs/src/dosfs/msdos_format.c             | 2 +-
>  cpukit/libi2c/README_libi2c                       | 2 +-
>  cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h | 2 +-
>  testsuites/smptests/smpmutex01/init.c             | 2 +-
>  11 files changed, 14 insertions(+), 14 deletions(-)
>
> diff --git a/bsps/i386/pc386/start/README-SMP
> b/bsps/i386/pc386/start/README-SMP
> index df2e729456..dd6de52b0d 100644
> --- a/bsps/i386/pc386/start/README-SMP
> +++ b/bsps/i386/pc386/start/README-SMP
> @@ -1,7 +1,7 @@
>  The following files were developed by  Erich Boleyn  <erich at uruk.org>.
>  The original files were copied from http://www.uruk.org/mps/ and
> committed
>  into cvs as is.  These files will be modified for RTEMS smp support,
> -but the original files are being commited in order to track any file
> +but the original files are being committed in order to track any file
>  changes that occur.  We are attempting to keep these changes as minimal
>  and conainted as possible.
>
> diff --git a/bsps/powerpc/shared/exceptions/ppc_exc_address.c
> b/bsps/powerpc/shared/exceptions/ppc_exc_address.c
> index fc944177a8..08a5433641 100644
> --- a/bsps/powerpc/shared/exceptions/ppc_exc_address.c
> +++ b/bsps/powerpc/shared/exceptions/ppc_exc_address.c
> @@ -31,7 +31,7 @@
>  #include <bsp/vectors.h>
>
>  /*
> - * XXX: These values are choosen to directly generate the vector offsets
> for an
> + * XXX: These values are chosen to directly generate the vector offsets
> for an
>   * e200z1 which has hard wired IVORs (IVOR0=0x00, IVOR1=0x10, IVOR2=0x20,
> ...).
>   */
>  static const uint8_t ivor_values [] = {
> diff --git a/bsps/sparc/leon3/start/bspclean.c
> b/bsps/sparc/leon3/start/bspclean.c
> index eff9c8635b..7d5448fdb3 100644
> --- a/bsps/sparc/leon3/start/bspclean.c
> +++ b/bsps/sparc/leon3/start/bspclean.c
> @@ -44,7 +44,7 @@ void bsp_fatal_extension(
>
>      if (irqmp != NULL) {
>        /*
> -       * Value was choosen to get something in the magnitude of 1ms on a
> 200MHz
> +       * Value was chosen to get something in the magnitude of 1ms on a
> 200MHz
>         * processor.
>         */
>        uint32_t max_wait = 1234567;
> diff --git a/cpukit/include/rtems/confdefs.h
> b/cpukit/include/rtems/confdefs.h
> index e884289e2c..d66e23e0ab 100644
> --- a/cpukit/include/rtems/confdefs.h
> +++ b/cpukit/include/rtems/confdefs.h
> @@ -1129,7 +1129,7 @@ extern rtems_initialization_tasks_table
> Initialization_tasks[];
>   *
>   * @addtogroup Configuration
>   *
> - * This module contains parameters related to thread aand interrupt
> stacks.
> + * This module contains parameters related to thread and interrupt stacks.
>   */
>
>  /**
> @@ -1523,7 +1523,7 @@ extern rtems_initialization_tasks_table
> Initialization_tasks[];
>   * Table.
>   *
>   * Default Device Driver Table.  Each driver needed by the test is
> explicitly
> - * choosen by the application.  There is always a null driver entry.
> + * chosen by the application.  There is always a null driver entry.
>   */
>  /**@{*/
>
> diff --git a/cpukit/include/rtems/rtems/mainpage.h
> b/cpukit/include/rtems/rtems/mainpage.h
> index e2d51328cf..8a6ddbb8ad 100644
> --- a/cpukit/include/rtems/rtems/mainpage.h
> +++ b/cpukit/include/rtems/rtems/mainpage.h
> @@ -359,7 +359,7 @@
>   * Since memory is a critical resource in many real-time embedded systems,
>   * RTEMS was specifically designed to automatically leave out all
> services that
>   * are not required from the run-time environment. Features such as
> networking,
> - * various fileystems, and many other features are completely optional.
> This
> + * various filesystems, and many other features are completely optional.
> This
>   * allows the application designer the flexibility to tailor RTEMS to most
>   * efficiently meet system requirements while still satisfying even the
> most
>   * stringent memory constraints. As a result, the size of the RTEMS
> executive
> @@ -502,7 +502,7 @@
>   * </table>
>   *
>   * The 16-bit format is designed to be as similar as possible to the
> 32-bit
> - * format. The differences are limited to the eliminatation of the node
> field
> + * format. The differences are limited to the elimination of the node
> field
>   * and reduction of the index field from 16-bits to 8-bits.  Thus the
> 16-bit
>   * format only supports up to 255 object instances per API/Class
> combination
>   * and single processor systems. As this format is typically utilized by
> 16-bit
> diff --git a/cpukit/include/rtems/rtl/rtl.h
> b/cpukit/include/rtems/rtl/rtl.h
> index 398ac2cd3f..41cb010ef4 100644
> --- a/cpukit/include/rtems/rtl/rtl.h
> +++ b/cpukit/include/rtems/rtl/rtl.h
> @@ -42,12 +42,12 @@ extern "C" {
>   * dlclose family of functions.
>   *
>   * The runtime link editor is different to that found on Unix type
> systems. The
> - * object modules are compiled for PIC or position indepentent code and
> + * object modules are compiled for PIC or position independent code and
>   * therefore require relocating when loaded.
>   *
>   * The object file format is currently ELF and object files can be
> separate
>   * files or in an archive. Object files in an archive are referenced by
> - * specifing 'archive:object' format. For example 'libfoo.a:bar.o'.
> + * specifying 'archive:object' format. For example 'libfoo.a:bar.o'.
>   */
>
>  /**
> diff --git a/cpukit/libfs/src/defaults/default_rename.c
> b/cpukit/libfs/src/defaults/default_rename.c
> index e4be4637ec..edaef54e58 100644
> --- a/cpukit/libfs/src/defaults/default_rename.c
> +++ b/cpukit/libfs/src/defaults/default_rename.c
> @@ -1,7 +1,7 @@
>  /**
>   * @file
>   *
> - * @brief RTESM Default File System Rename Files
> + * @brief RTEMS Default File System Rename Files
>   * @ingroup LibIOFSOps File System Operations
>   */
>
> diff --git a/cpukit/libfs/src/dosfs/msdos_format.c
> b/cpukit/libfs/src/dosfs/msdos_format.c
> index 2643e16bd0..42f1d74575 100644
> --- a/cpukit/libfs/src/dosfs/msdos_format.c
> +++ b/cpukit/libfs/src/dosfs/msdos_format.c
> @@ -574,7 +574,7 @@ static int msdos_format_determine_fmt_params
>      fmt_params->sectors_per_cluster = 1;
>      /*
>       * limiting values for disk size, fat type, sectors per cluster
> -     * NOTE: maximum sect_per_clust is arbitrarily choosen with values
> that
> +     * NOTE: maximum sect_per_clust is arbitrarily chosen with values that
>       * are a compromise concerning capacity and efficency
>       */
>      uint32_t fat12_sect_per_clust = 8;
> diff --git a/cpukit/libi2c/README_libi2c b/cpukit/libi2c/README_libi2c
> index 18de89da2a..e2b4013ed7 100644
> --- a/cpukit/libi2c/README_libi2c
> +++ b/cpukit/libi2c/README_libi2c
> @@ -224,7 +224,7 @@ rtems_libi2c_drv_t data structure passed the libi2c
> when the device is
>  registered (see "Device registration" above). These function directly
> match
>  the RTEMS I/O Mangers calls "open", "close", "read", "write",
>  "control", and they are passed the same arguments. Functions not
> -needed may be ommited (and replaced by a NULL pointer in
> +needed may be omited (and replaced by a NULL pointer in
>  rtems_libi2c_drv_t).
>
>  ======================================================================
> diff --git a/cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h
> b/cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h
> index a9294d02a2..7ab09d990e 100644
> --- a/cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h
> +++ b/cpukit/score/cpu/no_cpu/include/rtems/score/cpu.h
> @@ -437,7 +437,7 @@ extern Context_Control_fp _CPU_Null_fp_context;
>   * by hardware or the interrupt processing code.  These variables contain
>   * pointers to the lowest and highest addresses in the chunk of memory
>   * allocated for the interrupt stack.  Since it is unknown whether the
> stack
> - * grows up or down (in general), this give the CPU dependent code the
> option
> + * grows up or down (in general), this gives the CPU dependent code the
> option
>   * of picking the version it wants to use.
>   *
>   * Port Specific Information:
> diff --git a/testsuites/smptests/smpmutex01/init.c
> b/testsuites/smptests/smpmutex01/init.c
> index 91c0014a63..37f3bf1e50 100644
> --- a/testsuites/smptests/smpmutex01/init.c
> +++ b/testsuites/smptests/smpmutex01/init.c
> @@ -30,7 +30,7 @@ const char rtems_test_name[] = "SMPMUTEX 1";
>
>  #define PRIO_NONE 0
>
> -/* Value choosen for Qemu, 2 would be sufficient for real targets */
> +/* Value chosen for Qemu, 2 would be sufficient for real targets */
>  #define TIMEOUT_IN_TICKS 10
>
>  typedef enum {
> --
> 2.17.1
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20181204/e5b2ca52/attachment-0002.html>


More information about the devel mailing list