From 0212410187f5d6293ad6cac97694bc005e3d7b8f Mon Sep 17 00:00:00 2001 From: Sergey Oblomov Date: Tue, 10 Jul 2018 10:13:40 +0300 Subject: [PATCH] OSHMEM/ATOMICS: fixed comments errors Signed-off-by: Sergey Oblomov --- oshmem/mca/atomic/atomic.h | 2 +- oshmem/shmem/c/shmem_and.c | 2 +- oshmem/shmem/c/shmem_fand.c | 2 +- oshmem/shmem/c/shmem_for.c | 2 +- oshmem/shmem/c/shmem_fxor.c | 2 +- oshmem/shmem/c/shmem_or.c | 2 +- oshmem/shmem/c/shmem_xor.c | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/oshmem/mca/atomic/atomic.h b/oshmem/mca/atomic/atomic.h index 017c526420..8d81c386a7 100644 --- a/oshmem/mca/atomic/atomic.h +++ b/oshmem/mca/atomic/atomic.h @@ -53,7 +53,7 @@ BEGIN_C_DECLS pe)); \ RUNTIME_CHECK_RC(rc); \ \ - return ; \ + return; \ } #define OSHMEM_TYPE_FOP(type_name, type, prefix, op) \ diff --git a/oshmem/shmem/c/shmem_and.c b/oshmem/shmem/c/shmem_and.c index f90231c927..cdb5174266 100644 --- a/oshmem/shmem/c/shmem_and.c +++ b/oshmem/shmem/c/shmem_and.c @@ -19,7 +19,7 @@ /* * These routines perform an atomic 'and' operation. - * The atomic 'and' routines cwoperates 'and' value to the data at address target on PE pe. + * The atomic 'and' routines operates 'and' value to the data at address target on PE pe. * The operation must be completed without the possibility of another process updating * target between the time of the fetch and the update. */ diff --git a/oshmem/shmem/c/shmem_fand.c b/oshmem/shmem/c/shmem_fand.c index a26babb0f3..8c68eeb09f 100644 --- a/oshmem/shmem/c/shmem_fand.c +++ b/oshmem/shmem/c/shmem_fand.c @@ -22,7 +22,7 @@ * These routines perform an atomic fetch-and-and operation. * The fetch and and routines retrieve the value at address target on PE pe, and update * target with the result of 'and' operation value to the retrieved value. The operation - * must be completed * without the possibility of another process updating target between + * must be completed without the possibility of another process updating target between * the time of the fetch and the update. */ #if OSHMEM_PROFILING diff --git a/oshmem/shmem/c/shmem_for.c b/oshmem/shmem/c/shmem_for.c index a487320bfc..dbc0905693 100644 --- a/oshmem/shmem/c/shmem_for.c +++ b/oshmem/shmem/c/shmem_for.c @@ -22,7 +22,7 @@ * These routines perform an atomic fetch-and-or operation. * The fetch and or routines retrieve the value at address target on PE pe, and update * target with the result of 'or' operation value to the retrieved value. The operation - * must be completed * without the possibility of another process updating target between + * must be completed without the possibility of another process updating target between * the time of the fetch and the update. */ #if OSHMEM_PROFILING diff --git a/oshmem/shmem/c/shmem_fxor.c b/oshmem/shmem/c/shmem_fxor.c index ba43ad3ef8..193b0a6308 100644 --- a/oshmem/shmem/c/shmem_fxor.c +++ b/oshmem/shmem/c/shmem_fxor.c @@ -22,7 +22,7 @@ * These routines perform an atomic fetch-and-xor operation. * The fetch and xor routines retrieve the value at address target on PE pe, and update * target with the result of 'xor' operation value to the retrieved value. The operation - * must be completed * without the possibility of another process updating target between + * must be completed without the possibility of another process updating target between * the time of the fetch and the update. */ #if OSHMEM_PROFILING diff --git a/oshmem/shmem/c/shmem_or.c b/oshmem/shmem/c/shmem_or.c index c973c4d539..96e46045bf 100644 --- a/oshmem/shmem/c/shmem_or.c +++ b/oshmem/shmem/c/shmem_or.c @@ -19,7 +19,7 @@ /* * These routines perform an atomic 'or' operation. - * The atomic 'or' routines cwoperates 'or' value to the data at address target on PE pe. + * The atomic 'or' routines operates 'or' value to the data at address target on PE pe. * The operation must be completed without the possibility of another process updating * target between the time of the fetch or the update. */ diff --git a/oshmem/shmem/c/shmem_xor.c b/oshmem/shmem/c/shmem_xor.c index fc2832c29c..806e7d00e8 100644 --- a/oshmem/shmem/c/shmem_xor.c +++ b/oshmem/shmem/c/shmem_xor.c @@ -19,7 +19,7 @@ /* * These routines perform an atomic 'xor' operation. - * The atomic 'xor' routines cwoperates 'xor' value to the data at address target on PE pe. + * The atomic 'xor' routines operates 'xor' value to the data at address target on PE pe. * The operation must be completed without the possibility of another process updating * target between the time of the fetch xor the update. */