Hi Qu, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on kdave/for-next] [also build test WARNING on linus/master v6.2-rc1 next-20221226] [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/Qu-Wenruo/btrfs-scrub-rework-to-get-rid-of-the-complex-bio-formshaping/20221206-162558 base: https://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-next patch link: https://lore.kernel.org/r/9a9101481ba88a952e50963030599d8e987be006.1670314744.git.wqu%40suse.com patch subject: [PoC PATCH 07/11] btrfs: scrub: add raid56 P/Q scrubbing support config: sparc-randconfig-s052-20221225 compiler: sparc-linux-gcc (GCC) 12.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://github.com/intel-lab-lkp/linux/commit/6ed702c71dccdb9f21889e9dbd9a6c41a84dc3c3 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Qu-Wenruo/btrfs-scrub-rework-to-get-rid-of-the-complex-bio-formshaping/20221206-162558 git checkout 6ed702c71dccdb9f21889e9dbd9a6c41a84dc3c3 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sparc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sparc SHELL=/bin/bash fs/btrfs/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> fs/btrfs/scrub.c:4279:51: sparse: sparse: Using plain integer as NULL pointer vim +4279 fs/btrfs/scrub.c 4265 4266 static void scrub2_release_full_stripe(struct btrfs_fs_info *fs_info, 4267 struct scrub2_stripe_group *full_stripe) 4268 { 4269 int i; 4270 4271 btrfs_put_bioc(full_stripe->bioc); 4272 btrfs_bio_counter_dec(fs_info); 4273 ASSERT(atomic_read(&full_stripe->pending_stripes) == 0); 4274 if (full_stripe->nr_stripes) { 4275 for (i = 0; i < full_stripe->nr_stripes; i++) { 4276 if (!full_stripe->stripes[i]) 4277 continue; 4278 free_scrub2_stripe(full_stripe->stripes[i]); > 4279 full_stripe->stripes[i] = 0; 4280 } 4281 kfree(full_stripe->stripes); 4282 full_stripe->stripes = NULL; 4283 } 4284 } 4285 -- 0-DAY CI Kernel Test Service https://01.org/lkp