Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp863788pxv; Wed, 14 Jul 2021 17:52:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzc8/+mz2wzJCsK6eX+z2zPjQzjKvdeSVMLMz+EamRQk0luBCakSF3dBG8CJ6BtneR78WsT X-Received: by 2002:a05:6602:3315:: with SMTP id b21mr680557ioz.13.1626310335903; Wed, 14 Jul 2021 17:52:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626310335; cv=none; d=google.com; s=arc-20160816; b=md41zwugXHchNJLvbSqJN9ne+ft3VuxfY+NtfYJd7H08WtduEzprJ/+h+L0c9D1hFN tO/uZDg5ey+hSX5hJ6qABwJ1e1FOqBghKRq28Qy//Fyr+QOsrSHzULfr+IhMQP2WoHLW bzw/dKTx+XXP1iMddcZvGQ2c5wN6T19GwbALQDwIMoFKQ8hIwZyIX+YJCvtdxEFdT1uR gagxY/IbO7bRyvOkmHsbKtVoUrFgsC0PQDsEmxQDkc6XP2Bo1hA8cRBfhEvSK2eszd+v P4DPLk/yCuPPZYfVg+kuuIVdx5mQSVuJcxZBlNImBek4GAVyU3xAlA7dyEIaSReABuNA PiFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=MeZSzFkcZS8/Z9prWdhon7FdjBKkeaYX3WQoyxatJ58=; b=0FddQ8iN7vO1Kc7x01DZkA7S6CQgfZgcOnIML4N/BLbbkQsE4xGw/BDhyMJT1+uuH2 FXTNmrj00HVxrKsOvy55rr1VwSPtSh4BeCEhXLs5AatBpjCgSti9XFO/wFsGA5o7MnRu YM/SBA2KYNPNnUz4MZQ8DX1xU034jO4PeF8GKu58PyzxmuyFsdrJ4JtU/QBFCnncFDfS eNPEUNaJuXR7BZdqlvhnFBEvTsta9Rsi43OjtzvD/YzzuGsYkfo/dYaa/B19K1yBkJDf 8lcPWYzjtAi/j7rah43CSnCsgrSskh5MQTsqV+1tGFcUgM7ecl9dvptvkEI7wh01ADaH U91w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b3si3989353iln.124.2021.07.14.17.52.03; Wed, 14 Jul 2021 17:52:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236506AbhGOAFS (ORCPT + 99 others); Wed, 14 Jul 2021 20:05:18 -0400 Received: from mga11.intel.com ([192.55.52.93]:64465 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbhGOAFR (ORCPT ); Wed, 14 Jul 2021 20:05:17 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10045"; a="207426911" X-IronPort-AV: E=Sophos;i="5.84,240,1620716400"; d="scan'208";a="207426911" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jul 2021 17:02:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,240,1620716400"; d="scan'208";a="466263057" Received: from lkp-server01.sh.intel.com (HELO 4aae0cb4f5b5) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 14 Jul 2021 17:02:23 -0700 Received: from kbuild by 4aae0cb4f5b5 with local (Exim 4.92) (envelope-from ) id 1m3opa-000JA8-T4; Thu, 15 Jul 2021 00:02:22 +0000 Date: Thu, 15 Jul 2021 08:02:01 +0800 From: kernel test robot To: Valentin Schneider , linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org, Peter Zijlstra , Ingo Molnar , Vincent Guittot , Dietmar Eggemann Subject: [RFC PATCH] sched/fair: __pcpu_scope_nohz_balance_mask can be static Message-ID: <20210715000201.GA122205@dea27cc16cf6> References: <20210714113928.2795632-1-valentin.schneider@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210714113928.2795632-1-valentin.schneider@arm.com> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org kernel/sched/fair.c:5697:1: warning: symbol '__pcpu_scope_nohz_balance_mask' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 497208a1afb88..c6a515d469dd8 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -5694,7 +5694,7 @@ DEFINE_PER_CPU(cpumask_var_t, select_idle_mask); #ifdef CONFIG_NO_HZ_COMMON -DEFINE_PER_CPU(cpumask_var_t, nohz_balance_mask); +static DEFINE_PER_CPU(cpumask_var_t, nohz_balance_mask); static struct { cpumask_var_t idle_cpus_mask; /* CPUs in NOHZ idle */