Hi Qu,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on kdave/for-next]
[also build test ERROR on v5.15]
[cannot apply to next-20211106]
[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/Qu-Wenruo/btrfs-cleanup-on-btrfs...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-next
config: i386-randconfig-c001-20211019 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
9660563950aaed54020bfdf0be07e7096a9553e4)
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://github.com/0day-ci/linux/commit/5207fb0ee3a623a1069a84661bf6b4110...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Qu-Wenruo/btrfs-cleanup-on-btrfs_super_block-definition/20211019-193103
git checkout 5207fb0ee3a623a1069a84661bf6b41104c468e5
# 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=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from <built-in>:1:
> ./usr/include/linux/btrfs_tree.h:519:2: error: unknown type name
'u8'
u8 tree_root_level;
^
./usr/include/linux/btrfs_tree.h:520:2: error: unknown type name 'u8'
u8 chunk_root_level;
^
./usr/include/linux/btrfs_tree.h:521:2: error: unknown type name 'u8'
u8 extent_root_level;
^
./usr/include/linux/btrfs_tree.h:522:2: error: unknown type name 'u8'
u8 fs_root_level;
^
./usr/include/linux/btrfs_tree.h:523:2: error: unknown type name 'u8'
u8 dev_root_level;
^
./usr/include/linux/btrfs_tree.h:524:2: error: unknown type name 'u8'
u8 csum_root_level;
^
./usr/include/linux/btrfs_tree.h:526:2: error: unknown type name 'u8'
u8 unused_8[10];
^
./usr/include/linux/btrfs_tree.h:579:2: error: unknown type name 'u8'
u8 csum[BTRFS_CSUM_SIZE];
^
./usr/include/linux/btrfs_tree.h:581:2: error: unknown type name 'u8'
u8 fsid[BTRFS_FSID_SIZE];
^
./usr/include/linux/btrfs_tree.h:609:2: error: unknown type name 'u8'
u8 root_level;
^
./usr/include/linux/btrfs_tree.h:610:2: error: unknown type name 'u8'
u8 chunk_root_level;
^
./usr/include/linux/btrfs_tree.h:611:2: error: unknown type name 'u8'
u8 log_root_level;
^
./usr/include/linux/btrfs_tree.h:620:2: error: unknown type name 'u8'
u8 metadata_uuid[BTRFS_FSID_SIZE];
^
./usr/include/linux/btrfs_tree.h:624:2: error: unknown type name 'u8'
u8 sys_chunk_array[BTRFS_SYSTEM_CHUNK_ARRAY_SIZE];
^
./usr/include/linux/btrfs_tree.h:628:2: error: unknown type name 'u8'
u8 padding[565];
^
15 errors generated.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org