From: Deepak Saxena <dsaxena@plexity.net>
To: Greg KH <greg@kroah.com>
Cc: akpm@osdl.org, torvalds@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.6] Fix dev_printk to work with unclaimed devices
Date: Thu, 26 Feb 2004 13:47:14 -0700 [thread overview]
Message-ID: <20040226204714.GB17722@plexity.net> (raw)
In-Reply-To: <20040226185324.GA11980@kroah.com>
On Feb 26 2004, at 10:53, Greg KH was caught saying:
> On Thu, Feb 26, 2004 at 11:34:39AM -0700, Deepak Saxena wrote:
> >
> > I need to do some fixup in platform_notify() and when trying to
> > use the dev_* print functions for informational messages, they OOPs
> > b/c the current code assumes that dev->driver exists. This is not the
> > case since platform_notify() is called before a device has been attached
> > to any driver.
>
> Yeah, this "limitation" of the dev_* printks have been known for a
> while, and it was determined that for situations like this, it's not
> worth using those calls.
I can just use printks as it is only two quick log messages at
init time.
Tnx,
~Deepak
--
Deepak Saxena - dsaxena at plexity dot net - http://www.plexity.net/
prev parent reply other threads:[~2004-02-26 20:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-26 18:34 [PATCH 2.6] Fix dev_printk to work with unclaimed devices Deepak Saxena
2004-02-26 18:45 ` Linus Torvalds
2004-02-26 18:53 ` Greg KH
2004-02-26 20:47 ` Deepak Saxena [this message]
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=20040226204714.GB17722@plexity.net \
--to=dsaxena@plexity.net \
--cc=akpm@osdl.org \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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