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
| ||
|
Date: Tue, 22 Dec 2009 09:29:23 +0100 From: peterhuewe@....de To: Jiri Kosina <trivial@...nel.org> Cc: kernel-janitors@...r.kernel.org, Peter Huewe <peterhuewe@....de>, Jon Masters <jcm@...masters.org>, Uwe Kleine-König <u.kleine-koenig@...gutronix.de>, "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>, linux-kernel@...r.kernel.org Subject: [PATCH 1/2] misc: add __init/__exit macros to drivers/misc/hwlat_detector.c From: Peter Huewe <peterhuewe@....de> Trivial patch which adds the __init/__exit macros to the module_init/ module_exit functions of drivers/misc/hwlat_detector.c Please have a look at the small patch and either pull it through your tree, or please ack' it so Jiri can pull it through the trivial tree. Patch against linux-next-tree, 22. Dez 08:38:18 CET 2009 but also present in linus tree. Signed-off-by: Peter Huewe <peterhuewe@....de> --- drivers/misc/hwlat_detector.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/hwlat_detector.c b/drivers/misc/hwlat_detector.c index e02d8e1..fd6fa6f 100644 --- a/drivers/misc/hwlat_detector.c +++ b/drivers/misc/hwlat_detector.c @@ -1163,7 +1163,7 @@ static void free_debugfs(void) /** * detector_init - Standard module initialization code */ -static int detector_init(void) +static int __init detector_init(void) { int ret = -ENOMEM; @@ -1192,7 +1192,7 @@ out: /** * detector_exit - Standard module cleanup code */ -static void detector_exit(void) +static void __exit detector_exit(void) { if (enabled) { enabled = 0; -- 1.6.4.4 -- 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