[djwong-xfs:zero-initialize-pmem 301/309] ./usr/include/linux/fsrefcounts.h:68:19: error: unknown type name 'size_t'

From: kernel test robot
Date: Sat Sep 18 2021 - 21:07:58 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git zero-initialize-pmem
head: f712bfd382f71deb666686b6d969dc10592e7d79
commit: 8b79a60325e0ecd5f6429d4178c7a988dbbecec1 [301/309] xfs: export reference count information to userspace
config: x86_64-randconfig-a004-20210918 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c8b3d7d6d6de37af68b2f379d0e37304f78e115f)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/commit/?id=8b79a60325e0ecd5f6429d4178c7a988dbbecec1
git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
git fetch --no-tags djwong-xfs zero-initialize-pmem
git checkout 8b79a60325e0ecd5f6429d4178c7a988dbbecec1
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 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