[BUG REPORT] Wrong deaklock warning!

2012-08-30 Thread Stanley.Miao
Hi, All, I used two spinlocks in my code, and I enabled the following CONFIGs for debugging. CONFIG_DEBUG_SPINLOCK=y CONFIG_DEBUG_LOCK_ALLOC=y CONFIG_PROVE_LOCKING=y CONFIG_DEBUG_LOCKDEP=y void abc_init(struct abc_dev *dev) { spin_lock_init(>locka); spin_lock_init(>lockb); } void

[BUG REPORT] Wrong deaklock warning!

2012-08-30 Thread Stanley.Miao
Hi, All, I used two spinlocks in my code, and I enabled the following CONFIGs for debugging. CONFIG_DEBUG_SPINLOCK=y CONFIG_DEBUG_LOCK_ALLOC=y CONFIG_PROVE_LOCKING=y CONFIG_DEBUG_LOCKDEP=y void abc_init(struct abc_dev *dev) { spin_lock_init(dev-locka); spin_lock_init(dev-lockb); } void