All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: Re: [RFC][PATCH] vhost/vsock: Add vsock_list file to map cid with vhost tasks
Date: Thu, 06 May 2021 09:54:33 +0800	[thread overview]
Message-ID: <202105060909.EiCYOsaZ-lkp@intel.com> (raw)

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

CC: kbuild-all(a)lists.01.org
In-Reply-To: <20210505163855.32dad8e7@gandalf.local.home>
References: <20210505163855.32dad8e7@gandalf.local.home>
TO: Steven Rostedt <rostedt@goodmis.org>

Hi Steven,

[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on vhost/linux-next]
[also build test WARNING on linux/master linus/master v5.12 next-20210505]
[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]

url:    https://github.com/0day-ci/linux/commits/Steven-Rostedt/vhost-vsock-Add-vsock_list-file-to-map-cid-with-vhost-tasks/20210506-044043
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git linux-next
:::::: branch date: 5 hours ago
:::::: commit date: 5 hours ago
config: um-randconfig-s031-20210505 (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://github.com/0day-ci/linux/commit/615076d4f3c2d9c7da7dadb0850654ca6136f73a
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Steven-Rostedt/vhost-vsock-Add-vsock_list-file-to-map-cid-with-vhost-tasks/20210506-044043
        git checkout 615076d4f3c2d9c7da7dadb0850654ca6136f73a
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=um 

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/vhost/vsock.c:960:9: sparse: sparse: context imbalance in 'vsock_start' - wrong count at exit
   drivers/vhost/vsock.c:963:13: sparse: sparse: context imbalance in 'vsock_stop' - unexpected unlock

vim +/vsock_start +960 drivers/vhost/vsock.c

615076d4f3c2d9 Steven Rostedt 2021-05-05  943  
615076d4f3c2d9 Steven Rostedt 2021-05-05  944  static void *vsock_start(struct seq_file *m, loff_t *pos)
615076d4f3c2d9 Steven Rostedt 2021-05-05  945  {
615076d4f3c2d9 Steven Rostedt 2021-05-05  946  	struct vsock_file_iter *iter = m->private;
615076d4f3c2d9 Steven Rostedt 2021-05-05  947  	loff_t l = 0;
615076d4f3c2d9 Steven Rostedt 2021-05-05  948  	void *t;
615076d4f3c2d9 Steven Rostedt 2021-05-05  949  
615076d4f3c2d9 Steven Rostedt 2021-05-05  950  	rcu_read_lock();
615076d4f3c2d9 Steven Rostedt 2021-05-05  951  
615076d4f3c2d9 Steven Rostedt 2021-05-05  952  	iter->index = -1;
615076d4f3c2d9 Steven Rostedt 2021-05-05  953  	iter->node = NULL;
615076d4f3c2d9 Steven Rostedt 2021-05-05  954  	t = vsock_next(m, iter, NULL);
615076d4f3c2d9 Steven Rostedt 2021-05-05  955  
615076d4f3c2d9 Steven Rostedt 2021-05-05  956  	for (; iter->index < HASH_SIZE(vhost_vsock_hash) && l < *pos;
615076d4f3c2d9 Steven Rostedt 2021-05-05  957  	     t = vsock_next(m, iter, &l))
615076d4f3c2d9 Steven Rostedt 2021-05-05  958  		;
615076d4f3c2d9 Steven Rostedt 2021-05-05  959  
615076d4f3c2d9 Steven Rostedt 2021-05-05 @960  	return t;
615076d4f3c2d9 Steven Rostedt 2021-05-05  961  }
615076d4f3c2d9 Steven Rostedt 2021-05-05  962  

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

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

             reply	other threads:[~2021-05-06  1:54 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-06  1:54 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-05-05 20:38 [RFC][PATCH] vhost/vsock: Add vsock_list file to map cid with vhost tasks Steven Rostedt
2021-05-05 20:38 ` Steven Rostedt
2021-05-06  1:03 ` Steven Rostedt
2021-05-06  1:03   ` Steven Rostedt
2021-05-07 14:11 ` Stefano Garzarella
2021-05-07 14:11   ` Stefano Garzarella
2021-05-07 14:40   ` Steven Rostedt
2021-05-07 14:40     ` Steven Rostedt
2021-05-07 15:43     ` Stefano Garzarella
2021-05-07 15:43       ` Stefano Garzarella
2021-05-07 16:09       ` Steven Rostedt
2021-05-07 16:09         ` Steven Rostedt
2021-05-08 18:32 ` Mike Christie
2021-05-08 18:32   ` Mike Christie
2021-05-13 15:57 ` Stefan Hajnoczi
2021-05-13 15:57   ` Stefan Hajnoczi
2021-05-13 16:08   ` Steven Rostedt
2021-05-13 16:08     ` Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202105060909.EiCYOsaZ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.