Re: fix rtc_cmos bug

From: ye janboe
Date: Wed May 20 2009 - 09:03:21 EST


So if register failed, unregister is requested to invoked, right?

Anyway, thank you for your answer.


2009/5/20 Ozan Çağlayan <ozan@xxxxxxxxxxxxx>:
> ye janboe wrote On 20-05-2009 08:17:
>> my fix is wrong?
>>
>> Why no one ack this patch?
>>
>> Thanks
>>
>> Janboe
>>
>>
>
> AFAIK any fix in a driver which causes this oops is a partial fix
> because the case should be handled in driver core. This is what the
> patch suggested does actually:
>
> http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/driver-core.current/driver-core-do-not-oops-when-driver_unregister-is-called-for-unregistered-drivers.patch
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/