Re: [PATCH V3] IB/uverbs: Fix race between uverbs_close and remove_on

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It looks like braces are missing on lines 964 and 968.

julia


> Hi Devesh,
> 
> [auto build test WARNING on rdma/master]
> [also build test WARNING on v4.5-rc7 next-20160311]
> [if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
> 
> url:    https://github.com/0day-ci/linux/commits/Devesh-Sharma/IB-uverbs-Fix-race-between-uverbs_close-and-remove_one/20160311-232536
> base:   https://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma master
> :::::: branch date: 71 minutes ago
> :::::: commit date: 71 minutes ago
> 
> >> drivers/infiniband/core/uverbs_main.c:965:2-54: code aligned with following code on line 966
> 
> git remote add linux-review https://github.com/0day-ci/linux
> git remote update linux-review
> git checkout 850ad4029f22757665c94675f929a6cfa2ba4f60
> vim +965 drivers/infiniband/core/uverbs_main.c
> 
> 850ad4029 Devesh Sharma 2016-03-11  959  	int srcu_key;
> 850ad4029 Devesh Sharma 2016-03-11  960  
> 850ad4029 Devesh Sharma 2016-03-11  961  	srcu_key = srcu_read_lock(&dev->disassociate_srcu);
> 850ad4029 Devesh Sharma 2016-03-11  962  	ib_dev = srcu_dereference(dev->ib_dev,
> 850ad4029 Devesh Sharma 2016-03-11  963  				  &dev->disassociate_srcu);
> 850ad4029 Devesh Sharma 2016-03-11  964  	if (!ib_dev)
> 850ad4029 Devesh Sharma 2016-03-11 @965  		srcu_read_unlock(&dev->disassociate_srcu, srcu_key);
> 850ad4029 Devesh Sharma 2016-03-11 @966  		wait_for_completion(&file->fcomp);
> 850ad4029 Devesh Sharma 2016-03-11  967  		goto out;
> bc38a6abd Roland Dreier 2005-07-07  968  
> 036b10635 Yishai Hadas  2015-08-13  969  	mutex_lock(&file->device->lists_mutex);
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux