* [mingo-tip:sched/headers 2259/2384] arch/mips/include/asm/sgi/heart.h:321:25: error: implicit declaration of function '____raw_writeq'
@ 2022-01-25 0:26 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-25 0:26 UTC (permalink / raw)
To: Ingo Molnar; +Cc: kbuild-all, linux-kernel
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head: 4c707c1c0de83967079b4e385012fa5b00e2cd11
commit: a589a381615b4e9581c08e10c86d4fc56bd817ea [2259/2384] headers/deps: irq: Optimize <linux/interrupt.h> dependencies
config: mips-randconfig-m031-20220124 (https://download.01.org/0day-ci/archive/20220125/202201250737.EsYDONpH-lkp@intel.com/config)
compiler: mips64-linux-gcc (GCC) 11.2.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/mingo/tip.git/commit/?id=a589a381615b4e9581c08e10c86d4fc56bd817ea
git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
git fetch --no-tags mingo-tip sched/headers
git checkout a589a381615b4e9581c08e10c86d4fc56bd817ea
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash arch/mips/sgi-ip30/ drivers/media/test-drivers/vidtv/ drivers/usb/chipidea/ drivers/usb/usbip/
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 >>):
In file included from arch/mips/sgi-ip30/ip30-power.c:21:
arch/mips/sgi-ip30/ip30-power.c: In function 'ip30_machine_restart':
>> arch/mips/include/asm/sgi/heart.h:321:25: error: implicit declaration of function '____raw_writeq' [-Werror=implicit-function-declaration]
321 | #define heart_write ____raw_writeq
| ^~~~~~~~~~~~~~
arch/mips/sgi-ip30/ip30-power.c:29:9: note: in expansion of macro 'heart_write'
29 | heart_write((heart_read(&heart_regs->mode) | HM_COLD_RST),
| ^~~~~~~~~~~
>> arch/mips/include/asm/sgi/heart.h:320:25: error: implicit declaration of function '____raw_readq' [-Werror=implicit-function-declaration]
320 | #define heart_read ____raw_readq
| ^~~~~~~~~~~~~
arch/mips/sgi-ip30/ip30-power.c:29:22: note: in expansion of macro 'heart_read'
29 | heart_write((heart_read(&heart_regs->mode) | HM_COLD_RST),
| ^~~~~~~~~~
cc1: some warnings being treated as errors
--
>> drivers/usb/usbip/vhci_hcd.c:287:43: error: implicit declaration of function 'ilog2' [-Werror=implicit-function-declaration]
287 | .bFunctionalitySupport = ilog2(USB_5GBPS_OPERATION),
| ^~~~~
>> drivers/usb/usbip/vhci_hcd.c:287:43: error: initializer element is not constant
drivers/usb/usbip/vhci_hcd.c:287:43: note: (near initialization for 'usb3_bos_desc.ss_cap.bFunctionalitySupport')
cc1: some warnings being treated as errors
vim +/____raw_writeq +321 arch/mips/include/asm/sgi/heart.h
7505576d1c1ac0 Thomas Bogendoerfer 2019-10-24 319
7505576d1c1ac0 Thomas Bogendoerfer 2019-10-24 @320 #define heart_read ____raw_readq
7505576d1c1ac0 Thomas Bogendoerfer 2019-10-24 @321 #define heart_write ____raw_writeq
7505576d1c1ac0 Thomas Bogendoerfer 2019-10-24 322
:::::: The code at line 321 was first introduced by commit
:::::: 7505576d1c1ac0cfe85fdf90999433dd8b673012 MIPS: add support for SGI Octane (IP30)
:::::: TO: Thomas Bogendoerfer <tbogendoerfer@suse.de>
:::::: CC: Paul Burton <paulburton@kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-25 3:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-25 0:26 [mingo-tip:sched/headers 2259/2384] arch/mips/include/asm/sgi/heart.h:321:25: error: implicit declaration of function '____raw_writeq' 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).