Re: [patch 1/2] m68k: runtime patching infrastructure

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: Geert Uytterhoeven <geert@...>, Linus Torvalds <torvalds@...>, <linux-kernel@...>, <linux-m68k@...>, Roman Zippel <zippel@...>
Date: Sunday, June 3, 2007 - 11:56 am

On Tue, May 29, 2007 at 05:38:18PM -0700, Andrew Morton wrote:
[...]
[...]

Because otherwise you couldn't create linked lists:

struct foo {
  void* data;
  struct foo* next;
};

At that point it hasn't been defined yet but it is being used. This is
legal, so the compiler can't create a warning for that.

Which is not to say that it's a nice coding style, but that's a
different matter.

-- 
Shaw's Principle:
	Build a system that even a fool can use, and only a fool will
	want to use it.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 1/2] m68k: runtime patching infrastructure, Geert Uytterhoeven, (Mon May 28, 3:16 pm)
Re: [patch 1/2] m68k: runtime patching infrastructure, Andrew Morton, (Tue May 29, 8:38 pm)
Re: [patch 1/2] m68k: runtime patching infrastructure, Wouter Verhelst, (Sun Jun 3, 11:56 am)
Re: [patch 1/2] m68k: runtime patching infrastructure, Eric Dumazet, (Wed May 30, 1:48 am)
Re: [patch 1/2] m68k: runtime patching infrastructure, Geert Uytterhoeven, (Wed May 30, 3:06 am)
Re: [patch 1/2] m68k: runtime patching infrastructure, Linus Torvalds, (Wed May 30, 2:03 pm)
Re: [patch 1/2] m68k: runtime patching infrastructure, Joerg Dorchain, (Wed May 30, 4:20 am)
Re: [patch 1/2] m68k: runtime patching infrastructure, Geert Uytterhoeven, (Wed May 30, 7:19 am)
Re: [patch 1/2] m68k: runtime patching infrastructure, Joerg Dorchain, (Wed May 30, 7:40 am)
Re: [patch 1/2] m68k: runtime patching infrastructure, Andreas Schwab, (Wed May 30, 4:23 am)