All of lore.kernel.org
 help / color / mirror / Atom feed
* motivation behind pr_xxx macros
@ 2011-01-30 15:11 Himanshu Aggarwal
  2011-01-30 15:12 ` Himanshu Aggarwal
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Himanshu Aggarwal @ 2011-01-30 15:11 UTC (permalink / raw)
  To: kernelnewbies

While writing some code on 2.6.32, I have come across some of these
macros that in turn call printk:

pr_emerg
pr_alert
...
pr_debug

Is there any case when should these macros be preferred over explicit
printk statements? What is the motivation behind providing these
macros when this task can already be accomplished by using printk
statements explicitly with priority levels?

Regards,
Himanshu

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

end of thread, other threads:[~2011-01-30 21:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-30 15:11 motivation behind pr_xxx macros Himanshu Aggarwal
2011-01-30 15:12 ` Himanshu Aggarwal
2011-01-30 18:19 ` Mulyadi Santosa
2011-01-30 21:35 ` Greg KH

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.