From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4DE3AF93.40405@suse.cz> Date: Mon, 30 May 2011 16:54:11 +0200 From: Michal Marek MIME-Version: 1.0 To: Kay Sievers Cc: Jon Masters , linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Torvalds Subject: Re: [PATCH] depmod: Handle X.Y kernel versions References: <1306763923-11892-1-git-send-email-mmarek@suse.cz> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: On 30.5.2011 16:43, Kay Sievers wrote: > On Mon, May 30, 2011 at 15:58, Michal Marek wrote: >> What a stupid check. > > Maybe get rid of the entire check? Why not. It tries to distinguish between depmod da.da.da (kernel version) and depmod /path/to/module.ko ... (only generate tables for listed modules) Either we can check for slashes in the second use case, or just drop support for it. Michal