Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1468973

Re: [PATCH] iio: adc: ltc2485: add support for Linear Technology LTC2485 ADC

From Alison Schofield <amsfield22@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] iio: adc: ltc2485: add support for Linear Technology LTC2485 ADC
Date 2016-08-24 01:30 +0200
Message-ID <s9tiN-2mk-7@gated-at.bofh.it> (permalink)
References <s9azv-6Qj-7@gated-at.bofh.it> <s9hhE-2L7-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Aug 23, 2016 at 06:27:58PM +0800, kbuild test robot wrote:
> Hi Alison,
> 
> [auto build test ERROR on iio/togreg]
> [also build test ERROR on v4.8-rc3 next-20160823]
> [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-adc-ltc2485-add-support-for-Linear-Technology-LTC2485-ADC/20160823-112916
> base:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
> config: i386-allyesconfig (attached as .config)
> compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
> reproduce:
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> All errors (new ones prefixed by >>):
> 
>    drivers/built-in.o: In function `ltc2485_read_raw':
> >> ltc2485.c:(.text+0x2795c3b): undefined reference to `__divdi3'
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

This is in the timestamp comparison code.  I guess I could use a
do_div macro to perform the task.  However, now that I've stared
the code a bit more, it doesn't need to be real time and in fact
it would be better/safer to use monotonic time.  So, I'll change
to monotonic time and use the ktime_t macros to manipulate.

Thanks kbuild robot for finding this immediately!!
alisons

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] iio: adc: ltc2485: add support for Linear Technology LTC2485  ADC Alison Schofield <amsfield22@gmail.com> - 2016-08-23 05:30 +0200
  Re: [PATCH] iio: adc: ltc2485: add support for Linear Technology  LTC2485 ADC Peter Meerwald-Stadler <pmeerw@pmeerw.net> - 2016-08-23 07:40 +0200
  Re: [PATCH] iio: adc: ltc2485: add support for Linear Technology  LTC2485 ADC Alison Schofield <amsfield22@gmail.com> - 2016-08-24 01:30 +0200

csiph-web