Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758871Ab2EXUgy (ORCPT ); Thu, 24 May 2012 16:36:54 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:57368 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751181Ab2EXUgx (ORCPT ); Thu, 24 May 2012 16:36:53 -0400 Date: Thu, 24 May 2012 13:36:47 -0700 From: Dmitry Torokhov To: Linus Torvalds Cc: Greg Kroah-Hartman , Andrew Morton , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: Re: [git pull] Input updates for 3.5-rc0 Message-ID: <20120524203647.GA16024@core.coreip.homeip.net> References: <20120524083216.GD10562@core.coreip.homeip.net> <20120524180154.GA15036@core.coreip.homeip.net> <20120524195851.GA15306@core.coreip.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1069 Lines: 26 On Thu, May 24, 2012 at 01:11:14PM -0700, Linus Torvalds wrote: > On Thu, May 24, 2012 at 12:58 PM, Dmitry Torokhov > 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-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/