[ath9k-devel] [PATCH v2] ath9k: Properly initialize ath_common->cc_lock.

2010-10-15 Thread greearb
From: Ben Greear Otherwise, lockdep splats, at the least: INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. Pid: 2240, comm: ip Not tainted 2.6.36-rc8-wl+ #32 Call Trace: [] ? printk+0xf/0x17 [] register_lock_

Re: [ath9k-devel] [PATCH v2] ath9k: Properly initialize ath_common->cc_lock.

2010-10-15 Thread Felix Fietkau
On 2010-10-16 12:04 AM, gree...@candelatech.com wrote: > From: Ben Greear > > Otherwise, lockdep splats, at the least: > [...] > 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/ini