Re: linux-next: build failure after merge of the crypto-currenttree

From: Herbert Xu
Date: Thu Nov 03 2011 - 02:16:42 EST


On Thu, Nov 03, 2011 at 06:58:24AM +0100, Steffen Klassert wrote:
> On Thu, Nov 03, 2011 at 10:39:36AM +1100, Herbert Xu wrote:
> > On Wed, Nov 02, 2011 at 08:09:13PM +0000, Luis Henriques wrote:
> > >
> > > I'm not sure if this is related, but I am currently unable to build mainline
> > > kernel when disabling CONFIG_NET. This seems to be due to the patch serie:
> > >
> > > http://news.gmane.org/gmane.linux.kernel.cryptoapi/cutoff=6228
> > >
> > > For instance, commit 6ad414fe710d4fd3a8c8c6c2ad8fefcfcc207968 adds a dependency
> > > over function nla_put(), which is only defined when CONFIG_NET is enabled.
> >
> > Indeed, I missed the dependency in the report functions which
> > is built even when CRYPTO_USER is turned off.
> >
> > Does this patch fix the problem for you?
> >
>
> Hm, did you forget to add the patch to the mail?

Probably :)

diff --git a/crypto/Kconfig b/crypto/Kconfig
index 527a857..cdba95c 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -38,6 +38,7 @@ config CRYPTO_ALGAPI

config CRYPTO_ALGAPI2
tristate
+ select NLATTR

config CRYPTO_AEAD
tristate

Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/