lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 25 Jan 2022 08:26:34 +0800
From:   kernel test robot <lkp@...el.com>
To:     Ingo Molnar <mingo@...nel.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.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'

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@...el.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@...e.de>
:::::: CC: Paul Burton <paulburton@...nel.org>

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

Powered by blists - more mailing lists