tree:
https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git testing
head: e5cfcce2ab02eabe42d31fa5d29ffdbebfd48675
commit: e5cfcce2ab02eabe42d31fa5d29ffdbebfd48675 [12/12] iio: hrtimer: Allow sub Hz
granularity
config: i386-randconfig-a005-20201215 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
#
https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git/commit/?id=...
git remote add iio
https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git
git fetch --no-tags iio testing
git checkout e5cfcce2ab02eabe42d31fa5d29ffdbebfd48675
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: drivers/iio/trigger/iio-trig-hrtimer.o: in function
`iio_hrtimer_store_sampling_frequency':
> drivers/iio/trigger/iio-trig-hrtimer.c:67: undefined reference to
`__udivdi3'
vim +67 drivers/iio/trigger/iio-trig-hrtimer.c
45
46 static
47 ssize_t iio_hrtimer_store_sampling_frequency(struct device *dev,
48 struct device_attribute *attr,
49 const char *buf, size_t len)
50 {
51 struct iio_trigger *trig = to_iio_trigger(dev);
52 struct iio_hrtimer_info *info = iio_trigger_get_drvdata(trig);
53 unsigned long long val;
54 int integer, fract, ret;
55
56 ret = iio_str_to_fixpoint(buf, 100, &integer, &fract);
57 if (ret)
58 return ret;
59
60 val = fract + 1000 * integer;
61
62 if (!val || val > NSEC_PER_SEC * 1000)
63 return -EINVAL;
64
65 info->sampling_frequency[0] = integer;
66 info->sampling_frequency[1] = fract * 1000;
67 info->period = NSEC_PER_SEC * 1000 / val;
68
69 return len;
70 }
71
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org