linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mac80211 rate control: fix section mismatch
@ 2008-01-31 18:31 Johannes Berg
  2008-02-01 14:57 ` Stefano Brivio
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Berg @ 2008-01-31 18:31 UTC (permalink / raw)
  To: John Linville; +Cc: linux-wireless, Stefano Brivio

When the rate control algorithms are built-in, their exit
functions can be called from mac80211's init function so
they cannot be marked __exit.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
 net/mac80211/rc80211_pid_algo.c |    2 +-
 net/mac80211/rc80211_simple.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- everything.orig/net/mac80211/rc80211_pid_algo.c	2008-01-31 19:20:14.932284778 +0100
+++ everything/net/mac80211/rc80211_pid_algo.c	2008-01-31 19:20:37.912263836 +0100
@@ -544,7 +544,7 @@ int __init rc80211_pid_init(void)
 	return ieee80211_rate_control_register(&mac80211_rcpid);
 }
 
-void __exit rc80211_pid_exit(void)
+void rc80211_pid_exit(void)
 {
 	ieee80211_rate_control_unregister(&mac80211_rcpid);
 }
--- everything.orig/net/mac80211/rc80211_simple.c	2008-01-31 19:20:41.342267959 +0100
+++ everything/net/mac80211/rc80211_simple.c	2008-01-31 19:20:52.632267796 +0100
@@ -381,7 +381,7 @@ int __init rc80211_simple_init(void)
 	return ieee80211_rate_control_register(&mac80211_rcsimple);
 }
 
-void __exit rc80211_simple_exit(void)
+void rc80211_simple_exit(void)
 {
 	ieee80211_rate_control_unregister(&mac80211_rcsimple);
 }



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] mac80211 rate control: fix section mismatch
  2008-01-31 18:31 [PATCH] mac80211 rate control: fix section mismatch Johannes Berg
@ 2008-02-01 14:57 ` Stefano Brivio
  0 siblings, 0 replies; 2+ messages in thread
From: Stefano Brivio @ 2008-02-01 14:57 UTC (permalink / raw)
  To: Johannes Berg; +Cc: John Linville, linux-wireless

On Thu, 31 Jan 2008 19:31:57 +0100
Johannes Berg <johannes@sipsolutions.net> wrote:

> When the rate control algorithms are built-in, their exit
> functions can be called from mac80211's init function so
> they cannot be marked __exit.
> 
> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>

Acked-by: Stefano Brivio <stefano.brivio@polimi.it>


-- 
Ciao
Stefano

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-01 15:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-31 18:31 [PATCH] mac80211 rate control: fix section mismatch Johannes Berg
2008-02-01 14:57 ` Stefano Brivio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).