Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261385AbUKOASg (ORCPT ); Sun, 14 Nov 2004 19:18:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261386AbUKOASg (ORCPT ); Sun, 14 Nov 2004 19:18:36 -0500 Received: from ozlabs.org ([203.10.76.45]:61872 "EHLO ozlabs.org") by vger.kernel.org with ESMTP id S261385AbUKOASY (ORCPT ); Sun, 14 Nov 2004 19:18:24 -0500 Subject: Re: [PATCH] handle quoted module parameters From: Rusty Russell To: "Randy.Dunlap" Cc: yiding_wang@agilent.com, doogie@debian.org, arjan@infradead.org, lkml - Kernel Mailing List , Andrew Morton In-Reply-To: <41968935.30701@osdl.org> References: <08A354A3A9CCA24F9EE9BE13600CFBC50F85D4@wcosmb07.cos.agilent.com> <41968935.30701@osdl.org> Content-Type: text/plain Date: Mon, 15 Nov 2004 11:18:18 +1100 Message-Id: <1100477898.7381.8.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1193 Lines: 33 On Sat, 2004-11-13 at 14:22 -0800, Randy.Dunlap wrote: > yiding_wang@agilent.com wrote: > >>There is *no* difference between: > >>foo="111 222 333"\ 444' 555' > >>and > >>foo='111 222 333 444 555' > >>and > >>foo="111 222 333 444 555' > > > > > > But there is a difference between foo="111 222 333" and "foo=111 222 333". The new patch is changing from former to later. > > Actually the patch allows (or _should allow_) either format for quote > marks. I didn't remove the older code, just added support for the > case of quote marks as "foo=this is a test". Yes, I have no fundamental problem with the patch, but it'd need thorough testing (eg. with __setup) since this area has broken before. > Why is the module param length limit of 1024 a problem? The 1024 test is there because we want to limit how much we output through sysfs. We could up it to PAGE_SIZE-1. Rusty. -- A bad analogy is like a leaky screwdriver -- Richard Braakman - 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/