On Thu, May 24, 2012 at 01:11:14PM -0700, Linus Torvalds wrote: > On Thu, May 24, 2012 at 12:58 PM, Dmitry Torokhov > <dmitry.torokhov@xxxxxxxxx> wrote: > > > > Considering your > > > > dev_set_name(&dev->dev, "input-%s", dev_name(dev->dev.parent)); > > > > what happens if I unplug and replug my wacom tablet while event node is > > still opened and therefore all kobjects are still pinned into memory? > > I'll let you think about just how stupid that comment was for a moment. Hmm, I guess we are better now with cleaning and turning devices into zombies waiting to be reaped. Still have to handle parent have several input devices (HID devices quite often do it). And I still do not see the point why we want to bother, the proper layer to report driver errors is driver and object it is bound to. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html