[lkml]   [2004]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2.6] Fix dev_printk to work with unclaimed devices
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.


Deepak Saxena - dsaxena at plexity dot net -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:01    [W:0.047 / U:3.872 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site