From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753239AbbGAIyh (ORCPT ); Wed, 1 Jul 2015 04:54:37 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:49246 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750936AbbGAIyb (ORCPT ); Wed, 1 Jul 2015 04:54:31 -0400 Date: Wed, 1 Jul 2015 10:54:29 +0200 From: Pavel Machek To: Herbert Xu Cc: kernel list , tadeusz.struk@intel.com Subject: Re: 4.2-rc0: akcipher breaks compilation Message-ID: <20150701085429.GA16602@amd> References: <20150630092750.GA4296@amd> <20150630134826.GC24245@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20150630134826.GC24245@gondor.apana.org.au> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 2015-06-30 22:48:26, Herbert Xu wrote: > On Tue, Jun 30, 2015 at 11:27:50AM +0200, Pavel Machek wrote: > > Hi! > > > > CC crypto/akcipher.o > > CC block/bio.o > > crypto/akcipher.c: In function ‘crypto_akcipher_report’: > > crypto/akcipher.c:30:32: error: storage size of ‘rakcipher’ isn’t > > known > > struct crypto_report_akcipher rakcipher; > > ^ > > crypto/akcipher.c:34:19: error: > > ‘CRYPTOCFGA_REPORT_AKCIPHER’ undeclared (first use in this > > function) > > if (nla_put(skb, CRYPTOCFGA_REPORT_AKCIPHER, > > ^ > > crypto/akcipher.c:34:19: note: each > > undeclared identifier is reported only once for each function it > > appears in > > crypto/akcipher.c:35:14: error: invalid application of ‘sizeof’ to > > incomplete type ‘struct crypto_report_akcipher’ > > sizeof(struct crypto_report_akcipher), &rakcipher)) > > ^ > > crypto/akcipher.c:30:32: warning: unused > > variable ‘rakcipher’ [-Wunused-variable] > > struct crypto_report_akcipher rakcipher; > > ^ > > scripts/Makefile.build:258: > > recipe for target 'crypto/akcipher.o' failed > > make[1]: *** [crypto/akcipher.o] Error 1 > > Makefile:945: recipe for target 'crypto' failed > > make: *** [crypto] Error 2 > > make: *** Waiting for unfinished jobs.... > > That's weird. both symbols are meant to be defined in > include/uapi/linux/cryptouser.h. Do you have that file and is > it up-to-date? Do you happen to have an obsolete > include/linux/cryptouser.h file in your tree? I had the file, but probably had other copy of cryptouser.h somewhere. git --work-tree=/data/l/linux-64 clean -df helped. Thanks and sorry for the noise, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html