From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752119AbdJEL0z (ORCPT ); Thu, 5 Oct 2017 07:26:55 -0400 Received: from terminus.zytor.com ([65.50.211.136]:58167 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751744AbdJEL0w (ORCPT ); Thu, 5 Oct 2017 07:26:52 -0400 Date: Thu, 5 Oct 2017 04:25:38 -0700 From: tip-bot for Colin Ian King Message-ID: Cc: hpa@zytor.com, linux-kernel@vger.kernel.org, fenghua.yu@intel.com, tglx@linutronix.de, colin.king@canonical.com, mingo@kernel.org Reply-To: linux-kernel@vger.kernel.org, hpa@zytor.com, colin.king@canonical.com, mingo@kernel.org, tglx@linutronix.de, fenghua.yu@intel.com In-Reply-To: <20171002145931.27479-1-colin.king@canonical.com> References: <20171002145931.27479-1-colin.king@canonical.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/cache] x86/intel_rdt/cqm: Make integer rmid_limbo_count static Git-Commit-ID: 5fd88b60e11b7d81b2c944c1b45834c4a6aa0157 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 5fd88b60e11b7d81b2c944c1b45834c4a6aa0157 Gitweb: https://git.kernel.org/tip/5fd88b60e11b7d81b2c944c1b45834c4a6aa0157 Author: Colin Ian King AuthorDate: Mon, 2 Oct 2017 15:59:31 +0100 Committer: Thomas Gleixner CommitDate: Thu, 5 Oct 2017 13:20:32 +0200 x86/intel_rdt/cqm: Make integer rmid_limbo_count static rmid_limbo_count is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'rmid_limbo_count' was not declared. Should it be static? Signed-off-by: Colin Ian King Signed-off-by: Thomas Gleixner Cc: Fenghua Yu Cc: kernel-janitors@vger.kernel.org Link: https://lkml.kernel.org/r/20171002145931.27479-1-colin.king@canonical.com --- arch/x86/kernel/cpu/intel_rdt_monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpu/intel_rdt_monitor.c b/arch/x86/kernel/cpu/intel_rdt_monitor.c index 3082751..681450e 100644 --- a/arch/x86/kernel/cpu/intel_rdt_monitor.c +++ b/arch/x86/kernel/cpu/intel_rdt_monitor.c @@ -51,7 +51,7 @@ static LIST_HEAD(rmid_free_lru); * may have a occupancy value > intel_cqm_threshold. User can change * the threshold occupancy value. */ -unsigned int rmid_limbo_count; +static unsigned int rmid_limbo_count; /** * @rmid_entry - The entry in the limbo and free lists.