[djwong-xfs:report-refcounts 358/358] ./usr/include/linux/fsrefcounts.h:68:19: error: unknown type name 'size_t'

From: kernel test robot
Date: Sat Jul 03 2021 - 05:13:41 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git report-refcounts
head: 6c3395f5ee84395a60e0de8b4febb80e5ee28286
commit: 6c3395f5ee84395a60e0de8b4febb80e5ee28286 [358/358] xfs: export reference count information to userspace
config: x86_64-randconfig-a002-20210702 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project cb5de7c813f976dd458bd2a7f40702ba648bf650)
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/djwong/xfs-linux.git/commit/?id=6c3395f5ee84395a60e0de8b4febb80e5ee28286
git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
git fetch --no-tags djwong-xfs report-refcounts
git checkout 6c3395f5ee84395a60e0de8b4febb80e5ee28286
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

In file included from <built-in>:1:
>> ./usr/include/linux/fsrefcounts.h:68:19: error: unknown type name 'size_t'
static __inline__ size_t
^
1 error generated.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip