fs/gt/dir.c: In function ‘gt_readdir’:
fs/gt/dir.c:72:2: error: implicit declaration of function ‘lock_kernel’ [-Werror=implicit-function-declaration]
fs/gt/dir.c:98:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
fs/gt/dir.c:111:2: error: implicit declaration of function ‘unlock_kernel’ [-Werror=implicit-function-declaration]
fs/gt/dir.c: In function ‘gt_add_link’:
fs/gt/dir.c:216:60: warning: passing argument 6 of ‘__gt_write_begin’ from incompatible pointer type [enabled by default]
In file included from fs/gt/dir.c:1:0:
fs/gt/gt.h:35:12: note: expected ‘struct page *’ but argument is of type ‘struct page **’
fs/gt/dir.c: In function ‘gt_delete_entry’:
fs/gt/dir.c:246:2: warning: passing argument 6 of ‘__gt_write_begin’ from incompatible pointer type [enabled by default]
In file included from fs/gt/dir.c:1:0:
fs/gt/gt.h:35:12: note: expected ‘struct page *’ but argument is of type ‘struct page **’
fs/gt/dir.c: In function ‘gt_make_empty’:
fs/gt/dir.c:328:69: warning: passing argument 6 of ‘__gt_write_begin’ from incompatible pointer type [enabled by default]
In file included from fs/gt/dir.c:1:0:
fs/gt/gt.h:35:12: note: expected ‘struct page *’ but argument is of type ‘struct page **’
fs/gt/dir.c:338:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
fs/gt/dir.c: In function ‘gt_set_link’:
fs/gt/dir.c:363:66: warning: passing argument 6 of ‘__gt_write_begin’ from incompatible pointer type [enabled by default]
In file included from fs/gt/dir.c:1:0:
fs/gt/gt.h:35:12: note: expected ‘struct page *’ but argument is of type ‘struct page **’
cc1: some warnings being treated as errors
make[2]: *** [fs/gt/dir.o] 错误 1
make[1]: *** [fs/gt] 错误 2
make: *** [fs] 错误 2 作者: 我爱你我的菜 时间: 2016-03-25 10:47
来学习,谢谢