* [PATCH] add static declaration to non-global functions and init_module / cleanup_module fixes
@ 2007-07-17 3:56 Denis Cheng
2007-07-17 4:07 ` Bruce Janson
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Denis Cheng @ 2007-07-17 3:56 UTC (permalink / raw)
To: kernel-janitors
switch to use module_init / module_exit macros.
To: Bruce Janson <bruce@cs.usyd.edu.au>
Cc: kernel-janitors@vger.kernel.org
Signed-off-by: Denis Cheng <crquan@gmail.com>
---
drivers/net/wireless/wavelan.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/wavelan.c b/drivers/net/wireless/wavelan.c
index 1cf090d..a489ef4 100644
--- a/drivers/net/wireless/wavelan.c
+++ b/drivers/net/wireless/wavelan.c
@@ -4307,7 +4307,7 @@ out:
* Insertion of the module
* I'm now quite proud of the multi-device support.
*/
-int __init init_module(void)
+static int __init wavelan_init(void)
{
int ret = -EIO; /* Return error if no cards found */
int i;
@@ -4371,7 +4371,7 @@ int __init init_module(void)
/*
* Removal of the module
*/
-void cleanup_module(void)
+static void __exit wavelan_exit(void)
{
#ifdef DEBUG_MODULE_TRACE
printk(KERN_DEBUG "-> cleanup_module()\n");
@@ -4398,7 +4398,12 @@ void cleanup_module(void)
printk(KERN_DEBUG "<- cleanup_module()\n");
#endif
}
+
+module_init(wavelan_init);
+module_exit(wavelan_exit);
+
#endif /* MODULE */
+
MODULE_LICENSE("GPL");
/*
--
1.5.2.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] add static declaration to non-global functions and init_module / cleanup_module fixes
2007-07-17 3:56 [PATCH] add static declaration to non-global functions and init_module / cleanup_module fixes Denis Cheng
@ 2007-07-17 4:07 ` Bruce Janson
2007-07-17 4:41 ` rae l
2007-07-17 5:10 ` Bruce Janson
2 siblings, 0 replies; 4+ messages in thread
From: Bruce Janson @ 2007-07-17 4:07 UTC (permalink / raw)
To: kernel-janitors
From crquan@gmail.com Tue Jul 17 14:03:38 2007
...
From: Denis Cheng <crquan@gmail.com>
To: Bruce Janson <bruce@cs.usyd.edu.au>
Cc: Denis Cheng <crquan@gmail.com>, kernel-janitors@vger.kernel.org
...
switch to use module_init / module_exit macros.
To: Bruce Janson <bruce@cs.usyd.edu.au>
Cc: kernel-janitors@vger.kernel.org
Signed-off-by: Denis Cheng <crquan@gmail.com>
---
drivers/net/wireless/wavelan.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/wavelan.c b/drivers/net/wireless/wavelan.c
index 1cf090d..a489ef4 100644
--- a/drivers/net/wireless/wavelan.c
+++ b/drivers/net/wireless/wavelan.c
@@ -4307,7 +4307,7 @@ out:
* Insertion of the module
* I'm now quite proud of the multi-device support.
*/
-int __init init_module(void)
+static int __init wavelan_init(void)
{
int ret = -EIO; /* Return error if no cards found */
int i;
@@ -4371,7 +4371,7 @@ int __init init_module(void)
/*
* Removal of the module
*/
-void cleanup_module(void)
+static void __exit wavelan_exit(void)
{
#ifdef DEBUG_MODULE_TRACE
printk(KERN_DEBUG "-> cleanup_module()\n");
@@ -4398,7 +4398,12 @@ void cleanup_module(void)
printk(KERN_DEBUG "<- cleanup_module()\n");
#endif
}
+
+module_init(wavelan_init);
+module_exit(wavelan_exit);
+
#endif /* MODULE */
+
MODULE_LICENSE("GPL");
/*
--
1.5.2.2
...
Hi Denis, Janitors,
I have not been the maintainer of that device for a number
of years now (10?). I handed it over to Jean Tourrilhes:
http://www.hpl.hp.com/personal/Jean_Tourrilhes/index.html
but I have not kept track of it since then.
Regards,
Bruce Janson, Network Group, ICT Infrastructure Email: bruce@usyd.edu.au
Rm 125c, Bldg H08, University Computing Centre Phone: +61-2-9351-4911
University of Sydney, NSW, Australia, 2006
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] add static declaration to non-global functions and init_module / cleanup_module fixes
2007-07-17 3:56 [PATCH] add static declaration to non-global functions and init_module / cleanup_module fixes Denis Cheng
2007-07-17 4:07 ` Bruce Janson
@ 2007-07-17 4:41 ` rae l
2007-07-17 5:10 ` Bruce Janson
2 siblings, 0 replies; 4+ messages in thread
From: rae l @ 2007-07-17 4:41 UTC (permalink / raw)
To: kernel-janitors
On 7/17/07, Bruce Janson <bruce@cs.usyd.edu.au> wrote:
> Hi Denis, Janitors,
> I have not been the maintainer of that device for a number
> of years now (10?). I handed it over to Jean Tourrilhes:
>
> http://www.hpl.hp.com/personal/Jean_Tourrilhes/index.html
>
> but I have not kept track of it since then.
But now who can take care of it? Who have the hardware to test?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] add static declaration to non-global functions and init_module / cleanup_module fixes
2007-07-17 3:56 [PATCH] add static declaration to non-global functions and init_module / cleanup_module fixes Denis Cheng
2007-07-17 4:07 ` Bruce Janson
2007-07-17 4:41 ` rae l
@ 2007-07-17 5:10 ` Bruce Janson
2 siblings, 0 replies; 4+ messages in thread
From: Bruce Janson @ 2007-07-17 5:10 UTC (permalink / raw)
To: kernel-janitors
From crquan@gmail.com Tue Jul 17 14:48:34 2007
...
On 7/17/07, Bruce Janson <bruce@cs.usyd.edu.au> wrote:
...
> I have not been the maintainer of that device for a number
> of years now (10?). I handed it over to Jean Tourrilhes:
>
> http://www.hpl.hp.com/personal/Jean_Tourrilhes/index.html
>
> but I have not kept track of it since then.
...
But now who can take care of it? Who have the hardware to test?
...
A more recent maintainer?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-07-17 5:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-17 3:56 [PATCH] add static declaration to non-global functions and init_module / cleanup_module fixes Denis Cheng
2007-07-17 4:07 ` Bruce Janson
2007-07-17 4:41 ` rae l
2007-07-17 5:10 ` Bruce Janson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.