Re: linux-next: build failure after merge of the final tree(security-testing tree related)

From: Stephen Rothwell
Date: Sun Nov 28 2010 - 21:58:20 EST


[Forgot to send this top James]

On Mon, 29 Nov 2010 13:25:20 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> After merging the final tree, today's linux-next build (powerpc allyesconfig)
> failed like this:
>
> security/keys/trusted_defined.c: In function 'init_sdesc':
> security/keys/trusted_defined.c:52: error: implicit declaration of function 'ERR_PTR'
> security/keys/trusted_defined.c:52: warning: return makes pointer from integer without a cast
> security/keys/trusted_defined.c: In function 'TSS_sha1':
> security/keys/trusted_defined.c:65: error: implicit declaration of function 'IS_ERR'
> security/keys/trusted_defined.c:67: error: implicit declaration of function 'PTR_ERR'
> make[3]: *** [security/keys/trusted_defined.o] Error 1
> security/keys/encrypted_defined.c: In function 'aes_get_sizes':
> security/keys/encrypted_defined.c:73: error: implicit declaration of function 'IS_ERR'
> security/keys/encrypted_defined.c:74: error: implicit declaration of function 'PTR_ERR'
> security/keys/encrypted_defined.c:74: warning: format '%ld' expects type 'long int', but argument 2 has type 'int'
> security/keys/encrypted_defined.c: In function 'init_sdesc':
> security/keys/encrypted_defined.c:270: error: implicit declaration of function 'ERR_PTR'
> security/keys/encrypted_defined.c:270: warning: return makes pointer from integer without a cast
> security/keys/encrypted_defined.c: In function 'init_blkcipher_desc':
> security/keys/encrypted_defined.c:351: warning: format '%ld' expects type 'long int', but argument 3 has type 'int'
> security/keys/encrypted_defined.c: In function 'encrypted_key_alloc':
> security/keys/encrypted_defined.c:536: warning: return makes pointer from integer without a cast
> security/keys/encrypted_defined.c:547: warning: return makes pointer from integer without a cast
> security/keys/encrypted_defined.c:552: warning: return makes pointer from integer without a cast
>
> Caused by commits d00a1c72f7f4661212299e6cb132dfa58030bcdb ("keys: add new
> trusted key-type") and 7e70cb4978507cf31d76b90e4cfb4c28cad87f0c ("keys:
> add new key-type encrypted"). Missing include(s). See Rule 1 in
> Documentation/SubmitChecklist.
>
> I have reverted those commits for today.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature