lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1458657170-2394-1-git-send-email-jszhang@marvell.com>
Date:	Tue, 22 Mar 2016 22:32:50 +0800
From:	Jisheng Zhang <jszhang@...vell.com>
To:	<lenb@...nel.org>, <linux-pm@...r.kernel.org>
CC:	<linux-kernel@...r.kernel.org>, Jisheng Zhang <jszhang@...vell.com>
Subject: [PATCH] intel_idle: make intel_idle_state_table_update() static

intel_idle_state_table_update() is only used internally in intel_idle,
so make it static.

Signed-off-by: Jisheng Zhang <jszhang@...vell.com>
---
 drivers/idle/intel_idle.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
index cd4510a..2e0341e 100644
--- a/drivers/idle/intel_idle.c
+++ b/drivers/idle/intel_idle.c
@@ -1001,7 +1001,7 @@ static void intel_idle_cpuidle_devices_uninit(void)
  * Currently used to access tuned IVT multi-socket targets
  * Assumption: num_sockets == (max_package_num + 1)
  */
-void intel_idle_state_table_update(void)
+static void intel_idle_state_table_update(void)
 {
 	/* IVT uses a different table for 1-2, 3-4, and > 4 sockets */
 	if (boot_cpu_data.x86_model == 0x3e) { /* IVT */
-- 
2.8.0.rc3

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ