linux-next: build warning after merge of the final tree

From: Stephen Rothwell
Date: Tue Aug 16 2011 - 01:22:58 EST


Hi all,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) produced this warning:

In file included from security/integrity/ima/../integrity.h:16:0,
from security/integrity/ima/ima.h:27,
from security/integrity/ima/ima_policy.c:20:
include/crypto/sha.h:86:10: warning: 'struct shash_desc' declared inside parameter list
include/crypto/sha.h:86:10: warning: its scope is only this definition or declaration, which is probably not what you want

Introduced by commit 7c390170b493 ("crypto: sha1 - export sha1_update for
reuse"). I guess you need to include crypto/hash.h in crypto/sha.h.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature