Re: [Announce] Linux-tiny project revival

Bernd Petrovitsch
2007-09-28T08:39:31Z

On Fre, 2007-09-28 at 00:21 +0200, Arnd Bergmann wrote:
> On Thursday 27 September 2007, you wrote:
> > > Then you don't have to change every single printk in the kernel, but
> > > only those that don't currently come with a log level. More importantly,
> > > you can do the conversion without a flag day, by spreading (an empty)
> > > PRINTK_CONTINUED in places that do need a printk without a log level.
> >
> > The problem is, how do you know whether to print a continued printk or not?
> > It depends on the loglevel of the first printk.
>
> Those need to be looked at individually. You can normally see easily from

If think you misunderstood:
Say, you compile out everything of DEBUG level.
Say, you have a continued printk() after each and every pr_debug().

Then how is the macro supposed to know (at compile-time) that the
continued printk() actually belongs to a DEBUG printk (and not another
one)?

Bernd
--
Firmix Software GmbH http://www.firmix.at/
mobil: +43 664 4416156 fax: +43 1 7890849-55
Embedded Linux Development and Services