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

From: kernel test robot
Date: Sat Jul 31 2021 - 12:01:45 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git report-refcounts
head: 56237c29d5b332d3769b6ef0f3451ce7299a6430
commit: 56237c29d5b332d3769b6ef0f3451ce7299a6430 [312/312] xfs: export reference count information to userspace
config: i386-randconfig-m021-20210730 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/commit/?id=56237c29d5b332d3769b6ef0f3451ce7299a6430
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 56237c29d5b332d3769b6ef0f3451ce7299a6430
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 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 <command-line>:32:
>> ./usr/include/linux/fsrefcounts.h:68:19: error: unknown type name 'size_t'
68 | static __inline__ size_t
| ^~~~~~

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

Attachment: .config.gz
Description: application/gzip