[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.1.10.0810112146400.1984@ftp.linux-mips.org>
Date: Sat, 11 Oct 2008 21:52:18 +0100 (BST)
From: "Maciej W. Rozycki" <macro@...ux-mips.org>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
mingo@...e.hu, torvalds@...ux-foundation.org
Subject: Re: Looks broken to me: x86, cyrix: debug
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists