CC: [email protected] TO: Jiri Slaby <[email protected]> tree: https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel head: 1e1039ae35408f21a26a6c2d096c048af6e65d50 commit: 3a4ba433d9637d0407c753d70c9a1142d58f32fc [101/122] include condition in the BUG_ON/WARN_ON output :::::: branch date: 5 hours ago :::::: commit date: 5 hours ago config: x86_64-randconfig-s021-20210420 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-341-g8af24329-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git/commit/?id=3a4ba433d9637d0407c753d70c9a1142d58f32fc git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git git fetch --no-tags jirislaby devel git checkout 3a4ba433d9637d0407c753d70c9a1142d58f32fc # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> sparse warnings: (new ones prefixed by >>) >> drivers/block/xen-blkfront.c:280:9: sparse: sparse: too long token expansion vim +280 drivers/block/xen-blkfront.c 4ab50af63d2eb5 Juergen Gross 2020-03-05 275 81f35161577236 Bob Liu 2015-11-14 276 static int get_id_from_freelist(struct blkfront_ring_info *rinfo) 9f27ee59503865 Jeremy Fitzhardinge 2007-07-17 277 { 81f35161577236 Bob Liu 2015-11-14 278 unsigned long free = rinfo->shadow_free; 81f35161577236 Bob Liu 2015-11-14 279 81f35161577236 Bob Liu 2015-11-14 @280 BUG_ON(free >= BLK_RING_SIZE(rinfo->dev_info)); 81f35161577236 Bob Liu 2015-11-14 281 rinfo->shadow_free = rinfo->shadow[free].req.u.rw.id; 81f35161577236 Bob Liu 2015-11-14 282 rinfo->shadow[free].req.u.rw.id = 0x0fffffee; /* debug */ 9f27ee59503865 Jeremy Fitzhardinge 2007-07-17 283 return free; 9f27ee59503865 Jeremy Fitzhardinge 2007-07-17 284 } 9f27ee59503865 Jeremy Fitzhardinge 2007-07-17 285 :::::: The code at line 280 was first introduced by commit :::::: 81f351615772365d46ceeac3e50c9dd4e8f9dc89 xen/blkfront: separate per ring information out of device info :::::: TO: Bob Liu <[email protected]> :::::: CC: Konrad Rzeszutek Wilk <[email protected]> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
