All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/watchdog/m54xx_wdt.c:49:9: error: implicit declaration of function '__raw_readl'
@ 2020-05-08 17:21 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-05-08 17:21 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: kbuild-all, linux-kernel

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   79dede78c0573618e3137d3d8cbf78c84e25fabd
commit: 9e860351550b28901a78f122b1e2dc97f78ba369 m68knommu: Remove mm.h include from uaccess_no.h
date:   6 weeks ago
config: m68k-randconfig-r006-20200507 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 9e860351550b28901a78f122b1e2dc97f78ba369
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=m68k 

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

All errors (new ones prefixed by >>):

   drivers/watchdog/m54xx_wdt.c: In function 'wdt_enable':
>> drivers/watchdog/m54xx_wdt.c:49:9: error: implicit declaration of function '__raw_readl' [-Werror=implicit-function-declaration]
      49 |  gms0 = __raw_readl(MCF_GPT_GMS0);
         |         ^~~~~~~~~~~
>> drivers/watchdog/m54xx_wdt.c:55:2: error: implicit declaration of function '__raw_writel'; did you mean '__raw_write_lock'? [-Werror=implicit-function-declaration]
      55 |  __raw_writel(gms0, MCF_GPT_GMS0);
         |  ^~~~~~~~~~~~
         |  __raw_write_lock
   cc1: some warnings being treated as errors

vim +/__raw_readl +49 drivers/watchdog/m54xx_wdt.c

88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  43  
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  44  static void wdt_enable(void)
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  45  {
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  46  	unsigned int gms0;
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  47  
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  48  	/* preserve GPIO usage, if any */
944c3d81dbead14 drivers/watchdog/m54xx_wdt.c Greg Ungerer       2012-09-18 @49  	gms0 = __raw_readl(MCF_GPT_GMS0);
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  50  	if (gms0 & MCF_GPT_GMS_TMS_GPIO)
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  51  		gms0 &= (MCF_GPT_GMS_TMS_GPIO | MCF_GPT_GMS_GPIO_MASK
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  52  							| MCF_GPT_GMS_OD);
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  53  	else
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  54  		gms0 = MCF_GPT_GMS_TMS_GPIO | MCF_GPT_GMS_OD;
944c3d81dbead14 drivers/watchdog/m54xx_wdt.c Greg Ungerer       2012-09-18 @55  	__raw_writel(gms0, MCF_GPT_GMS0);
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  56  	__raw_writel(MCF_GPT_GCIR_PRE(heartbeat*(MCF_BUSCLK/0xffff)) |
944c3d81dbead14 drivers/watchdog/m54xx_wdt.c Greg Ungerer       2012-09-18  57  			MCF_GPT_GCIR_CNT(0xffff), MCF_GPT_GCIR0);
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  58  	gms0 |= MCF_GPT_GMS_OCPW(0xA5) | MCF_GPT_GMS_WDEN | MCF_GPT_GMS_CE;
944c3d81dbead14 drivers/watchdog/m54xx_wdt.c Greg Ungerer       2012-09-18  59  	__raw_writel(gms0, MCF_GPT_GMS0);
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  60  }
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  61  

:::::: The code at line 49 was first introduced by commit
:::::: 944c3d81dbead14725e7d12675c37a2027760608 m68knommu: clean up ColdFire 54xx General Timer definitions

:::::: TO: Greg Ungerer <gerg@uclinux.org>
:::::: CC: Greg Ungerer <gerg@uclinux.org>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* drivers/watchdog/m54xx_wdt.c:49:9: error: implicit declaration of function '__raw_readl'
@ 2020-05-08 17:21 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-05-08 17:21 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   79dede78c0573618e3137d3d8cbf78c84e25fabd
commit: 9e860351550b28901a78f122b1e2dc97f78ba369 m68knommu: Remove mm.h include from uaccess_no.h
date:   6 weeks ago
config: m68k-randconfig-r006-20200507 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 9e860351550b28901a78f122b1e2dc97f78ba369
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=m68k 

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

All errors (new ones prefixed by >>):

   drivers/watchdog/m54xx_wdt.c: In function 'wdt_enable':
>> drivers/watchdog/m54xx_wdt.c:49:9: error: implicit declaration of function '__raw_readl' [-Werror=implicit-function-declaration]
      49 |  gms0 = __raw_readl(MCF_GPT_GMS0);
         |         ^~~~~~~~~~~
>> drivers/watchdog/m54xx_wdt.c:55:2: error: implicit declaration of function '__raw_writel'; did you mean '__raw_write_lock'? [-Werror=implicit-function-declaration]
      55 |  __raw_writel(gms0, MCF_GPT_GMS0);
         |  ^~~~~~~~~~~~
         |  __raw_write_lock
   cc1: some warnings being treated as errors

vim +/__raw_readl +49 drivers/watchdog/m54xx_wdt.c

88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  43  
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  44  static void wdt_enable(void)
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  45  {
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  46  	unsigned int gms0;
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  47  
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  48  	/* preserve GPIO usage, if any */
944c3d81dbead14 drivers/watchdog/m54xx_wdt.c Greg Ungerer       2012-09-18 @49  	gms0 = __raw_readl(MCF_GPT_GMS0);
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  50  	if (gms0 & MCF_GPT_GMS_TMS_GPIO)
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  51  		gms0 &= (MCF_GPT_GMS_TMS_GPIO | MCF_GPT_GMS_GPIO_MASK
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  52  							| MCF_GPT_GMS_OD);
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  53  	else
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  54  		gms0 = MCF_GPT_GMS_TMS_GPIO | MCF_GPT_GMS_OD;
944c3d81dbead14 drivers/watchdog/m54xx_wdt.c Greg Ungerer       2012-09-18 @55  	__raw_writel(gms0, MCF_GPT_GMS0);
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  56  	__raw_writel(MCF_GPT_GCIR_PRE(heartbeat*(MCF_BUSCLK/0xffff)) |
944c3d81dbead14 drivers/watchdog/m54xx_wdt.c Greg Ungerer       2012-09-18  57  			MCF_GPT_GCIR_CNT(0xffff), MCF_GPT_GCIR0);
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  58  	gms0 |= MCF_GPT_GMS_OCPW(0xA5) | MCF_GPT_GMS_WDEN | MCF_GPT_GMS_CE;
944c3d81dbead14 drivers/watchdog/m54xx_wdt.c Greg Ungerer       2012-09-18  59  	__raw_writel(gms0, MCF_GPT_GMS0);
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  60  }
88cce427626070f drivers/watchdog/m548x_wdt.c Philippe De Muyter 2010-11-03  61  

:::::: The code at line 49 was first introduced by commit
:::::: 944c3d81dbead14725e7d12675c37a2027760608 m68knommu: clean up ColdFire 54xx General Timer definitions

:::::: TO: Greg Ungerer <gerg@uclinux.org>
:::::: CC: Greg Ungerer <gerg@uclinux.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-08 17:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-08 17:21 drivers/watchdog/m54xx_wdt.c:49:9: error: implicit declaration of function '__raw_readl' kbuild test robot
2020-05-08 17:21 ` kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.