From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262329AbVG1VS5 (ORCPT ); Thu, 28 Jul 2005 17:18:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262319AbVG1VSr (ORCPT ); Thu, 28 Jul 2005 17:18:47 -0400 Received: from mail1.kontent.de ([81.88.34.36]:59297 "EHLO Mail1.KONTENT.De") by vger.kernel.org with ESMTP id S261584AbVG1VRP (ORCPT ); Thu, 28 Jul 2005 17:17:15 -0400 From: Oliver Neukum To: Jon Smirl Subject: Re: [PATCH] driver core: Add the ability to unbind drivers to devices from userspace Date: Thu, 28 Jul 2005 23:17:43 +0200 User-Agent: KMail/1.8 Cc: Greg KH , Mitchell Blank Jr , dtor_core@ameritech.net, linux-kernel@vger.kernel.org References: <20050726015401.GA25015@kroah.com> <200507282310.23152.oliver@neukum.org> <9e47339105072814125d0901d9@mail.gmail.com> In-Reply-To: <9e47339105072814125d0901d9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507282317.44063.oliver@neukum.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Am Donnerstag, 28. Juli 2005 23:12 schrieb Jon Smirl: > On 7/28/05, Oliver Neukum wrote: > > Am Donnerstag, 28. Juli 2005 21:57 schrieb Jon Smirl: > > > New, simplified version of the sysfs whitespace strip patch... > > > > Could you tell me why you don't just fail the operation if malformed > > input is supplied? > > Leading/trailing white space should be allowed. For example echo > appends '\n' unless you know to use -n. It is easier to fix the kernel > than to teach everyone to use -n. Why? If you can do it in user space, do so. Regards Oliver