linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [mingo-tip:sched/headers 2259/2384] arch/mips/include/asm/sgi/heart.h:321:25: error: implicit declaration of function '____raw_writeq'
Date: Tue, 25 Jan 2022 08:26:34 +0800	[thread overview]
Message-ID: <202201250737.EsYDONpH-lkp@intel.com> (raw)

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

                 reply	other threads:[~2022-01-25  3: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=202201250737.EsYDONpH-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@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).