* [PATCH] ath9k: Properly initialize ath_common->cc_lock.
@ 2010-10-15 21:56 greearb
2010-10-15 21:59 ` [ath9k-devel] " Luis R. Rodriguez
0 siblings, 1 reply; 2+ messages in thread
From: greearb @ 2010-10-15 21:56 UTC (permalink / raw)
To: linux-wireless, ath9k-devel; +Cc: Ben Greear
From: Ben Greear <greearb@candelatech.com>
Otherwise, lockdep splats, at the least.
Signed-off-by: Ben Greear <greearb@candelatech.com>
---
:100644 100644 a4c5ed4... fdc25f9... M drivers/net/wireless/ath/ath9k/init.c
drivers/net/wireless/ath/ath9k/init.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index a4c5ed4..fdc25f9 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -577,6 +577,7 @@ static int ath9k_init_softc(u16 devid, struct ath_softc *sc, u16 subsysid,
common->hw = sc->hw;
common->priv = sc;
common->debug_mask = ath9k_debug;
+ spin_lock_init(&common->cc_lock);
spin_lock_init(&sc->wiphy_lock);
spin_lock_init(&sc->sc_resetlock);
--
1.7.2.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [ath9k-devel] [PATCH] ath9k: Properly initialize ath_common->cc_lock.
2010-10-15 21:56 [PATCH] ath9k: Properly initialize ath_common->cc_lock greearb
@ 2010-10-15 21:59 ` Luis R. Rodriguez
0 siblings, 0 replies; 2+ messages in thread
From: Luis R. Rodriguez @ 2010-10-15 21:59 UTC (permalink / raw)
To: greearb; +Cc: linux-wireless, ath9k-devel
On Fri, Oct 15, 2010 at 2:56 PM, <greearb@candelatech.com> wrote:
> From: Ben Greear <greearb@candelatech.com>
>
> Otherwise, lockdep splats, at the least.
Thanks for the fix, please include the lockdep rant here on the commit log.
Luis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-15 21:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-15 21:56 [PATCH] ath9k: Properly initialize ath_common->cc_lock greearb
2010-10-15 21:59 ` [ath9k-devel] " Luis R. Rodriguez
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).