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]
Date:	Tue, 20 Feb 2007 01:07:25 +0100
From:	Adrian Bunk <bunk@...sta.de>
To:	Corentin Chary <corentincj@...aif.net>,
	Len Brown <len.brown@...el.com>
Cc:	linux-kernel@...r.kernel.org
Subject: [2.6 patch] drivers/misc/asus-laptop.c: make code static

This patch makes some needlessly global code static.

Signed-off-by: Adrian Bunk <bunk@...sta.de>

---
--- linux-2.6.20-mm1/drivers/misc/asus-laptop.c.old	2007-02-18 01:06:30.000000000 +0100
+++ linux-2.6.20-mm1/drivers/misc/asus-laptop.c	2007-02-18 01:06:43.000000000 +0100
@@ -211,7 +211,7 @@
 				     enum led_brightness value);	\
 	static void object##_led_update(struct work_struct *ignored);	\
 	static int object##_led_wk;					\
-	DECLARE_WORK(object##_led_work, object##_led_update);		\
+	static DECLARE_WORK(object##_led_work, object##_led_update);	\
 	static struct led_classdev object##_led = {			\
 		.name           = "asus:" ledname,			\
 		.brightness_set = object##_led_set,			\

-
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