linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: Ian Abbott <abbotti@mev.co.uk>,
	kbuild test robot <fengguang.wu@intel.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	Arnd Bergmann <arnd@arndb.de>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>,
	Thomas Gleixner <tglx@linutronix.de>
Subject: Re: include/linux/kernel.h:860:32: error: dereferencing pointer to incomplete type 'struct clock_event_device'
Date: Mon, 25 Sep 2017 18:37:57 +0200	[thread overview]
Message-ID: <2a392cd7-22b3-f41d-b4e4-7b97bf2f3637@linaro.org> (raw)
In-Reply-To: <176e63fe-59af-84f4-b0f5-d70b3db0c1e5@mev.co.uk>

On 25/09/2017 17:15, Ian Abbott wrote:
> [Sorry for the repost.A  I forgot to Cc the people I said I was Cc'ing!]

Hi Ian,

[ ... ]


> On 24/09/17 09:26, kbuild test robot wrote:
>> Hi Ian,
>>
>> FYI, the error/warning still remains.
>>
>> tree:A A 
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>> head:A A  cd4175b11685b11c40e31a03e05084cc212b0649
>> commit: c7acec713d14c6ce8a20154f9dfda258d6bcad3b kernel.h: handle
>> pointers to arrays better in container_of()
>> date:A A  2 months ago
>> config: ia64-allmodconfig (attached as .config)
>> compiler: ia64-linux-gcc (GCC) 6.2.0
>> reproduce:
>> A A A A A A A A  wget
>> https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross
>> -O ~/bin/make.cross
>> A A A A A A A A  chmod +x ~/bin/make.cross
>> A A A A A A A A  git checkout c7acec713d14c6ce8a20154f9dfda258d6bcad3b
>> A A A A A A A A  # save the attached .config to linux build tree
>> A A A A A A A A  make.cross ARCH=ia64
>>
>> All errors (new ones prefixed by >>):
>>
>> A A A  In file included from drivers/clocksource/timer-of.c:25:0:
>> A A A  drivers/clocksource/timer-of.h:35:28: error: field 'clkevt' has
>> incomplete type
>> A A A A A  struct clock_event_device clkevt;

[ ... ]

> 
> Cc'ing Daniel Lezcano and Thomas Gleixner, since this seems to be a
> problem with configurations selecting 'TIMER_OF' even though
> 'GENERIC_CLOCKEVENTS' is not selected.
> 
> There was a recent-ish commit 599dc457c79b
> ("clocksource/drivers/Kconfig: Fix CLKSRC_PISTACHIO dependencies") to
> address this problem for one particular clocksource driver, but some
> other clocksource drivers seem to share the same problem.A  There are
> several clocksource config options in "drivers/clocksource/Kconfig" that
> select 'TIMER_OF' without depending on 'GENERIC_CLOCKEVENTS'.A  Some of
> them are only manually selectable when 'COMPILE_TEST' is selected.A  This
> particular failure seems to be at least partly due to 'ARMV7M_SYSTICK'
> getting selected.

Thanks for Cc'ing. This issue is currently in the way to be fixed.

https://patchwork.kernel.org/patch/9939191/

  -- Daniel

-- 
 <http://www.linaro.org/> Linaro.org a?? Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2017-09-25 16:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-24  8:26 include/linux/kernel.h:860:32: error: dereferencing pointer to incomplete type 'struct clock_event_device' kbuild test robot
2017-09-25 15:06 ` Ian Abbott
2017-09-25 15:15 ` Ian Abbott
2017-09-25 16:37   ` Daniel Lezcano [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-08-06  5:13 kbuild test robot
2017-07-30 14:07 kbuild test robot
2017-07-23  4:56 kbuild test robot
2017-07-24 10:31 ` Ian Abbott
2017-07-16  3:24 kbuild test robot
2017-07-16 13:50 ` Ian Abbott
2017-07-16 14:14   ` Ian Abbott
2017-07-16 14:23     ` Ian Abbott

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2a392cd7-22b3-f41d-b4e4-7b97bf2f3637@linaro.org \
    --to=daniel.lezcano@linaro.org \
    --cc=abbotti@mev.co.uk \
    --cc=akpm@linux-foundation.org \
    --cc=arnd@arndb.de \
    --cc=fengguang.wu@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).