linux-arch.vger.kernel.org archive mirror
 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-arch@vger.kernel.org
Subject: [asm-generic:clkdev 4/7] arch/m68k/coldfire/m527x.c:89:2: error: implicit declaration of function 'wm527x_clk_lookupritew'
Date: Tue, 1 Jun 2021 04:56:15 +0800	[thread overview]
Message-ID: <202106010412.RIifyF89-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git clkdev
head:   94fc3071e40c1a3e292037e2ef80feb5af0d2187
commit: 35170aeed26ef3f947e96de245b5c933a152a218 [4/7] m68k: coldfire: use clkdev_lookup on most coldfire
config: m68k-randconfig-r014-20210531 (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=35170aeed26ef3f947e96de245b5c933a152a218
        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 35170aeed26ef3f947e96de245b5c933a152a218
        # 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 >>):

   arch/m68k/coldfire/m527x.c: In function 'm527x_i2c_init':
>> arch/m68k/coldfire/m527x.c:89:2: error: implicit declaration of function 'wm527x_clk_lookupritew' [-Werror=implicit-function-declaration]
      89 |  wm527x_clk_lookupritew(par, MCFGPIO_PAR_FECI2C);
         |  ^~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/wm527x_clk_lookupritew +89 arch/m68k/coldfire/m527x.c

    70	
    71	static void __init m527x_i2c_init(void)
    72	{
    73	#if IS_ENABLED(CONFIG_I2C_IMX)
    74	#if defined(CONFIG_M5271)
    75		u8 par;
    76	
    77		/* setup Port FECI2C Pin Assignment Register for I2C */
    78		/*  set PAR_SCL to SCL and PAR_SDA to SDA */
    79		par = readb(MCFGPIO_PAR_FECI2C);
    80		par |= 0x0f;
    81		writeb(par, MCFGPIO_PAR_FECI2C);
    82	#elif defined(CONFIG_M5275)
    83		u16 par;
    84	
    85		/* setup Port FECI2C Pin Assignment Register for I2C */
    86		/*  set PAR_SCL to SCL and PAR_SDA to SDA */
    87		par = readw(MCFGPIO_PAR_FECI2C);
    88		par |= 0x0f;
  > 89		wm527x_clk_lookupritew(par, MCFGPIO_PAR_FECI2C);
    90	#endif
    91	#endif /* IS_ENABLED(CONFIG_I2C_IMX) */
    92	}
    93	

---
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: 25278 bytes --]

                 reply	other threads:[~2021-05-31 20:56 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=202106010412.RIifyF89-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=arnd@arndb.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arch@vger.kernel.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).