From: Integral <integral@archlinuxcn.org>
To: kent.overstreet@gmail.com, kent.overstreet@linux.dev,
lihongbo22@huawei.com
Cc: mmpgouride@gmail.com, linux-bcachefs@vger.kernel.org,
integral@archlinuxcn.org
Subject: [PATCH] Fix build failure on liburcu v0.15.0
Date: Sun, 29 Dec 2024 12:06:07 +0800 [thread overview]
Message-ID: <20241229040607.159965-1-integral@archlinuxcn.org> (raw)
After upgrading liburcu to v0.15.0, bcachefs-tools failed to build. This patch
fixes build errors on liburcu v0.15.0.
Signed-off-by: Integral <integral@archlinuxcn.org>
---
include/linux/atomic.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/atomic.h b/include/linux/atomic.h
index f7b2619a..128f21f6 100644
--- a/include/linux/atomic.h
+++ b/include/linux/atomic.h
@@ -188,12 +188,12 @@ static inline i_type a_type##_read_acquire(const a_type##_t *v) \
\
static inline void a_type##_set(a_type##_t *v, i_type i) \
{ \
- return __ATOMIC_SET(&v->counter, i); \
+ __ATOMIC_SET(&v->counter, i); \
} \
\
static inline void a_type##_set_release(a_type##_t *v, i_type i) \
{ \
- return __ATOMIC_SET_RELEASE(&v->counter, i); \
+ __ATOMIC_SET_RELEASE(&v->counter, i); \
} \
\
static inline i_type a_type##_add_return(i_type i, a_type##_t *v) \
--
2.47.1
next reply other threads:[~2024-12-29 4:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-29 4:06 Integral [this message]
2024-12-29 14:40 ` [PATCH] Fix build failure on liburcu v0.15.0 Kent Overstreet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241229040607.159965-1-integral@archlinuxcn.org \
--to=integral@archlinuxcn.org \
--cc=kent.overstreet@gmail.com \
--cc=kent.overstreet@linux.dev \
--cc=lihongbo22@huawei.com \
--cc=linux-bcachefs@vger.kernel.org \
--cc=mmpgouride@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox