linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* arch/m68k/coldfire/m5249.c:28:19: sparse: sparse: symbol 'm5249_clk_lookup' was not declared. Should it be static?
@ 2021-07-30  4:00 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-30  4:00 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: kbuild-all, linux-kernel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   7e96bf476270aecea66740a083e51b38c1371cd2
commit: 63aadb77669a6856b26d73da85b4f788731524a3 m68k: coldfire: use clkdev_lookup on most coldfire
date:   7 weeks ago
config: m68k-randconfig-s032-20210722 (attached as .config)
compiler: m68k-linux-gcc (GCC) 10.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-341-g8af24329-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=63aadb77669a6856b26d73da85b4f788731524a3
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 63aadb77669a6856b26d73da85b4f788731524a3
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=m68k SHELL=/bin/bash arch/m68k/coldfire/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
>> arch/m68k/coldfire/m5249.c:28:19: sparse: sparse: symbol 'm5249_clk_lookup' was not declared. Should it be static?

vim +/m5249_clk_lookup +28 arch/m68k/coldfire/m5249.c

    27	
  > 28	struct clk_lookup m5249_clk_lookup[] = {
    29		CLKDEV_INIT(NULL, "pll.0", &clk_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: 30522 bytes --]

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

only message in thread, other threads:[~2021-07-30  4:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-30  4:00 arch/m68k/coldfire/m5249.c:28:19: sparse: sparse: symbol 'm5249_clk_lookup' was not declared. Should it be static? 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).