[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090109213403.GA26754@suse.de>
Date: Fri, 9 Jan 2009 13:34:03 -0800
From: Greg KH <gregkh@...e.de>
To: Stefan Richter <stefanr@...6.in-berlin.de>
Cc: Kay Sievers <kay.sievers@...y.org>, linux-kernel@...r.kernel.org,
Jay Fenlason <fenlason@...hat.com>
Subject: Re: post 2.6.28 regression: device_initialize() now sleeps, and
may fail without recovery strategy
On Fri, Jan 09, 2009 at 10:20:25PM +0100, Stefan Richter wrote:
> Stefan Richter wrote:
> > Greg KH wrote:
> >> I originally looked at changing this to be at device_add time, but I
> >> think there are some code paths that do device_initialize and then do
> >> some operations on the device before calling device_add.
> >
> > get_device() and put_device() seem to be about the only things that are
> > interesting before device_add().
> >
> > Don't know if a final put_device() in this situation
>
> ...would require dev->p to be present.
But that can be easily handled...
give me a short while to test...
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists