./include/linux/mm.h:3238:1: error: attributes should be specified before the declarator in a function definition ./include/linux/mm.h:3264:16: error: implicit declaration of function 'ptlock_ptr'; did you mean 'pte_lockptr'? [-Wimplicit-function-declaration] ./include/linux/mm.h:3264:16: error: returning 'int' from a function with return type 'spinlock_t *' {aka 'struct spinlock *'} makes pointer from integer without a cast [-Wint-conversion] ./include/linux/mm.h:3271:16: error: returning 'int' from a function with return type 'spinlock_t *' {aka 'struct spinlock *'} makes pointer from integer without a cast [-Wint-conversion] ./include/linux/mm.h:3286:24: error: passing argument 1 of 'spinlock_check' makes pointer from integer without a cast [-Wint-conversion] ./include/linux/mm.h:3409:16: error: returning 'int' from a function with return type 'spinlock_t *' {aka 'struct spinlock *'} makes pointer from integer without a cast [-Wint-conversion]