All of lore.kernel.org
 help / color / mirror / Atom feed
* printk
@ 2001-08-03 21:15 John D. Davis
  2001-08-03 21:22 ` printk Pete Popov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: John D. Davis @ 2001-08-03 21:15 UTC (permalink / raw)
  To: SGI MIPS list, Debian MIPS list

Does anyone know off hand, the earlies point that I can use printk?  I
added some printk statements to driver/char/console.c and the resulting
kernel hangs with only the logo showing and no text.  Is prom_printf
something that I should use instead. I put some printk statements in
tty_io.c and kernel/printk.c and those compiled kernels work.

thanks,
john davis

^ permalink raw reply	[flat|nested] 6+ messages in thread
* printk
@ 2020-05-31 15:34 Heinrich Schuchardt
  2020-05-31 16:09 ` printk Simon Glass
  0 siblings, 1 reply; 6+ messages in thread
From: Heinrich Schuchardt @ 2020-05-31 15:34 UTC (permalink / raw)
  To: u-boot

Hello Simon,

in some drivers we use printk() which is restricted by CONFIG_LOGLEVEL
and translates to printf().

Shouldn't printk() be translated to log() instead?

CONFIG_LOGLEVEL probably should better be renamed to
CONFIG_PRINTK_LOGLEVEL to avoid confusion.

And those different levels like KERN_WARNING should probably be properly
defined to translate into out log levels.

Best regards

Heinrich

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-05-31 16:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-03 21:15 printk John D. Davis
2001-08-03 21:22 ` printk Pete Popov
2001-08-03 21:36 ` printk James Simmons
2001-08-03 21:41 ` printk Jun Sun
2020-05-31 15:34 printk Heinrich Schuchardt
2020-05-31 16:09 ` printk Simon Glass

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.