Re: [PATCH] btrfs: tests: add selftests for RAID stripe-tree
From: kernel test robot
Date: Mon Sep 30 2024 - 17:30:36 EST
Hi Johannes,
kernel test robot noticed the following build warnings:
[auto build test WARNING on kdave/for-next]
[also build test WARNING on linus/master v6.12-rc1 next-20240930]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Johannes-Thumshirn/btrfs-tests-add-selftests-for-RAID-stripe-tree/20240930-184234
base: https://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-next
patch link: https://lore.kernel.org/r/20240930104054.12290-1-jth%40kernel.org
patch subject: [PATCH] btrfs: tests: add selftests for RAID stripe-tree
config: i386-buildonly-randconfig-004-20241001 (https://download.01.org/0day-ci/archive/20241001/202410010421.NzGgvE6Y-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241001/202410010421.NzGgvE6Y-lkp@xxxxxxxxx/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410010421.NzGgvE6Y-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
In file included from fs/btrfs/ioctl.c:37:
>> fs/btrfs/volumes.h:837:5: warning: "CONFIG_BTRFS_FS_RUN_SANITY_TESTS" is not defined, evaluates to 0 [-Wundef]
837 | #if CONFIG_BTRFS_FS_RUN_SANITY_TESTS
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
In file included from fs/btrfs/relocation.c:16:
>> fs/btrfs/volumes.h:837:5: warning: "CONFIG_BTRFS_FS_RUN_SANITY_TESTS" is not defined, evaluates to 0 [-Wundef]
837 | #if CONFIG_BTRFS_FS_RUN_SANITY_TESTS
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from fs/btrfs/relocation.c:39:
>> fs/btrfs/raid-stripe-tree.h:31:5: warning: "CONFIG_BTRFS_FS_RUN_SANITY_TESTS" is not defined, evaluates to 0 [-Wundef]
31 | #if CONFIG_BTRFS_FS_RUN_SANITY_TESTS
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
In file included from fs/btrfs/raid-stripe-tree.c:12:
>> fs/btrfs/raid-stripe-tree.h:31:5: warning: "CONFIG_BTRFS_FS_RUN_SANITY_TESTS" is not defined, evaluates to 0 [-Wundef]
31 | #if CONFIG_BTRFS_FS_RUN_SANITY_TESTS
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from fs/btrfs/raid-stripe-tree.c:13:
>> fs/btrfs/volumes.h:837:5: warning: "CONFIG_BTRFS_FS_RUN_SANITY_TESTS" is not defined, evaluates to 0 [-Wundef]
837 | #if CONFIG_BTRFS_FS_RUN_SANITY_TESTS
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/CONFIG_BTRFS_FS_RUN_SANITY_TESTS +837 fs/btrfs/volumes.h
836
> 837 #if CONFIG_BTRFS_FS_RUN_SANITY_TESTS
838 struct btrfs_io_context *alloc_btrfs_io_context(struct btrfs_fs_info *fs_info,
839 u64 logical, u16 total_stripes);
840 #endif
841
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki