Default [Q] Compile error, linaro 4.8, fsnotify.h

First time for me trying to compile kernel. Other stuff easy to compile, kernel is a pain.

In file included from include/linux/security.h:26:0,
                 from init/main.c:32:
include/linux/fsnotify.h: In function 'fsnotify_perm':
include/linux/fsnotify.h:41:9: error: implicit declaration of function 'file_inode' [-Werror=implicit-function-declaration]
  struct inode *inode = file_inode(file);
include/linux/fsnotify.h:41:24: warning: initialization makes pointer from integer without a cast [enabled by default]
error, forbidden warning: fsnotify.h:41
The source I'm using I was told compiled in 4.7, I would like to fix code so I can compile but I have no idea how to

Sent from my PG86100 using Tapatalk