All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Maciej W. Rozycki" <macro@linux-mips.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	mingo@elte.hu, torvalds@linux-foundation.org
Subject: Re: Looks broken to me: x86, cyrix: debug
Date: Sat, 11 Oct 2008 21:52:18 +0100 (BST)	[thread overview]
Message-ID: <alpine.LFD.1.10.0810112146400.1984@ftp.linux-mips.org> (raw)
In-Reply-To: <20081011214043.283a3330@lxorguk.ukuu.org.uk>

On Sat, 11 Oct 2008, Alan Cox wrote:

> > +#define getCx86_old(reg) ({ outb((reg), 0x22); inb(0x23); })
> 
> Doesn't expand to any kind of returned value.

 Well, actually it returns the value of the inb() expression -- cf the 
semantics of compound statements.  The rest looks suspicious indeed.

  Maciej

  reply	other threads:[~2008-10-11 20:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200810112003.m9BK3Wwu025556@hera.kernel.org>
2008-10-11 20:40 ` Looks broken to me: x86, cyrix: debug Alan Cox
2008-10-11 20:52   ` Maciej W. Rozycki [this message]
2008-10-11 20:58     ` Ingo Molnar
2008-10-11 22:48       ` Willy Tarreau
2008-10-11 22:55         ` Maciej W. Rozycki

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=alpine.LFD.1.10.0810112146400.1984@ftp.linux-mips.org \
    --to=macro@linux-mips.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=torvalds@linux-foundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.