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 7B517C433EF for ; Thu, 26 May 2022 06:00:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238217AbiEZGAJ (ORCPT ); Thu, 26 May 2022 02:00:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230108AbiEZF77 (ORCPT ); Thu, 26 May 2022 01:59:59 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFE9DA5017 for ; Wed, 25 May 2022 22:59:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653544796; x=1685080796; h=date:from:to:cc:subject:message-id:mime-version; bh=FoFi6ee/Unw0akjPodAajaS59MNcAC8Hemf/HS8pGgc=; b=GU6w+6WkIjxGSKQfkR8YmKAqvvAY78WijLG18A3EvYpUoeYrSExAOM8b xFzCELmz2FVXZlZ2/wdhsnrAG1o7ZgFdRFhpm7vYd6p+pBy3hlSkrXhtv +GavGyz7qC4rKn2SRVO2TXGj9AB90GKgaXW77nckKKmjj9VW+VDsFhsC4 HKWNTagIRw946cGCXUVWYpqNib+BnPA1/hadn3yrVehf69jv1bgXZflSb Wg+kHlcBOJTzD7vrP0gJFwXaKH00/jmpvlhsDt2hmdpjB4cv5JE7mfqwq n+d9KGZnCvjp6FZU2ia0Z6n3NkOzkqFE6M44r5RVVwQRu8hR/60CUnEjH g==; X-IronPort-AV: E=McAfee;i="6400,9594,10358"; a="254544418" X-IronPort-AV: E=Sophos;i="5.91,252,1647327600"; d="scan'208";a="254544418" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2022 22:59:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,252,1647327600"; d="scan'208";a="821079105" Received: from lkp-server01.sh.intel.com (HELO db63a1be7222) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 25 May 2022 22:59:52 -0700 Received: from kbuild by db63a1be7222 with local (Exim 4.95) (envelope-from ) id 1nu6XH-0003e8-NG; Thu, 26 May 2022 05:59:51 +0000 Date: Thu, 26 May 2022 13:59:07 +0800 From: kernel test robot To: Chao Gao Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Isaku Yamahata , Zeng Guang , Paolo Bonzini Subject: [intel-tdx:kvm-upstream-workaround 99/435] arch/x86/kvm/vmx/vmx.c:4410:5: error: no previous prototype for function 'vmx_get_pid_table_order' Message-ID: <202205261324.RC40VHb7-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://github.com/intel/tdx.git kvm-upstream-workaround head: 0075383344a9c2bfaba7cca988c85008d92c4f8c commit: 7325e60f0f39b6cffcc23ec74910cf0ec5ac1412 [99/435] KVM: VMX: enable IPI virtualization config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220526/202205261324.RC40VHb7-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 3d546191ad9d7d2ad2c7928204b9de51deafa675) 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/intel/tdx/commit/7325e60f0f39b6cffcc23ec74910cf0ec5ac1412 git remote add intel-tdx https://github.com/intel/tdx.git git fetch --no-tags intel-tdx kvm-upstream-workaround git checkout 7325e60f0f39b6cffcc23ec74910cf0ec5ac1412 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kvm/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot Note: the intel-tdx/kvm-upstream-workaround HEAD 0075383344a9c2bfaba7cca988c85008d92c4f8c builds fine. It only hurts bisectability. All errors (new ones prefixed by >>): >> arch/x86/kvm/vmx/vmx.c:4410:5: error: no previous prototype for function 'vmx_get_pid_table_order' [-Werror,-Wmissing-prototypes] int vmx_get_pid_table_order(struct kvm *kvm) ^ arch/x86/kvm/vmx/vmx.c:4410:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int vmx_get_pid_table_order(struct kvm *kvm) ^ static 1 error generated. vim +/vmx_get_pid_table_order +4410 arch/x86/kvm/vmx/vmx.c 4409 > 4410 int vmx_get_pid_table_order(struct kvm *kvm) 4411 { 4412 return get_order(kvm->arch.max_vcpu_ids * sizeof(*to_kvm_vmx(kvm)->pid_table)); 4413 } 4414 -- 0-DAY CI Kernel Test Service https://01.org/lkp