tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git clkdev head: 84587cb0f9ed09b9b7f787276ef05beda4ae0ba8 commit: 3eedca7242564b4354dea15b2be395552da556c5 [4/7] m68k: coldfire: use clkdev_lookup on most coldfire config: m68k-randconfig-r013-20210603 (attached as .config) compiler: m68k-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git/commit/?id=3eedca7242564b4354dea15b2be395552da556c5 git remote add asm-generic https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git git fetch --no-tags asm-generic clkdev git checkout 3eedca7242564b4354dea15b2be395552da556c5 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): In file included from arch/m68k/coldfire/m525x.c:12: >> arch/m68k/coldfire/m525x.c:29:30: error: 'pll' undeclared here (not in a function) 29 | CLKDEV_INIT(NULL, "pll.0", &pll), | ^~~ include/linux/clkdev.h:30:10: note: in definition of macro 'CLKDEV_INIT' 30 | .clk = c, \ | ^ In file included from arch/m68k/coldfire/m525x.c:21: arch/m68k/include/asm/mcfclk.h:47:27: warning: 'clk_pll' defined but not used [-Wunused-variable] 47 | static struct clk clk_##clk_ref = { \ | ^~~~ arch/m68k/coldfire/m525x.c:25:1: note: in expansion of macro 'DEFINE_CLK' 25 | DEFINE_CLK(pll, "pll.0", MCF_CLK); | ^~~~~~~~~~ vim +/pll +29 arch/m68k/coldfire/m525x.c 27 28 static struct clk_lookup m525x_clk_lookup[] = { > 29 CLKDEV_INIT(NULL, "pll.0", &pll), 30 CLKDEV_INIT(NULL, "sys.0", &clk_sys), 31 CLKDEV_INIT("mcftmr.0", NULL, &clk_sys), 32 CLKDEV_INIT("mcftmr.1", NULL, &clk_sys), 33 CLKDEV_INIT("mcfuart.0", NULL, &clk_sys), 34 CLKDEV_INIT("mcfuart.1", NULL, &clk_sys), 35 CLKDEV_INIT("mcfqspi.0", NULL, &clk_sys), 36 CLKDEV_INIT("imx1-i2c.0", NULL, &clk_sys), 37 CLKDEV_INIT("imx1-i2c.1", NULL, &clk_sys), 38 }; 39 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip