tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.19
head: 9238e47da086f0075b28712a867544a7cda5e9e1
commit: 4b88c39b1b5ad6db8510376b0b79ced4067740da [20/56] BACKPORT: platform/chrome:
cros-ec: Record event timestamp in the hard irq
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 4b88c39b1b5ad6db8510376b0b79ced4067740da
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Note: the chrome-os/chromeos-4.19 HEAD 9238e47da086f0075b28712a867544a7cda5e9e1 builds
fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
> drivers/iio/common/cros_ec_sensors/cros_ec_sensors_ring.c:203:12:
error: redefinition of 'cros_ec_get_time_ns'
203 | static s64
cros_ec_get_time_ns(void)
| ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/iio/common/cros_ec_sensors_core.h:22,
from drivers/iio/common/cros_ec_sensors/cros_ec_sensors_ring.c:23:
include/linux/platform_data/cros_ec_proto.h:233:23: note: previous definition of
'cros_ec_get_time_ns' was here
233 | static inline ktime_t cros_ec_get_time_ns(void)
| ^~~~~~~~~~~~~~~~~~~
vim +/cros_ec_get_time_ns +203 drivers/iio/common/cros_ec_sensors/cros_ec_sensors_ring.c
4b208bef8954b0 Enric Balletbo i Serra 2017-06-19 202
25c433d3355981 Gwendal Grignou 2019-10-27 @203 static s64
cros_ec_get_time_ns(void)
25c433d3355981 Gwendal Grignou 2019-10-27 204 {
25c433d3355981 Gwendal Grignou 2019-10-27 205 struct timespec ts;
25c433d3355981 Gwendal Grignou 2019-10-27 206
25c433d3355981 Gwendal Grignou 2019-10-27 207 get_monotonic_boottime(&ts);
25c433d3355981 Gwendal Grignou 2019-10-27 208 return timespec_to_ns(&ts);
25c433d3355981 Gwendal Grignou 2019-10-27 209 }
25c433d3355981 Gwendal Grignou 2019-10-27 210
:::::: The code at line 203 was first introduced by commit
:::::: 25c433d3355981533f4954d8c53de14d4c5f75fe Revert "CHROMIUM: cros-ec: record
event timestamp in the hard irq"
:::::: TO: Gwendal Grignou <gwendal(a)chromium.org>
:::::: CC: Commit Bot <commit-bot(a)chromium.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org