All of lore.kernel.org
 help / color / mirror / Atom feed
* [jirislaby:devel 4/27] drivers/block/xen-blkfront.c:280:9: sparse: sparse: too long token expansion
@ 2021-01-11 14:19 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-01-11 14:19 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 2626 bytes --]

CC: kbuild-all(a)lists.01.org
TO: Jiri Slaby <jslaby@suse.cz>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head:   81c76d2a44b72ceb728c980ae477fc9b00a2404d
commit: 5bbb02b0b4cc8e68782fe725627aabdfd398afb2 [4/27] include condition in the BUG_ON/WARN_ON output
:::::: branch date: 4 hours ago
:::::: commit date: 4 hours ago
config: i386-randconfig-s001-20210111 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-208-g46a52ca4-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git/commit/?id=5bbb02b0b4cc8e68782fe725627aabdfd398afb2
        git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
        git fetch --no-tags jirislaby devel
        git checkout 5bbb02b0b4cc8e68782fe725627aabdfd398afb2
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


"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

4ab50af63d2eb5da Juergen Gross       2020-03-05  275  
81f351615772365d Bob Liu             2015-11-14  276  static int get_id_from_freelist(struct blkfront_ring_info *rinfo)
9f27ee595038653d Jeremy Fitzhardinge 2007-07-17  277  {
81f351615772365d Bob Liu             2015-11-14  278  	unsigned long free = rinfo->shadow_free;
81f351615772365d Bob Liu             2015-11-14  279  
81f351615772365d Bob Liu             2015-11-14 @280  	BUG_ON(free >= BLK_RING_SIZE(rinfo->dev_info));
81f351615772365d Bob Liu             2015-11-14  281  	rinfo->shadow_free = rinfo->shadow[free].req.u.rw.id;
81f351615772365d Bob Liu             2015-11-14  282  	rinfo->shadow[free].req.u.rw.id = 0x0fffffee; /* debug */
9f27ee595038653d Jeremy Fitzhardinge 2007-07-17  283  	return free;
9f27ee595038653d Jeremy Fitzhardinge 2007-07-17  284  }
9f27ee595038653d 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 <bob.liu@oracle.com>
:::::: CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35974 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [jirislaby:devel 4/27] drivers/block/xen-blkfront.c:280:9: sparse: sparse: too long token expansion
@ 2021-01-12 11:01 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-01-12 11:01 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2726 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head:   81c76d2a44b72ceb728c980ae477fc9b00a2404d
commit: 5bbb02b0b4cc8e68782fe725627aabdfd398afb2 [4/27] include condition in the BUG_ON/WARN_ON output
:::::: branch date: 4 hours ago
:::::: commit date: 4 hours ago
config: i386-randconfig-s001-20210111 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-208-g46a52ca4-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git/commit/?id=5bbb02b0b4cc8e68782fe725627aabdfd398afb2
        git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
        git fetch --no-tags jirislaby devel
        git checkout 5bbb02b0b4cc8e68782fe725627aabdfd398afb2
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <rong.a.chen@intel.com>


"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

4ab50af63d2eb5da Juergen Gross       2020-03-05  275  
81f351615772365d Bob Liu             2015-11-14  276  static int get_id_from_freelist(struct blkfront_ring_info *rinfo)
9f27ee595038653d Jeremy Fitzhardinge 2007-07-17  277  {
81f351615772365d Bob Liu             2015-11-14  278  	unsigned long free = rinfo->shadow_free;
81f351615772365d Bob Liu             2015-11-14  279  
81f351615772365d Bob Liu             2015-11-14 @280  	BUG_ON(free >= BLK_RING_SIZE(rinfo->dev_info));
81f351615772365d Bob Liu             2015-11-14  281  	rinfo->shadow_free = rinfo->shadow[free].req.u.rw.id;
81f351615772365d Bob Liu             2015-11-14  282  	rinfo->shadow[free].req.u.rw.id = 0x0fffffee; /* debug */
9f27ee595038653d Jeremy Fitzhardinge 2007-07-17  283  	return free;
9f27ee595038653d Jeremy Fitzhardinge 2007-07-17  284  }
9f27ee595038653d 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 <bob.liu@oracle.com>
:::::: CC: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

_______________________________________________
kbuild mailing list -- kbuild(a)lists.01.org
To unsubscribe send an email to kbuild-leave(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35974 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-12 11:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-11 14:19 [jirislaby:devel 4/27] drivers/block/xen-blkfront.c:280:9: sparse: sparse: too long token expansion kernel test robot
2021-01-12 11:01 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.