Hi Qu, Thank you for the patch! Yet something to improve: [auto build test ERROR on v5.7-rc1] [also build test ERROR on next-20200423] [cannot apply to btrfs/next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Qu-Wenruo/btrfs-Reformat-and-make-btrfs_tree-h-self-contained/20200416-023848 base: 8f3d9f354286745c751374f5f1fcafee6b3f3136 config: x86_64-randconfig-s1-20200423 (attached as .config) compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): In file included from ./usr/include/linux/btrfs.h:24:0, from <command-line>:32: >> ./usr/include/linux/btrfs_tree.h:1110:2: error: unknown type name 'u8' u8 tree_root_level; ^~ ./usr/include/linux/btrfs_tree.h:1111:2: error: unknown type name 'u8' u8 chunk_root_level; ^~ ./usr/include/linux/btrfs_tree.h:1112:2: error: unknown type name 'u8' u8 extent_root_level; ^~ ./usr/include/linux/btrfs_tree.h:1113:2: error: unknown type name 'u8' u8 fs_root_level; ^~ ./usr/include/linux/btrfs_tree.h:1114:2: error: unknown type name 'u8' u8 dev_root_level; ^~ ./usr/include/linux/btrfs_tree.h:1115:2: error: unknown type name 'u8' u8 csum_root_level; ^~ ./usr/include/linux/btrfs_tree.h:1117:2: error: unknown type name 'u8' u8 unused_8[10]; ^~ ./usr/include/linux/btrfs_tree.h:1133:2: error: unknown type name 'u8' u8 csum[BTRFS_CSUM_SIZE]; ^~ ./usr/include/linux/btrfs_tree.h:1135:2: error: unknown type name 'u8' u8 fsid[BTRFS_FSID_SIZE]; ^~ ./usr/include/linux/btrfs_tree.h:1162:2: error: unknown type name 'u8' u8 root_level; ^~ ./usr/include/linux/btrfs_tree.h:1163:2: error: unknown type name 'u8' u8 chunk_root_level; ^~ ./usr/include/linux/btrfs_tree.h:1164:2: error: unknown type name 'u8' u8 log_root_level; ^~ ./usr/include/linux/btrfs_tree.h:1173:2: error: unknown type name 'u8' u8 metadata_uuid[BTRFS_FSID_SIZE]; ^~ ./usr/include/linux/btrfs_tree.h:1177:2: error: unknown type name 'u8' u8 sys_chunk_array[BTRFS_SYSTEM_CHUNK_ARRAY_SIZE]; ^~ ./usr/include/linux/btrfs_tree.h:1268:2: error: unknown type name 'u8' u8 csum[BTRFS_CSUM_SIZE]; ^~ ./usr/include/linux/btrfs_tree.h:1269:2: error: unknown type name 'u8' u8 fsid[BTRFS_FSID_SIZE]; /* FS specific uuid */ ^~ ./usr/include/linux/btrfs_tree.h:1274:2: error: unknown type name 'u8' u8 chunk_tree_uuid[BTRFS_UUID_SIZE]; ^~ ./usr/include/linux/btrfs_tree.h:1278:2: error: unknown type name 'u8' u8 level; ^~ --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip
