From 1f67dfb1438e74e5258786d4a769084354fd375b Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Wed, 19 Jun 2024 22:32:54 +0200 Subject: [PATCH] lib: fix typo in rcu_do() I lost an underscore somewhere along the way. Which never caused issues because we don't use that function macro. It is, however, useful for testing, so fix it. Signed-off-by: David Lamparter --- lib/frrcu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/frrcu.h b/lib/frrcu.h index 9f07a69b52..81ab5528a9 100644 --- a/lib/frrcu.h +++ b/lib/frrcu.h @@ -156,7 +156,7 @@ extern void rcu_enqueue(struct rcu_head *head, const struct rcu_action *action); #define rcu_call(func, ptr, field) \ do { \ typeof(ptr) _ptr = (ptr); \ - void (*fptype)(typeof(ptr)); \ + void (*_fptype)(typeof(ptr)); \ struct rcu_head *_rcu_head = &_ptr->field; \ static const struct rcu_action _rcu_action = { \ .type = RCUA_CALL, \