Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754976Ab3IKEkj (ORCPT ); Wed, 11 Sep 2013 00:40:39 -0400 Received: from ringil.hengli.com.au ([178.18.16.133]:48256 "EHLO fornost.hengli.com.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754806Ab3IKEke (ORCPT ); Wed, 11 Sep 2013 00:40:34 -0400 Date: Wed, 11 Sep 2013 14:40:03 +1000 From: Herbert Xu To: Lucas De Marchi Cc: Rusty Russell , Andreas Robinson , Linux Kernel Mailing List , Zhao Hongjiang , David Miller , tim.c.chen@linux.intel.com, Andrew Morton , "gregkh@linuxfoundation.org" , linux-crypto@vger.kernel.org, linux-modules , Tom Gundersen Subject: Re: [PATCH] modules: add support for soft module dependencies Message-ID: <20130911044003.GA30913@gondor.apana.org.au> References: <20130724071757.GA30970@gondor.apana.org.au> <87siz38q2t.fsf@rustcorp.com.au> <20130725020329.GA14625@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 870 Lines: 20 On Tue, Sep 10, 2013 at 11:01:38AM -0300, Lucas De Marchi wrote: > > However looking at the only user right now, crct10dif: couldn't we > detect at runtime if this module can be used instead of just trying to > load it as a pre softdep and possibly failing? No as sd_mod requires crct10dif to be present. The use of softdep as opposed to just a symbolic dependency is due to there being two modules for crct10dif, a generic version and an arch-specific one. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- 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/