Re: [PATCH v2] f2fs: move ioctl interface definitions to separated file

From: kernel test robot
Date: Fri Oct 30 2020 - 14:09:19 EST


Hi Chao,

I love your patch! Yet something to improve:

[auto build test ERROR on f2fs/dev-test]
[also build test ERROR on linus/master v5.10-rc1 next-20201030]
[cannot apply to linux/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url: https://github.com/0day-ci/linux/commits/Chao-Yu/f2fs-move-ioctl-interface-definitions-to-separated-file/20201030-152809
base: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev-test
config: x86_64-randconfig-a013-20201030 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project fa5a13276764a2657b3571fa3c57b07ee5d2d661)
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://github.com/0day-ci/linux/commit/652525531fd95cc9ef1011882abec714d0d853dc
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Chao-Yu/f2fs-move-ioctl-interface-definitions-to-separated-file/20201030-152809
git checkout 652525531fd95cc9ef1011882abec714d0d853dc
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64

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/f2fs.h:58:2: error: unknown type name 'u32'
u32 sync;
^
>> ./usr/include/linux/f2fs.h:59:2: error: unknown type name 'u64'
u64 start;
^
./usr/include/linux/f2fs.h:60:2: error: unknown type name 'u64'
u64 len;
^
./usr/include/linux/f2fs.h:64:2: error: unknown type name 'u64'
u64 start;
^
./usr/include/linux/f2fs.h:65:2: error: unknown type name 'u64'
u64 len;
^
./usr/include/linux/f2fs.h:69:2: error: unknown type name 'u32'
u32 dst_fd; /* destination fd */
^
./usr/include/linux/f2fs.h:70:2: error: unknown type name 'u64'
u64 pos_in; /* start position in src_fd */
^
./usr/include/linux/f2fs.h:71:2: error: unknown type name 'u64'
u64 pos_out; /* start position in dst_fd */
^
./usr/include/linux/f2fs.h:72:2: error: unknown type name 'u64'
u64 len; /* size to move */
^
./usr/include/linux/f2fs.h:76:2: error: unknown type name 'u32'
u32 dev_num; /* device number to flush */
^
./usr/include/linux/f2fs.h:77:2: error: unknown type name 'u32'
u32 segments; /* # of segments to flush */
^
./usr/include/linux/f2fs.h:81:2: error: unknown type name 'u64'
u64 start;
^
./usr/include/linux/f2fs.h:82:2: error: unknown type name 'u64'
u64 len;
^
./usr/include/linux/f2fs.h:83:2: error: unknown type name 'u64'
u64 flags;
^
14 errors generated.

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

Attachment: .config.gz
Description: application/gzip