CC: [email protected]
In-Reply-To: <[email protected]>
References: <[email protected]>
TO: Steven Rostedt <[email protected]>

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 <[email protected]>


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/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to