Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965682Ab2EXViV (ORCPT ); Thu, 24 May 2012 17:38:21 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:41749 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965637Ab2EXViT (ORCPT ); Thu, 24 May 2012 17:38:19 -0400 Date: Thu, 24 May 2012 14:38:13 -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: <20120524213813.GA17452@core.coreip.homeip.net> References: <20120524083216.GD10562@core.coreip.homeip.net> <20120524180154.GA15036@core.coreip.homeip.net> <20120524195851.GA15306@core.coreip.homeip.net> <20120524203647.GA16024@core.coreip.homeip.net> <20120524205952.GA16621@core.coreip.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: 1302 Lines: 30 On Thu, May 24, 2012 at 02:07:29PM -0700, Linus Torvalds wrote: > On Thu, May 24, 2012 at 1:59 PM, Dmitry Torokhov > wrote: > > > > I was concerned about the _next_ device (the one that will be created > > the moment I plug in the tablet back into the same port) having exact > > same name as the one that is half dead and clashing in sysfs and > > elsewhere. We used to have issues with this. > > Ok, that's certainly a valid concern. > > It's still - I think - really sad/wrong that the device name is then > so useless than the drivers end up basically not using it. I can see the desire for logging, it is just hard to come with good automatic way of doing this without burdening drivers, given that errors happen rarely in input core layer and in driver code we already have perfect device object to report against. Maybe dev_XXX() should report full sysfs path do the dveice? Still does not help with the fact that "driver" shown for class devices is not so interesting as it will always be the class name. -- 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/