Re: [PATCH] alarmtimer: add .remove_dev hook to put device

From: John Stultz
Date: Wed Jul 18 2012 - 23:46:16 EST


On 07/18/2012 06:23 PM, Shawn Guo wrote:
On 19 July 2012 07:23, John Stultz <johnstul@xxxxxxxxxx> wrote:
Actually, this change opens up a bunch of other races, as any caller of
alarmtimer_get_rtcdev() could have the rtcdevice removed under it.

We'll need to have proper reference counting w/ get/put calls, probably also
adding a alarmtimer_put_rtcdev() interface.

So for now I'm dropping this from my tree. Do you think you might be able
to take another stab at this?

No. You can take the patch as a bug report and fix it yourself in the
best way you can think of :)
Ok. I'll try to find some time to do that.

Thanks!
-john

--
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/