[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4967BF99.7010507@s5r6.in-berlin.de>
Date: Fri, 09 Jan 2009 22:20:25 +0100
From: Stefan Richter <stefanr@...6.in-berlin.de>
To: Greg KH <gregkh@...e.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
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.
--
Stefan Richter
-=====-==--= ---= -=--=
http://arcgraph.de/sr/
--
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