From: Ben Pfaff Date: Fri, 12 Jun 2015 17:58:27 +0000 (-0700) Subject: ovs-rcu: Comment fixes. X-Git-Tag: v2.4.0~98 X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fovs.git;a=commitdiff_plain;h=be9d0de7a40459507b0620bc7bc352f7b6b0942d ovs-rcu: Comment fixes. A comment referred to a "Usage" section but the section was named "Use". This fixes the problem (also a grammar error). Signed-off-by: Ben Pfaff Acked-by: Alex Wang --- diff --git a/lib/ovs-rcu.h b/lib/ovs-rcu.h index c1e3d6061..5cd41528c 100644 --- a/lib/ovs-rcu.h +++ b/lib/ovs-rcu.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 Nicira, Inc. + * Copyright (c) 2014, 2015 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -80,8 +80,8 @@ * All functions postponed by a single thread are guaranteed to execute in the * order they were postponed, however. * - * Use - * --- + * Usage + * ----- * * Use OVSRCU_TYPE(TYPE) to declare a pointer to RCU-protected data, e.g. the * following declares an RCU-protected "struct flow *" named flowp: @@ -204,7 +204,7 @@ static inline void ovsrcu_set__(struct ovsrcu_pointer *pointer, #define ovsrcu_init(VAR, VALUE) atomic_init(&(VAR)->p, VALUE) /* Calls FUNCTION passing ARG as its pointer-type argument following the next - * grace period. See "Usage" above for example. */ + * grace period. See "Usage" above for an example. */ void ovsrcu_postpone__(void (*function)(void *aux), void *aux); #define ovsrcu_postpone(FUNCTION, ARG) \ ((void) sizeof((FUNCTION)(ARG), 1), \