From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 525DDC433F5 for ; Mon, 6 Dec 2021 19:23:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348464AbhLFT0s (ORCPT ); Mon, 6 Dec 2021 14:26:48 -0500 Received: from mga07.intel.com ([134.134.136.100]:57370 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348180AbhLFT0r (ORCPT ); Mon, 6 Dec 2021 14:26:47 -0500 X-IronPort-AV: E=McAfee;i="6200,9189,10190"; a="300771134" X-IronPort-AV: E=Sophos;i="5.87,292,1631602800"; d="scan'208";a="300771134" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Dec 2021 11:23:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,292,1631602800"; d="scan'208";a="502250943" Received: from lkp-server02.sh.intel.com (HELO 9e1e9f9b3bcb) ([10.239.97.151]) by orsmga007.jf.intel.com with ESMTP; 06 Dec 2021 11:23:17 -0800 Received: from kbuild by 9e1e9f9b3bcb with local (Exim 4.92) (envelope-from ) id 1muJa0-000Ld7-FN; Mon, 06 Dec 2021 19:23:16 +0000 Date: Tue, 7 Dec 2021 03:22:22 +0800 From: kernel test robot To: Anup Patel Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: [avpatel:riscv_kvm_aia_v1 38/40] include/linux/irqchip/riscv-imsic.h:64:17: error: 'ENODEV' undeclared Message-ID: <202112070342.KsbYSlGb-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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-r042-20211206 (https://download.01.org/0day-ci/archive/20211207/202112070342.KsbYSlGb-lkp@intel.com/config) compiler: riscv64-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://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=gcc-11.2.0 make.cross O=build_dir ARCH=riscv SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from arch/riscv/kvm/aia_device.c:10: include/linux/irqchip/riscv-imsic.h: In function 'imsic_cpu_page_phys': >> include/linux/irqchip/riscv-imsic.h:64:17: error: 'ENODEV' undeclared (first use in this function) 64 | return -ENODEV; | ^~~~~~ include/linux/irqchip/riscv-imsic.h:64:17: note: each undeclared identifier is reported only once for each function it appears in 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 :::::: CC: Anup Patel --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org