Re: linux-next: build failure after merge of the clockevents tree

From: Daniel Lezcano
Date: Tue Jun 04 2019 - 02:01:30 EST



Hi Stephen,

I dropped the patch from my tree.

Thanks

-- Daniel

On 03/06/2019 04:13, Stephen Rothwell wrote:
> Hi Daniel,
>
> After merging the clockevents tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/clocksource/timer-atmel-tcb.c: In function 'tcb_clksrc_init':
> drivers/clocksource/timer-atmel-tcb.c:448:17: error: invalid use of undefined type 'struct delay_timer'
> tc_delay_timer.read_current_timer = tc_delay_timer_read32;
> ^
> drivers/clocksource/timer-atmel-tcb.c:461:17: error: invalid use of undefined type 'struct delay_timer'
> tc_delay_timer.read_current_timer = tc_delay_timer_read;
> ^
> drivers/clocksource/timer-atmel-tcb.c:476:16: error: invalid use of undefined type 'struct delay_timer'
> tc_delay_timer.freq = divided_rate;
> ^
> drivers/clocksource/timer-atmel-tcb.c:477:2: error: implicit declaration of function 'register_current_timer_delay'; did you mean 'read_current_timer'? [-Werror=implicit-function-declaration]
> register_current_timer_delay(&tc_delay_timer);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> read_current_timer
> drivers/clocksource/timer-atmel-tcb.c: At top level:
> drivers/clocksource/timer-atmel-tcb.c:129:27: error: storage size of 'tc_delay_timer' isn't known
> static struct delay_timer tc_delay_timer;
> ^~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
>
> Caused by commit
>
> dd40f5020581 ("clocksource/drivers/tcb_clksrc: Register delay timer")
>
> I have reverted that commit for today.
>


--
<http://www.linaro.org/> Linaro.org â 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


Attachment: signature.asc
Description: OpenPGP digital signature