Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757176Ab1E3OyP (ORCPT ); Mon, 30 May 2011 10:54:15 -0400 Received: from cantor.suse.de ([195.135.220.2]:58142 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752391Ab1E3OyN (ORCPT ); Mon, 30 May 2011 10:54:13 -0400 Message-ID: <4DE3AF93.40405@suse.cz> Date: Mon, 30 May 2011 16:54:11 +0200 From: Michal Marek User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Thunderbird/3.1.8 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 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 663 Lines: 20 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 -- 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/