4.2-rc0: akcipher breaks compilation

From: Pavel Machek
Date: Tue Jun 30 2015 - 05:28:01 EST


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....

Plus... it is not easy to disable akcipher due to "interesting"
Kconfig with select maze...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/