Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161597AbWAMAXq (ORCPT ); Thu, 12 Jan 2006 19:23:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161601AbWAMAXq (ORCPT ); Thu, 12 Jan 2006 19:23:46 -0500 Received: from [198.99.130.12] ([198.99.130.12]:902 "EHLO saraswathi.solana.com") by vger.kernel.org with ESMTP id S1161597AbWAMAXp (ORCPT ); Thu, 12 Jan 2006 19:23:45 -0500 Date: Thu, 12 Jan 2006 20:15:32 -0500 From: Jeff Dike To: Dmitry Torokhov , akpm@osdl.org Cc: linux-kernel@vger.kernel.org Subject: fix-processing-of-obsolete-style-setup-options breaks UML arg parsing Message-ID: <20060113011532.GA2663@ccure.user-mode-linux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 945 Lines: 20 UML has a bunch of parameters styled on the hd= and ide= parameters which depend on matching a prefix of the command-line argument. This patch explicitly removes this prefix matching. I know that this has "obsolete" written all over it, but I don't see any more modern replacement which allows prefix matching. module_param seems to be the more modern thing, but AFAICS, it is matching entire command-line arguments. Strangely, it will match when the command-line argument is a prefix of the in-kernel parameter string, which seems exactly backwards. The hd= and ide= switches are still present, in ide_setup, using the old mechanism, and they now seem to be broken as well. Jeff - 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/