Hi Al, After merging the vfs tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: In file included from ipc/util.c:28:0: include/linux/security.h: In function 'security_real_capable': include/linux/security.h:1885:2: error: implicit declaration of function '__task_cred' [-Werror=implicit-function-declaration] include/linux/security.h:1885:2: warning: passing argument 2 of 'cap_capable' makes pointer from integer without a cast [enabled by default] include/linux/security.h:69:12: note: expected 'const struct cred *' but argument is of type 'int' include/linux/security.h: In function 'security_real_capable_noaudit': include/linux/security.h:1897:11: warning: passing argument 2 of 'cap_capable' makes pointer from integer without a cast [enabled by default] include/linux/security.h:69:12: note: expected 'const struct cred *' but argument is of type 'int' In file included from kernel/groups.c:7:0: So security.h needs to include linux/cred.h ... include/linux/security.h: In function 'security_real_capable': include/linux/security.h:1885:25: error: dereferencing pointer to incomplete type include/linux/security.h:1885:25: error: dereferencing pointer to incomplete type include/linux/security.h:1885:25: error: dereferencing pointer to incomplete type include/linux/security.h:1885:25: error: dereferencing pointer to incomplete type include/linux/security.h:1885:25: error: dereferencing pointer to incomplete type And linux/cred.h needs to include linux/sched.h :-( Caused by commit ae1a442f9d95 ("trim security.h"). I have used the vfs tree form next-20111216 again today. -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx http://www.canb.auug.org.au/~sfr/
Attachment:
pgpK47RBGozvD.pgp
Description: PGP signature