Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261329AbVBNBcP (ORCPT ); Sun, 13 Feb 2005 20:32:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261330AbVBNBcP (ORCPT ); Sun, 13 Feb 2005 20:32:15 -0500 Received: from smtp809.mail.sc5.yahoo.com ([66.163.168.188]:17824 "HELO smtp809.mail.sc5.yahoo.com") by vger.kernel.org with SMTP id S261329AbVBNBcM (ORCPT ); Sun, 13 Feb 2005 20:32:12 -0500 From: Dmitry Torokhov To: Stephen Evanchik Subject: Re: PATCH 2.6.11-rc4]: IBM TrackPoint configuration support Date: Sun, 13 Feb 2005 20:31:01 -0500 User-Agent: KMail/1.7.2 Cc: Vojtech Pavlik , linux-kernel@vger.kernel.org References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502132031.02214.dtor_core@ameritech.net> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1080 Lines: 25 On Sunday 13 February 2005 19:32, Stephen Evanchik wrote: > Here is the latest IBM TrackPoint patch. I believe I made all of the > necessary changes in this release including the removal of the > middle-to-scroll functionality. One item I didn't address was a > comment about checking the return code of ps2_command .. > > I looked at other usages and it wasn't clear to me how to actually > implement something that is sane. In some places an error causes a > return out of the function and in others the return value is ignored. > Should I check each return value or the first ? I would check all 3 ps2_command calls in trackpoint_init and leave the rest as is. One more thing - I'd like to see more descriptive names of sysfs attributes, for example I'd change "ptson" to "press_to_select", "mb" to "middle_btn", etc. -- 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/