Re: [PATCH v3] iio: humidity: hdc100x: add triggered buffer support for HDC100X

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

 



Please check on the lines marked with @.  An unlock may be needed at line
210.

julia

---------- Forwarded message ----------
Date: Fri, 2 Sep 2016 07:19:23 +0800
From: kbuild test robot <fengguang.wu@xxxxxxxxx>
To: kbuild@xxxxxx
Cc: Julia Lawall <julia.lawall@xxxxxxx>
Subject: Re: [PATCH v3] iio: humidity: hdc100x: add triggered buffer support for
     HDC100X

Hi Alison,

[auto build test WARNING on next-20160825]
[also build test WARNING on v4.8-rc4]
[cannot apply to iio/togreg v4.8-rc4 v4.8-rc3 v4.8-rc2]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    https://github.com/0day-ci/linux/commits/Alison-Schofield/iio-humidity-hdc100x-add-triggered-buffer-support-for-HDC100X/20160902-055115
:::::: branch date: 88 minutes ago
:::::: commit date: 88 minutes ago

>> drivers/iio/humidity/hdc100x.c:210:4-10: preceding lock on line 203
   drivers/iio/humidity/hdc100x.c:345:1-7: preceding lock on line 325

git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout f6862a537522f8d668f7daec0aa0817f87706017
vim +210 drivers/iio/humidity/hdc100x.c

4839367d9 Matt Ranostay    2015-09-06  197  	struct hdc100x_data *data = iio_priv(indio_dev);
4839367d9 Matt Ranostay    2015-09-06  198
4839367d9 Matt Ranostay    2015-09-06  199  	switch (mask) {
4839367d9 Matt Ranostay    2015-09-06  200  	case IIO_CHAN_INFO_RAW: {
4839367d9 Matt Ranostay    2015-09-06  201  		int ret;
4839367d9 Matt Ranostay    2015-09-06  202
4839367d9 Matt Ranostay    2015-09-06 @203  		mutex_lock(&data->lock);
4839367d9 Matt Ranostay    2015-09-06  204  		if (chan->type == IIO_CURRENT) {
4839367d9 Matt Ranostay    2015-09-06  205  			*val = hdc100x_get_heater_status(data);
4839367d9 Matt Ranostay    2015-09-06  206  			ret = IIO_VAL_INT;
4839367d9 Matt Ranostay    2015-09-06  207  		} else {
f6862a537 Alison Schofield 2016-09-01  208  			ret = iio_device_claim_direct_mode(indio_dev);
f6862a537 Alison Schofield 2016-09-01  209  			if (ret)
f6862a537 Alison Schofield 2016-09-01 @210  				return ret;
f6862a537 Alison Schofield 2016-09-01  211
4839367d9 Matt Ranostay    2015-09-06  212  			ret = hdc100x_get_measurement(data, chan);
f6862a537 Alison Schofield 2016-09-01  213  			iio_device_release_direct_mode(indio_dev);

---
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-iio" 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]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux