public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* pr_* versus dev_*
@ 2010-03-30 16:07 Neshama Parhoti
  2010-03-30 16:52 ` Joe Perches
  0 siblings, 1 reply; 5+ messages in thread
From: Neshama Parhoti @ 2010-03-30 16:07 UTC (permalink / raw)
  To: linux-kernel

Which set of macros should I use in my driver ?

pr_info, pr_err, etc...  or dev_info, dev_err,    etc. ?

what are the advantages of the dev_* macros over the pr_* macros
(why does it take the device pointer as an argument) ?

obviously I don't have access to my device pointer in all my functions..
so pr_info is easier to use..
but if it's wanted, obviously I can arrange to have my device pointer
accessible..

thank you
~pnesh

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

end of thread, other threads:[~2010-03-31  5:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-30 16:07 pr_* versus dev_* Neshama Parhoti
2010-03-30 16:52 ` Joe Perches
2010-03-31  5:42   ` Neshama Parhoti
2010-03-31  5:48     ` Joe Perches
2010-03-31  5:57       ` Neshama Parhoti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox