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 2A4E5ECAAD2 for ; Fri, 2 Sep 2022 02:41:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233616AbiIBClL (ORCPT ); Thu, 1 Sep 2022 22:41:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234836AbiIBCk6 (ORCPT ); Thu, 1 Sep 2022 22:40:58 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9E6278BE1; Thu, 1 Sep 2022 19:40:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662086455; x=1693622455; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=PjoNQgEOAKhe4BaRmT8CU4V28Ymn0nWV4aYU8zY1myk=; b=IkfgfOjAVpaM+aEL+1iEhDS6jYHW6XDTJMwf4zM0KAjuwoHpjv/x2Srs CKB2YRgyh6U732+NMmk/MsWklUlCh8RolLYJU7IsQbY8YKBS9AXofbQGz cuBy8+imPQZtLAOB5s6MUHex+wevQYNvzrVFQmPhkBxcFcePiqPLvtaxs CbP9pdxidcsTodTGUtFdRjZgmSiakjkBwTrDYNzOAHvH5bL5sZSsYzE/Y LT00cNf63pem6u6WXEgVryg7/8TBy8nhLeC0gmwCSAMTr800gLOnrVb9G afMgxVGqDyaN2+CLImMtKtpdId+9Jpo7Hdl5jZp+nf2bJBR5x8G2XOBPa Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10457"; a="322032248" X-IronPort-AV: E=Sophos;i="5.93,281,1654585200"; d="scan'208";a="322032248" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2022 19:40:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,281,1654585200"; d="scan'208";a="755092656" Received: from lkp-server02.sh.intel.com (HELO fccc941c3034) ([10.239.97.151]) by fmsmga001.fm.intel.com with ESMTP; 01 Sep 2022 19:40:52 -0700 Received: from kbuild by fccc941c3034 with local (Exim 4.96) (envelope-from ) id 1oTwbv-00001h-0c; Fri, 02 Sep 2022 02:40:47 +0000 Date: Fri, 2 Sep 2022 10:39:59 +0800 From: kernel test robot To: Sean Christopherson , Ingo Molnar , Arnaldo Carvalho de Melo , Paolo Bonzini Cc: kbuild-all@lists.01.org, Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Like Xu Subject: Re: [PATCH v4 1/5] perf/x86/core: Remove unnecessary stubs provided for KVM-only helpers Message-ID: <202209021042.UcDPO3lL-lkp@intel.com> References: <20220901173258.925729-2-seanjc@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220901173258.925729-2-seanjc@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@vger.kernel.org Hi Sean, I love your patch! Perhaps something to improve: [auto build test WARNING on 372d07084593dc7a399bf9bee815711b1fb1bcf2] url: https://github.com/intel-lab-lkp/linux/commits/Sean-Christopherson/KVM-x86-Intel-LBR-related-perf-cleanups/20220902-013352 base: 372d07084593dc7a399bf9bee815711b1fb1bcf2 config: i386-randconfig-m021 (https://download.01.org/0day-ci/archive/20220902/202209021042.UcDPO3lL-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-5) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/b1f1d2f5eb44253f5d059757c03e7fd413b2e306 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Sean-Christopherson/KVM-x86-Intel-LBR-related-perf-cleanups/20220902-013352 git checkout b1f1d2f5eb44253f5d059757c03e7fd413b2e306 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/events/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> arch/x86/events/core.c:696:31: warning: no previous prototype for 'perf_guest_get_msrs' [-Wmissing-prototypes] 696 | struct perf_guest_switch_msr *perf_guest_get_msrs(int *nr, void *data) | ^~~~~~~~~~~~~~~~~~~ vim +/perf_guest_get_msrs +696 arch/x86/events/core.c f87ad35d37fa54 arch/x86/kernel/cpu/perf_counter.c Jaswinder Singh Rajput 2009-02-27 695 39a4d779546a99 arch/x86/events/core.c Like Xu 2022-04-11 @696 struct perf_guest_switch_msr *perf_guest_get_msrs(int *nr, void *data) abd562df94d19d arch/x86/events/core.c Like Xu 2021-01-25 697 { 39a4d779546a99 arch/x86/events/core.c Like Xu 2022-04-11 698 return static_call(x86_pmu_guest_get_msrs)(nr, data); abd562df94d19d arch/x86/events/core.c Like Xu 2021-01-25 699 } abd562df94d19d arch/x86/events/core.c Like Xu 2021-01-25 700 EXPORT_SYMBOL_GPL(perf_guest_get_msrs); abd562df94d19d arch/x86/events/core.c Like Xu 2021-01-25 701 -- 0-DAY CI Kernel Test Service https://01.org/lkp