From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1A47F539E for ; Wed, 18 Jan 2023 18:24:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674066253; x=1705602253; h=date:from:to:cc:subject:message-id:mime-version; bh=UXswtDu2OcXvYHZMg5iH7n14j4fWUNjLJ3qzG6kTgos=; b=gPILvH36Eu/u+NgjuH9uTRr+uE1EIvWcGpnQ6fblKtBIyhm5GOrwZyym r3ZHsscwfqybAHzOPAoETCQO57b4kMv5A+yN10yDvUXaO/FKfvcbhn6q1 5vmNFZs6Ha3kPGqxen2TDeySyNMNatpiqnWjw56LIqxE04CSHo8HLufPU h1Evd1h/2HSHbmaujSAg9yz2c2mRFghG5AMX/byLZSOdhoUvbSAumJqyq TZ48rs4hyOE1Guax4DWdcQ8fBJyZcfi3SF5J36/ICMhqrZXp+2wZ6Q7JV gGcip8i3A6DHabPaAF8waq6EzaJ8Lh5o3/2j38xmkjiZoAbFZoj6uw1yx A==; X-IronPort-AV: E=McAfee;i="6500,9779,10594"; a="312939092" X-IronPort-AV: E=Sophos;i="5.97,226,1669104000"; d="scan'208";a="312939092" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jan 2023 10:24:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10594"; a="690322884" X-IronPort-AV: E=Sophos;i="5.97,226,1669104000"; d="scan'208";a="690322884" Received: from lkp-server01.sh.intel.com (HELO 5646d64e7320) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 18 Jan 2023 10:24:09 -0800 Received: from kbuild by 5646d64e7320 with local (Exim 4.96) (envelope-from ) id 1pID6W-0000cG-0C; Wed, 18 Jan 2023 18:24:08 +0000 Date: Thu, 19 Jan 2023 02:23:53 +0800 From: kernel test robot To: Kalesh Singh Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Marc Zyngier , Fuad Tabba Subject: arch/arm64/kvm/hyp/nvhe/stacktrace.c:15:1: sparse: sparse: symbol '__pcpu_scope_kvm_stacktrace_info' was not declared. Should it be static? Message-ID: <202301190239.a0WaMbq8-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c1649ec55708ae42091a2f1bca1ab49ecd722d55 commit: 879e5ac7b2e4db05799a905b5a07fc9e5dedf651 KVM: arm64: Prepare non-protected nVHE hypervisor stacktrace date: 6 months ago config: arm64-randconfig-s053-20230118 (https://download.01.org/0day-ci/archive/20230119/202301190239.a0WaMbq8-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 12.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=879e5ac7b2e4db05799a905b5a07fc9e5dedf651 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 879e5ac7b2e4db05799a905b5a07fc9e5dedf651 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kvm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) arch/arm64/kvm/hyp/nvhe/stacktrace.c:12:1: sparse: sparse: symbol '__pcpu_scope_overflow_stack' was not declared. Should it be static? >> arch/arm64/kvm/hyp/nvhe/stacktrace.c:15:1: sparse: sparse: symbol '__pcpu_scope_kvm_stacktrace_info' was not declared. Should it be static? vim +/__pcpu_scope_kvm_stacktrace_info +15 arch/arm64/kvm/hyp/nvhe/stacktrace.c 11 12 DEFINE_PER_CPU(unsigned long [OVERFLOW_STACK_SIZE/sizeof(long)], overflow_stack) 13 __aligned(16); 14 > 15 DEFINE_PER_CPU(struct kvm_nvhe_stacktrace_info, kvm_stacktrace_info); 16 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests