mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Al Viro <viro@ftp.linux.org.uk>
To: linux-kernel@vger.kernel.org
Subject: [PATCH 5/8] v850: cast xchg() to void in set_rmb()
Date: Wed, 08 Feb 2006 20:01:58 +0000	[thread overview]
Message-ID: <E1F6vVm-0008Bz-L4@ZenIV.linux.org.uk> (raw)

Date: 1135880405 -0500

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

---

 include/asm-v850/system.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

00e007cf433f2b768ab095fe62fd2a2a74eebecc
diff --git a/include/asm-v850/system.h b/include/asm-v850/system.h
index 107decb..cda8fa6 100644
--- a/include/asm-v850/system.h
+++ b/include/asm-v850/system.h
@@ -68,7 +68,7 @@ static inline int irqs_disabled (void)
 #define rmb()			mb ()
 #define wmb()			mb ()
 #define read_barrier_depends()	((void)0)
-#define set_rmb(var, value)	do { xchg (&var, value); } while (0)
+#define set_rmb(var, value)	do { (void)xchg (&var, value); } while (0)
 #define set_mb(var, value)	set_rmb (var, value)
 #define set_wmb(var, value)	do { var = value; wmb (); } while (0)
 
-- 
0.99.9.GIT


                 reply	other threads:[~2006-02-08 20:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=E1F6vVm-0008Bz-L4@ZenIV.linux.org.uk \
    --to=viro@ftp.linux.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®