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 A5646C4167B for ; Thu, 7 Dec 2023 13:28:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1441877AbjLGN2m (ORCPT ); Thu, 7 Dec 2023 08:28:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232812AbjLGN2l (ORCPT ); Thu, 7 Dec 2023 08:28:41 -0500 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EE27D5E for ; Thu, 7 Dec 2023 05:28:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701955727; x=1733491727; h=date:from:to:cc:subject:message-id:mime-version; bh=eTR0Hpp0PjFJxfOgb8+cljzCstG4pP8ylV+zf623s94=; b=hlhNlwqh0WoRIANnlTn7n3TPQtJTzC+BmJyd6jgSCwAm/jwkjGZ0/iBg naqczXutLQDngthtxnMhYmASX1VdPIsQNBNMSfYvxvagIFQ+W62YJkLl3 G2RFTTL2YOVPQqkJNPknzvr/7EZYf8x6QmZAZbxTM5qAn6ozIAqRL1zln W8+L1U9hXnBTG+dBQkLOURKvMX07hU7KbWj2zen1taRfkaRtWmXmMwK5r smbCK/fLsWZm829G5c3GkcBW9zrv/pV/vlD4b4lEMKwLY1onBXjWfnVDT 9TNzjx3G6z5joclasM34VHPAyDv0QYKgoRQX418h74/R7zbqCdcISq47h A==; X-IronPort-AV: E=McAfee;i="6600,9927,10917"; a="1311736" X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="scan'208";a="1311736" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2023 05:28:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10917"; a="747964131" X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="scan'208";a="747964131" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by orsmga006.jf.intel.com with ESMTP; 07 Dec 2023 05:28:45 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rBEQl-000CHd-0v; Thu, 07 Dec 2023 13:28:43 +0000 Date: Thu, 7 Dec 2023 21:27:45 +0800 From: kernel test robot To: Will Deacon Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org Subject: arch/arm64/kernel/proton-pack.c:353:1: sparse: sparse: symbol '__pcpu_scope_arm64_ssbd_callback_required' was not declared. Should it be static? Message-ID: <202312072137.5WQ7t3df-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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bee0e7762ad2c6025b9f5245c040fcc36ef2bde8 commit: 5c8b0cbd9d6bac5f40943b5a7d8eac8cb86cbe7f arm64: Pull in task_stack_page() to Spectre-v4 mitigation code date: 3 years, 2 months ago config: arm64-randconfig-r112-20231117 (https://download.01.org/0day-ci/archive/20231207/202312072137.5WQ7t3df-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 13.2.0 reproduce: (https://download.01.org/0day-ci/archive/20231207/202312072137.5WQ7t3df-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202312072137.5WQ7t3df-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> arch/arm64/kernel/proton-pack.c:353:1: sparse: sparse: symbol '__pcpu_scope_arm64_ssbd_callback_required' was not declared. Should it be static? vim +/__pcpu_scope_arm64_ssbd_callback_required +353 arch/arm64/kernel/proton-pack.c c28762070ca651 Will Deacon 2020-09-18 351 c28762070ca651 Will Deacon 2020-09-18 352 /* This is the per-cpu state tracking whether we need to talk to firmware */ c28762070ca651 Will Deacon 2020-09-18 @353 DEFINE_PER_CPU_READ_MOSTLY(u64, arm64_ssbd_callback_required); c28762070ca651 Will Deacon 2020-09-18 354 :::::: The code at line 353 was first introduced by commit :::::: c28762070ca651fe7a981b8f31d972c9b7d2c386 arm64: Rewrite Spectre-v4 mitigation code :::::: TO: Will Deacon :::::: CC: Will Deacon -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki