linux-next: build failure after merge of the clk tree

From: Stephen Rothwell
Date: Thu Feb 26 2015 - 22:09:18 EST


Hi Mike,

After merging the clk tree, today's linux-next build (x86_64
allmodconfig) failed like this:

In file included from include/trace/define_trace.h:90:0,
from include/trace/events/clk.h:198,
from drivers/clk/clk.c:26:
include/trace/events/clk.h: In function 'ftrace_get_offsets_clk':
include/trace/events/clk.h:30:40: error: dereferencing pointer to incomplete type
__string( name, core->name )
^
include/trace/ftrace.h:465:2: note: in definition of macro 'DECLARE_EVENT_CLASS'
tstruct; \
^
include/trace/events/clk.h:29:2: note: in expansion of macro 'TP_STRUCT__entry'
TP_STRUCT__entry(
^
include/trace/ftrace.h:430:29: note: in expansion of macro '__dynamic_array'
#define __string(item, src) __dynamic_array(char, item, \
^
include/trace/events/clk.h:30:3: note: in expansion of macro '__string'
__string( name, core->name )
^

and many more ...

Caused by commit 0742a46667e3 ("clk: Add tracepoints for hardware
operations").

I have used the version of the clk tree from next-20150225 for today
(since yesterday's tree had a different build problem).
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgpSGDXWVgtSi.pgp
Description: OpenPGP digital signature