From: Johannes Berg Date: Wed, 26 Feb 2014 10:25:58 +0000 (+0100) Subject: iwlwifi: mvm: init drv_stats_lock X-Git-Tag: accepted/tizen/common/20141203.182822~316^2~18^2^2~54^2~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d07913aa52fad756df40347893091aeb57455066;p=platform%2Fkernel%2Flinux-arm64.git iwlwifi: mvm: init drv_stats_lock Otherwise lockdep complains about the lock, I'm not sure why we didn't see this before. Signed-off-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- diff --git a/drivers/net/wireless/iwlwifi/mvm/debugfs.c b/drivers/net/wireless/iwlwifi/mvm/debugfs.c index e0ff43e..41c6370 100644 --- a/drivers/net/wireless/iwlwifi/mvm/debugfs.c +++ b/drivers/net/wireless/iwlwifi/mvm/debugfs.c @@ -1049,6 +1049,8 @@ int iwl_mvm_dbgfs_register(struct iwl_mvm *mvm, struct dentry *dbgfs_dir) struct dentry *bcast_dir __maybe_unused; char buf[100]; + spin_lock_init(&mvm->drv_stats_lock); + mvm->debugfs_dir = dbgfs_dir; MVM_DEBUGFS_ADD_FILE(tx_flush, mvm->debugfs_dir, S_IWUSR);