[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080729164256.GA540@elte.hu>
Date: Tue, 29 Jul 2008 18:42:57 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
Stephen Rothwell <sfr@...b.auug.org.au>,
David Miller <davem@...emloft.net>, linux-next@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Mike Travis <travis@....com>
Subject: Re: linux-next: build failure
* Linus Torvalds <torvalds@...ux-foundation.org> wrote:
> In contrast, "address-of lvalue" is _guaranteed_ to not do anything
> stupid like that, and gives just the address-of.
>
> Oh, and I was wrong about the &*x losing the 'const'. It doesn't. So I
> think Stephen's patch is fine after all - if somebody tries to modify
> the end result through the pointer, it will give a big compiler
> warning.
yeah, both variants do that, i've checked it earlier today - i tried to
find a way to get something more drastic than a compiler warning. (but
failed)
Ingo
--
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