[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171002145931.27479-1-colin.king@canonical.com>
Date: Mon, 2 Oct 2017 15:59:31 +0100
From: Colin King <colin.king@...onical.com>
To: Fenghua Yu <fenghua.yu@...el.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H . Peter Anvin" <hpa@...or.com>, x86@...nel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] x86/intel_rdt/cqm: make integer rmid_limbo_count static
From: Colin Ian King <colin.king@...onical.com>
The unsigned int 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 <colin.king@...onical.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 30827510094b..681450eee428 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.
--
2.14.1
Powered by blists - more mailing lists