[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ac3eb2510907201332i25ea109t981425451eafd4e1@mail.gmail.com>
Date: Mon, 20 Jul 2009 22:32:06 +0200
From: Kay Sievers <kay.sievers@...y.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Thadeu Lima de Souza Cascardo <cascardo@...oscopio.com>,
rtc-linux@...glegroups.com, linux-kernel@...r.kernel.org,
dbrownell@...rs.sourceforge.net, bjorn.helgaas@...com,
Alessandro Zummo <a.zummo@...ertech.it>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Greg KH <greg@...ah.com>
Subject: Re: [PATCH] RTC: mark if rtc-cmos drivers were successfully
registered.
On Mon, Jul 20, 2009 at 22:19, Andrew Morton<akpm@...ux-foundation.org> wrote:
> On Sun, 5 Jul 2009 01:07:59 -0300
> Thadeu Lima de Souza Cascardo <cascardo@...oscopio.com> wrote:
>
>> rtc-cmos has two drivers, one PNP and one platform. When PNP has not
>> succeeded probing, platform is registered. However, it tries to
>> unregister both drivers unconditionally, instead of only unregistering
>> those that were successfully registered. Fix that with a boolean
>> variable for each driver indicating whether registering was successful.
> This came up a few weeks ago - the kernel was actually crashing deep
> down in the driver core, when a not-registered device was unregistered.
>
> I believe Kay was planning on making the driver core more robust, so
> that crash shouldn't be happening any more. Kay, can you please confirm
> that thsi got fixed?
This is supposed to fix it:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5c8563d773c0e9f0ac2a552e84806decd98ce732
Thanks,
Kay
--
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