tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/rcar2-cpg-mssr head: bd948f4b8c455dfdbc8175b5c2bc29c91b048971 commit: 647a9d3c4f83250fd1f4e6519cf785319c9afe4c [5/32] clk: Provide dummy of_clk_get_from_provider() for compile-testing config: mips-xway_defconfig (attached as .config) compiler: mips-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 647a9d3c4f83250fd1f4e6519cf785319c9afe4c # save the attached .config to linux build tree make.cross ARCH=mips All errors (new ones prefixed by >>): >> arch/mips//lantiq/clk.c:163:13: error: redefinition of 'of_clk_get_from_provider' struct clk *of_clk_get_from_provider(struct of_phandle_args *clkspec) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from arch/mips//lantiq/clk.c:14:0: include/linux/clk.h:542:27: note: previous definition of 'of_clk_get_from_provider' was here static inline struct clk *of_clk_get_from_provider(struct of_phandle_args *clkspec) ^~~~~~~~~~~~~~~~~~~~~~~~ vim +/of_clk_get_from_provider +163 arch/mips//lantiq/clk.c 287e3f3f John Crispin 2012-04-17 157 287e3f3f John Crispin 2012-04-17 158 if (clk->deactivate) 287e3f3f John Crispin 2012-04-17 159 clk->deactivate(clk); 287e3f3f John Crispin 2012-04-17 160 } 287e3f3f John Crispin 2012-04-17 161 EXPORT_SYMBOL(clk_deactivate); 287e3f3f John Crispin 2012-04-17 162 b902d9a9 John Crispin 2012-07-22 @163 struct clk *of_clk_get_from_provider(struct of_phandle_args *clkspec) b902d9a9 John Crispin 2012-07-22 164 { b902d9a9 John Crispin 2012-07-22 165 return NULL; b902d9a9 John Crispin 2012-07-22 166 } :::::: The code at line 163 was first introduced by commit :::::: b902d9a98e2bd0d3a2b7ddf7bca850b7f853569a MIPS: Lantiq: Platform specific CLK fixup :::::: TO: John Crispin <blogic@xxxxxxxxxxx> :::::: CC: Ralf Baechle <ralf@xxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip