Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp297947rwb; Wed, 21 Sep 2022 22:45:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4GRNulTTdqA78oOJkRSg32Z2WVjdG5RUyRnZbjMptTrOChh1sF3uJeNF6amtN5QatrinIP X-Received: by 2002:a63:6b81:0:b0:43a:2d54:f26b with SMTP id g123-20020a636b81000000b0043a2d54f26bmr1696034pgc.36.1663825557515; Wed, 21 Sep 2022 22:45:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663825557; cv=none; d=google.com; s=arc-20160816; b=alVcQpG17J+E7IwGfIkc/D+ZDhSJ0JaZpmFZyALkyLNoZJqhzVZfoZ+EUQkIHH96Zd csJINErgbXF9Mn+mxokzjlHDzoFXnwyRDUoNM7H/aZjzJlk4eQwDgw9aTiJTOkOH2zR3 uBcWYeAK/oNSW33+nyot7aaQ1hVFkYAZ/43HgMzu6TimcgdFlLQTwyHmxHFRDyI4GPMy Xyp/BqevgN6rGPJSvMuuQztyN8wgiY9vy7cOyAY4cWueQTLr4PClnLLB974H1dVwwkbQ dhNgtNIj3n5Xn6CydKXm+q6HFfGi6KMeqckCJfOzY2OlvFArEbOqfBouWXU39VPMdYds 2tpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=asjEKHDACCamdz53dFccBbDSXuIw708RqIu3bNOwk20=; b=NJ+t6RPi5iMG1rQqs3CZ9nKfn8UwQLiGwsz+5pXwyEzCKR3RmfWVu7hvJAKe01MpHa MrkZDoEaucjZTY3urOlus0sJ+KbUJZg4Rp1qqgvwKBGDYEc/w6my/XPllbPujnyipqns yQwu5Fa5DAkg/jSIgSmlIpKk7uvURAAW89WAn1QFJjcpXZjshww0mfwhdB9YPyYwEmFn zF0qXgFXDfnE/u2sN+UbbjUS8SQx7gvwkUdwOWU1+qnKOL28XUMQhoLaxHAHNOdYcO3w mHR1IBEbnUTSKgnb1AvwXdT7dXgDzizhFNj2CENtbb3Bta+e0m2AiGadapw4MJU4GzPD h0+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=i4wjJlWq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v16-20020a056a00149000b0052d70e1ea6asi5835350pfu.218.2022.09.21.22.45.46; Wed, 21 Sep 2022 22:45:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=i4wjJlWq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229566AbiIVFfI (ORCPT + 99 others); Thu, 22 Sep 2022 01:35:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbiIVFfG (ORCPT ); Thu, 22 Sep 2022 01:35:06 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E61CAE212 for ; Wed, 21 Sep 2022 22:35:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663824905; x=1695360905; h=date:from:to:cc:subject:message-id:mime-version; bh=6BvrxDfYRvUIToUMMdHXnInRWosnpIic7xYP73pfU5g=; b=i4wjJlWqRN19zqXoJwefSZCc3gyk2M6dvrph5otpmJt0lLXpU8mgBfj/ m31eik/60U62EUyoHcu+r7K13tSxrkRDIYZMWukVF2huxdAkaMxE2KzkN 0lNj9FUwa76DUHEDAZoS2NmtaXQNxknckTLUNvcaTC42kCmu96XE7Yj6X sowVHvNBSWWIzoJw61DEanjvA7FRAdJD9yFijjkY+np/kFAnimmRtJHJG +toizKa3kcHXImGj2KYoUh72P8D36uhM6tO2eiJmrm9Y+lw68X93PAvgB WQP+vjcPq1YfOgQswaraPk9RTnChjUP4257owTPsPVvkoQHJOyHABlN1V g==; X-IronPort-AV: E=McAfee;i="6500,9779,10477"; a="279924380" X-IronPort-AV: E=Sophos;i="5.93,335,1654585200"; d="scan'208";a="279924380" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2022 22:35:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,335,1654585200"; d="scan'208";a="570828745" Received: from lkp-server01.sh.intel.com (HELO c0a60f19fe7e) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 21 Sep 2022 22:35:02 -0700 Received: from kbuild by c0a60f19fe7e with local (Exim 4.96) (envelope-from ) id 1obErW-0004Lw-0z; Thu, 22 Sep 2022 05:35:02 +0000 Date: Thu, 22 Sep 2022 13:34:41 +0800 From: kernel test robot To: Alexander Shishkin Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, "Kirill A. Shutemov" Subject: [intel-tdx:guest 2/4] arch/x86/kernel/tdx-tests.c:66:12: warning: no previous prototype for function 'kvm_unit_test_debug_init' Message-ID: <202209221348.2nPiKzy0-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://github.com/intel/tdx.git guest head: f3d7a7e86bf2f0d5ce629f2fb7be11dca88ac06d commit: 4cd6be90a565d847e1d7ccfe28264a1610a02a34 [2/4] x86/tdx-tests: Add a port of a kvm unit test config: x86_64-randconfig-a014 (https://download.01.org/0day-ci/archive/20220922/202209221348.2nPiKzy0-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) 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/4cd6be90a565d847e1d7ccfe28264a1610a02a34 git remote add intel-tdx https://github.com/intel/tdx.git git fetch --no-tags intel-tdx guest git checkout 4cd6be90a565d847e1d7ccfe28264a1610a02a34 # 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=x86_64 SHELL=/bin/bash arch/x86/kernel/ arch/x86/kvm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> arch/x86/kernel/tdx-tests.c:66:12: warning: no previous prototype for function 'kvm_unit_test_debug_init' [-Wmissing-prototypes] int __init kvm_unit_test_debug_init(void) ^ arch/x86/kernel/tdx-tests.c:66:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int __init kvm_unit_test_debug_init(void) ^ static 1 warning generated. Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for UNACCEPTED_MEMORY Depends on [n]: EFI [=n] && EFI_STUB [=n] Selected by [y]: - INTEL_TDX_GUEST [=y] && HYPERVISOR_GUEST [=y] && X86_64 [=y] && CPU_SUP_INTEL [=y] && PARAVIRT [=y] && SECURITY [=y] && X86_X2APIC [=y] vim +/kvm_unit_test_debug_init +66 arch/x86/kernel/tdx-tests.c 65 > 66 int __init kvm_unit_test_debug_init(void) -- 0-DAY CI Kernel Test Service https://01.org/lkp