diff options
author | 2017-10-24 02:29:37 -0700 | |
---|---|---|
committer | 2017-11-03 11:56:09 +0200 | |
commit | 8cef5344b5f24883c97180c15e17b35d46fc4f37 (patch) | |
tree | 117edd0455dba8a0329c5f114334b9081ab3ad1b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iwlwifi: mvm: hold mutex when flushing in iwl_mvm_flush_no_vif() (diff) | |
download | linux-dev-8cef5344b5f24883c97180c15e17b35d46fc4f37.tar.xz linux-dev-8cef5344b5f24883c97180c15e17b35d46fc4f37.zip |
iwlwifi: mvm: Convert timers to use timer_setup()
In preparation for unconditionally passing the struct timer_list pointer to
all timer callbacks, switch to using the new timer_setup() and from_timer()
to pass the timer pointer explicitly.
The RCU lifetime on baid_data is unclear, so this adds a direct copy of the
rcu_ptr passed to the original callback. It may be possible to improve this
to just use baid_data->mvm->baid_map[baid_data->baid] instead.
Cc: Johannes Berg <johannes.berg@intel.com>
Cc: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Cc: Luca Coelho <luciano.coelho@intel.com>
Cc: Intel Linux Wireless <linuxwifi@intel.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: Sara Sharon <sara.sharon@intel.com>
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions