Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] rcu_cmpxchg_pointer() documentation patch
@ 2024-07-04 17:33 Ondřej Surý via lttng-dev
  2024-07-04 18:04 ` Mathieu Desnoyers via lttng-dev
  0 siblings, 1 reply; 2+ messages in thread
From: Ondřej Surý via lttng-dev @ 2024-07-04 17:33 UTC (permalink / raw)
  To: lttng-dev

[-- Attachment #1: Type: text/plain, Size: 193 bytes --]

Hi,

looks like my git-send-email configuration is not correct and my mailserver ate the patch,
so here's one created by git-format-patch...

Nothing important, but it bite me today...


[-- Attachment #2: 0001-pointer.h-Fix-the-rcu_cmpxchg_pointer-documentation.patch --]
[-- Type: application/octet-stream, Size: 1057 bytes --]

From 062021e4540888a2095966393c48c55b7ddd441f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= <ondrej@sury.org>
Date: Thu, 4 Jul 2024 10:29:10 +0200
Subject: [PATCH] pointer.h: Fix the rcu_cmpxchg_pointer documentation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Fix the description of rcu_cmpxchg_pointer() function that had switched
new and old pointers.

Signed-off-by: Ondřej Surý <ondrej@sury.org>
---
 include/urcu/pointer.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/urcu/pointer.h b/include/urcu/pointer.h
index cc9aeae..7a673d6 100644
--- a/include/urcu/pointer.h
+++ b/include/urcu/pointer.h
@@ -33,7 +33,7 @@ extern "C" {
 #define rcu_dereference		_rcu_dereference
 
 /*
- * type *rcu_cmpxchg_pointer(type **ptr, type *new, type *old)
+ * type *rcu_cmpxchg_pointer(type **ptr, type *old, type *new)
  * type *rcu_xchg_pointer(type **ptr, type *new)
  * void rcu_set_pointer(type **ptr, type *new)
  *
-- 
2.39.2


[-- Attachment #3: Type: text/plain, Size: 59 bytes --]



Ondrej
--
Ondřej Surý (He/Him)
ondrej@sury.org


[-- Attachment #4: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [lttng-dev] rcu_cmpxchg_pointer() documentation patch
  2024-07-04 17:33 [lttng-dev] rcu_cmpxchg_pointer() documentation patch Ondřej Surý via lttng-dev
@ 2024-07-04 18:04 ` Mathieu Desnoyers via lttng-dev
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers via lttng-dev @ 2024-07-04 18:04 UTC (permalink / raw)
  To: Ondřej Surý, lttng-dev

On 2024-07-04 13:33, Ondřej Surý via lttng-dev wrote:
> Hi,
> 
> looks like my git-send-email configuration is not correct and my 
> mailserver ate the patch,
> so here's one created by git-format-patch...
> 
> Nothing important, but it bite me today...

Merged into master, stable-0.14, stable-0.13, thanks!

Mathieu

> 
> 
> 
> Ondrej
> --
> Ondřej Surý (He/Him)
> ondrej@sury.org
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev@lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev 
> <https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev>

-- 
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-04 18:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-04 17:33 [lttng-dev] rcu_cmpxchg_pointer() documentation patch Ondřej Surý via lttng-dev
2024-07-04 18:04 ` Mathieu Desnoyers via lttng-dev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox