RE: [PATCH] bfa: squelch lockdep complaint with a spin_lock_init

2012-07-11 Thread Krishna Gudipati
-Original Message- From: Kyle McMartin [mailto:kmcma...@redhat.com] Sent: Wednesday, July 11, 2012 9:43 AM To: linux-scsi@vger.kernel.org Cc: hua...@brocade.com; Krishna Gudipati Subject: [PATCH] bfa: squelch lockdep complaint with a spin_lock_init Spotted this while looking at another

[PATCH] bfa: squelch lockdep complaint with a spin_lock_init

2012-07-11 Thread Kyle McMartin
Spotted this while looking at another issue... INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. Pid: 298, comm: udevd Not tainted 3.3.0 #1 Call Trace: [] __lock_acquire+0x1363/0x1bb0 [] ? __slab_alloc+0