tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 8dca2cd055ffb78b37f52f0bf0bd20c249619c4d commit: def6a7a9a7f0e7e3886fb77cf45c4a48e7e71c36 [3809/4499] dm space maps: improve performance with inc/dec on ranges of blocks config: arm-randconfig-s031-20210522 (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 9.3.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.3-341-g8af24329-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=def6a7a9a7f0e7e3886fb77cf45c4a48e7e71c36 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout def6a7a9a7f0e7e3886fb77cf45c4a48e7e71c36 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=arm If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> sparse warnings: (new ones prefixed by >>) drivers/md/persistent-data/dm-array.c:578:48: sparse: sparse: cast to restricted __le64 >> drivers/md/persistent-data/dm-array.c:578:48: sparse: sparse: non size-preserving pointer to integer cast vim +578 drivers/md/persistent-data/dm-array.c 6513c29f44f2cc Joe Thornber 2013-03-01 566 6513c29f44f2cc Joe Thornber 2013-03-01 567 /* 6513c29f44f2cc Joe Thornber 2013-03-01 568 * These are the value_type functions for the btree elements, which point 6513c29f44f2cc Joe Thornber 2013-03-01 569 * to array blocks. 6513c29f44f2cc Joe Thornber 2013-03-01 570 */ def6a7a9a7f0e7 Joe Thornber 2021-04-13 571 static void block_inc(void *context, const void *value, unsigned count) 6513c29f44f2cc Joe Thornber 2013-03-01 572 { def6a7a9a7f0e7 Joe Thornber 2021-04-13 573 const __le64 *block_le = value; 6513c29f44f2cc Joe Thornber 2013-03-01 574 struct dm_array_info *info = context; def6a7a9a7f0e7 Joe Thornber 2021-04-13 575 unsigned i; 6513c29f44f2cc Joe Thornber 2013-03-01 576 def6a7a9a7f0e7 Joe Thornber 2021-04-13 577 for (i = 0; i < count; i++, block_le++) 6513c29f44f2cc Joe Thornber 2013-03-01 @578 dm_tm_inc(info->btree_info.tm, le64_to_cpu(block_le)); 6513c29f44f2cc Joe Thornber 2013-03-01 579 } 6513c29f44f2cc Joe Thornber 2013-03-01 580 :::::: The code at line 578 was first introduced by commit :::::: 6513c29f44f2cc970c0e9fecfe5a6526c3e73025 dm persistent data: add transactional array :::::: TO: Joe Thornber <ejt@xxxxxxxxxx> :::::: CC: Alasdair G Kergon <agk@xxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip