linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [asm-generic:clkdev 4/7] arch/m68k/coldfire/m527x.c:89:2: error: implicit declaration of function 'wm527x_clk_lookupritew'
@ 2021-05-31 20:56 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-31 20:56 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: kbuild-all, linux-arch

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

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

only message in thread, other threads:[~2021-05-31 20:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-31 20:56 [asm-generic:clkdev 4/7] arch/m68k/coldfire/m527x.c:89:2: error: implicit declaration of function 'wm527x_clk_lookupritew' 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).