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]
Message-ID: <202112080139.lb5Z5UZJ-lkp@intel.com>
Date:   Wed, 8 Dec 2021 01:31:27 +0800
From:   kernel test robot <lkp@...el.com>
To:     Anup Patel <anup.patel@....com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [avpatel:riscv_kvm_aia_v1 38/40]
 include/linux/irqchip/riscv-imsic.h:64:10: error: use of undeclared
 identifier 'ENODEV'

tree:   https://github.com/avpatel/linux.git riscv_kvm_aia_v1
head:   eb55ca3817a59020fc1e3d5a5de0a5adcebbedd0
commit: c72c5647e9ebb7176ee3862a1ca95bcd3bdfe71b [38/40] RISC-V: KVM: Implement device interface for AIA irqchip
config: riscv-randconfig-c006-20211207 (https://download.01.org/0day-ci/archive/20211208/202112080139.lb5Z5UZJ-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 097a1cb1d5ebb3a0ec4bcaed8ba3ff6a8e33c00a)
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
        # install riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://github.com/avpatel/linux/commit/c72c5647e9ebb7176ee3862a1ca95bcd3bdfe71b
        git remote add avpatel https://github.com/avpatel/linux.git
        git fetch --no-tags avpatel riscv_kvm_aia_v1
        git checkout c72c5647e9ebb7176ee3862a1ca95bcd3bdfe71b
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash

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/riscv/kvm/aia_device.c:10:
>> include/linux/irqchip/riscv-imsic.h:64:10: error: use of undeclared identifier 'ENODEV'
           return -ENODEV;
                   ^
   1 error generated.


vim +/ENODEV +64 include/linux/irqchip/riscv-imsic.h

2ad4dc808c3e01 Anup Patel 2021-04-26  59  
2ad4dc808c3e01 Anup Patel 2021-04-26  60  static inline int imsic_cpu_page_phys(unsigned int cpu,
2ad4dc808c3e01 Anup Patel 2021-04-26  61  				      unsigned int guest_index,
2ad4dc808c3e01 Anup Patel 2021-04-26  62  				      phys_addr_t *out_msi_pa)
2ad4dc808c3e01 Anup Patel 2021-04-26  63  {
2ad4dc808c3e01 Anup Patel 2021-04-26 @64  	return -ENODEV;
2ad4dc808c3e01 Anup Patel 2021-04-26  65  }
2ad4dc808c3e01 Anup Patel 2021-04-26  66  

:::::: The code at line 64 was first introduced by commit
:::::: 2ad4dc808c3e0175e4975b41cecbb996ee217731 irqchip: Add incoming MSI controller driver

:::::: TO: Anup Patel <anup.patel@....com>
:::::: CC: Anup Patel <anup@...infault.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

Powered by Openwall GNU/*/Linux Powered by OpenVZ