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>] [day] [month] [year] [list]
Date:	Fri, 17 Nov 2006 17:36:46 +0100
From:	Holger Schurig <hs4233@...l.mn-solutions.de>
To:	linux-kernel@...r.kernel.org
Subject: [patch 2.6.19-rc6] fix warning in speedstep-centrino.c

Fixes warning: 'sw_any_bug_dmi_table' defined but not used

Signed-off-by: Holger Schurig <hs4233@...l.mn-solutions.de>

--- linux.orig/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
+++ linux/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
@@ -385,6 +385,7 @@
  * detected, this has a side effect of making CPU run at a different speed
  * than OS intended it to run at. Detect it and handle it cleanly.
  */
+#ifdef CONFIG_SMP
 static int bios_with_sw_any_bug;
 static int sw_any_bug_found(struct dmi_system_id *d)
 {
@@ -405,6 +406,7 @@
 	},
 	{ }
 };
+#endif
 
 
 /*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ