linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [asm-generic:clkdev 4/7] arch/m68k/coldfire/m525x.c:29:30: error: 'pll' undeclared here (not in a function)
@ 2021-06-03 17:35 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-03 17:35 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: kbuild-all, linux-arch

[-- Attachment #1: Type: text/plain, Size: 2574 bytes --]

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@intel.com>

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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 18741 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-03 17:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-03 17:35 [asm-generic:clkdev 4/7] arch/m68k/coldfire/m525x.c:29:30: error: 'pll' undeclared here (not in a function) kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).