Merged,
Maxim.

On 10/25/16 04:55, Bill Fischofer wrote:


On Mon, Oct 24, 2016 at 2:02 AM, <forrest....@linaro.org <mailto:forrest....@linaro.org>> wrote:

    From: Xuelin Shi <forrest....@linaro.org
    <mailto:forrest....@linaro.org>>

    ISO C does not allow extra ‘;’ outside of a function.

    Signed-off-by: Xuelin Shi <forrest....@linaro.org
    <mailto:forrest....@linaro.org>>


Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org <mailto:bill.fischo...@linaro.org>>

    ---
     platform/linux-generic/include/odp/api/plat/atomic_types.h | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git
    a/platform/linux-generic/include/odp/api/plat/atomic_types.h
    b/platform/linux-generic/include/odp/api/plat/atomic_types.h
    index 3bb2bbd..33a0565 100644
    --- a/platform/linux-generic/include/odp/api/plat/atomic_types.h
    +++ b/platform/linux-generic/include/odp/api/plat/atomic_types.h
    @@ -32,7 +32,7 @@ struct odp_atomic_u64_s {
             * data types. We use a spin lock to ensure atomicity. */
            char lock; /**< Spin lock (if needed) used to ensure
    atomic access */
     #endif
    -} ODP_ALIGNED(sizeof(uint64_t)); /* Enforce alignement! */;
    +} ODP_ALIGNED(sizeof(uint64_t)); /* Enforce alignement! */

     /**
      * @internal
    @@ -40,7 +40,7 @@ struct odp_atomic_u64_s {
      */
     struct odp_atomic_u32_s {
            uint32_t v; /**< Actual storage for the atomic variable */
    -} ODP_ALIGNED(sizeof(uint32_t)); /* Enforce alignement! */;
    +} ODP_ALIGNED(sizeof(uint32_t)); /* Enforce alignement! */

     #if __GCC_ATOMIC_LLONG_LOCK_FREE < 2

    --
    2.7.4



Reply via email to