linux-next: build warning after merge of the clk tree
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]
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the clk tree, today's linux-next build (
x86_64allmodconfig) produced this warning:
Quoted 8 lines
drivers/clk/clk.c:2231:13: warning: 'clk_is_orphan' defined but not used [-Wunused-function]
static boolclk_is_orphan(const struct clk *clk)^Introduced by commit
ece3ffbe1b7b("clk: prevent orphan clocks from being used").
CONFIG_OFis 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