RE: [PATCH 06/11] md: avoid conflicts in active_aligned_reads operations

From: tada keisuke
Date: Fri Apr 05 2024 - 03:17:31 EST


> Hi tada,
>
> kernel test robot noticed the following build warnings:
>
> url:
> https://github.com/intel-lab-lkp/linux/commits/tada-keisuke/md-add-infra-for-active_aligned_reads-changes/202403
> 26-201827
> base: fcf3f7e2fc8a53a6140beee46ec782a4c88e4744
> patch link: https://lore.kernel.org/r/ffb112e756514a0eaab891379df0d834%40kioxia.com
> patch subject: [PATCH 06/11] md: avoid conflicts in active_aligned_reads operations
> config: i386-randconfig-141-20240328
> (https://download.01.org/0day-ci/archive/20240331/202403312116.Sh5vFCWf-lkp@xxxxxxxxx/config)
> compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
>
> 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>
> | Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> | Closes: https://lore.kernel.org/r/202403312116.Sh5vFCWf-lkp@xxxxxxxxx/
>
> New smatch warnings:
> drivers/md/raid5.c:7680 setup_conf() warn: passing zero to 'ERR_PTR'
>
> vim +/ERR_PTR +7680 drivers/md/raid5.c

Thanks for reporting.
I forgot to keep the error code.
I will also fix another issue and submit v2.
https://marc.info/?l=linux-raid&m=171184328530325

Thanks,
Keisuke