tree:
https://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git fsnotify
head: db93035ad25a2cca0e32a269b526a3670e072a63
commit: 34f65f05d4c9ae99d8ba299bdeb9c560f28d17bc [9/10] fs: introduce a wrapper
uuid_to_fsid()
config: x86_64-randconfig-a014-20210419 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
2b50f5a4343f8fb06acaa5c36355bcf58092c9cd)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git/commit/...
git remote add ext3
https://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git
git fetch --no-tags ext3 fsnotify
git checkout 34f65f05d4c9ae99d8ba299bdeb9c560f28d17bc
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from fs/ubifs/shrinker.c:30:
In file included from fs/ubifs/ubifs.h:15:
> include/linux/statfs.h:56:21: error: implicit declaration of
function 'le64_to_cpup' [-Werror,-Wimplicit-function-declaration]
return u64_to_fsid(le64_to_cpup((void *)uuid) ^
^
1 error generated.
vim +/le64_to_cpup +56 include/linux/statfs.h
52
53 /* Fold 16 bytes uuid to 64 bit fsid */
54 static inline __kernel_fsid_t uuid_to_fsid(__u8 *uuid)
55 {
56 return u64_to_fsid(le64_to_cpup((void *)uuid) ^
57 le64_to_cpup((void *)(uuid + sizeof(u64))));
58 }
59
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org