/root/diagnose-tools/SOURCE/module/pub/uprobe.c: In function ‘hook_uprobe’:
/root/diagnose-tools/SOURCE/module/pub/uprobe.c:47:16: error: implicit declaration of function ‘fcheck_files’ [-Werror=implicit-function-declaration]
47 | file = fcheck_files(files, fd);
| ^~~~~~~~~~~~
/root/diagnose-tools/SOURCE/module/pub/uprobe.c:47:14: warning: assignment to ‘struct file *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
47 | file = fcheck_files(files, fd);
| ^
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:281: /root/diagnose-tools/SOURCE/module/pub/uprobe.o] Error 1
fcheck_files
has been renamed tofiles_lookup_fd_rcu
. https://lore.kernel.org/lkml/20201120231441.29911-9-ebiederm@xmission.com/