Re: [PATCH v2 1/1] counter: cros_ec: Add synchronization sensor

From: kbuild test robot
Date: Sat Aug 24 2019 - 15:48:43 EST


Hi Fabien,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to v5.3-rc5 next-20190823]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Fabien-Lahoudere/counter-cros_ec-Add-synchronization-sensor/20190825-001742
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-10) 7.4.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> drivers/counter/cros_ec_sensors_sync.c:60:17: error: 'cros_ec_sensors_core_read_avail' undeclared here (not in a function); did you mean 'cros_ec_sensors_core_read'?
.read_avail = &cros_ec_sensors_core_read_avail,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cros_ec_sensors_core_read

vim +60 drivers/counter/cros_ec_sensors_sync.c

57
58 static struct iio_info cros_ec_sensors_sync_info = {
59 .read_raw = &cros_ec_sensors_sync_read,
> 60 .read_avail = &cros_ec_sensors_core_read_avail,
61 };
62

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip