Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f045978 authored by Philipp Hahn's avatar Philipp Hahn Committed by Jiri Kosina
Browse files

atomic64_32.h: fix parameter naming mismatch



The doc string doesn't match the parameter name, fix
@p -> @v
@ptr -> @v
@n -> @i

Signed-off-by: default avatarPhilipp Hahn <hahn@univention.de>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent d132d7f6
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ ATOMIC64_DECL(add_unless);

/**
 * atomic64_cmpxchg - cmpxchg atomic64 variable
 * @p: pointer to type atomic64_t
 * @v: pointer to type atomic64_t
 * @o: expected value
 * @n: new value
 *
@@ -98,7 +98,7 @@ static inline long long atomic64_xchg(atomic64_t *v, long long n)
/**
 * atomic64_set - set atomic64 variable
 * @v: pointer to type atomic64_t
 * @n: value to assign
 * @i: value to assign
 *
 * Atomically sets the value of @v to @n.
 */
@@ -224,9 +224,9 @@ static inline void atomic64_inc(atomic64_t *v)

/**
 * atomic64_dec - decrement atomic64 variable
 * @ptr: pointer to type atomic64_t
 * @v: pointer to type atomic64_t
 *
 * Atomically decrements @ptr by 1.
 * Atomically decrements @v by 1.
 */
static inline void atomic64_dec(atomic64_t *v)
{