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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 18 Apr 2007 21:05:14 +0900
From:	Keiichi KII <>
Subject: [RFC][PATCH -mm take4 1/6] marking __init

From: Keiichi KII <>

This patch contains the following cleanups.
 - add __init for initialization functions(option_setup() and

Acked-by: Matt Mackall <>
Signed-off-by: Keiichi KII <>
Signed-off-by: Takayoshi Kochi <>
Index: linux-mm/drivers/net/netconsole.c
--- linux-mm.orig/drivers/net/netconsole.c
+++ linux-mm/drivers/net/netconsole.c
@@ -91,7 +91,7 @@ static struct console netconsole = {
 	.write = write_msg
-static int option_setup(char *opt)
+static int __init option_setup(char *opt)
 	configured = !netpoll_parse_options(&np, opt);
 	return 1;
@@ -99,7 +99,7 @@ static int option_setup(char *opt)
 __setup("netconsole=", option_setup);
-static int init_netconsole(void)
+static int __init init_netconsole(void)
 	int err;


To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists