From: Neshama Parhoti <pneshama@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: pr_* versus dev_*
Date: Tue, 30 Mar 2010 19:07:18 +0300 [thread overview]
Message-ID: <912ec82a1003300907o7edeb73bp92d56741cfee1064@mail.gmail.com> (raw)
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
next reply other threads:[~2010-03-30 16:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-30 16:07 Neshama Parhoti [this message]
2010-03-30 16:52 ` pr_* versus dev_* Joe Perches
2010-03-31 5:42 ` Neshama Parhoti
2010-03-31 5:48 ` Joe Perches
2010-03-31 5:57 ` Neshama Parhoti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=912ec82a1003300907o7edeb73bp92d56741cfee1064@mail.gmail.com \
--to=pneshama@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox