LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: arch/m68k/coldfire/m5249.c:28:19: sparse: sparse: symbol 'm5249_clk_lookup' was not declared. Should it be static?
Date: Fri, 30 Jul 2021 12:00:27 +0800	[thread overview]
Message-ID: <202107301201.vzpIY6Kp-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-07-30  4:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202107301201.vzpIY6Kp-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=arnd@arndb.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: arch/m68k/coldfire/m5249.c:28:19: sparse: sparse: symbol '\''m5249_clk_lookup'\'' was not declared. Should it be static?' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).