Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages May 6, 2015 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/clk/clk.c:2231:13: warning: 'clk_is_orphan' defined but not used [-Wunused-function]
static bool clk_is_orphan(const struct clk *clk)

             ^

Introduced by commit ece3ffbe1b7b ("clk: prevent orphan clocks from being used").

CONFIG_OF is not set for this build ...

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw
Quoted 5 lines · Stephen Rothwell

Hi all,

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

Quoted 8 lines

drivers/clk/clk.c:2231:13: warning: 'clk_is_orphan' defined but not used [-Wunused-function]
static bool clk_is_orphan(const struct clk *clk)

             ^

Introduced by commit ece3ffbe1b7b ("clk: prevent orphan clocks from being used").

CONFIG_OF is not set for this build ...

Thanks for the report. kbuild robot also reported this problem the other day. We came up with a way to not have this function at all though so this problem should go away tomorrow.

Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project