diff options
| author | Kees Cook <[email protected]> | 2017-10-24 02:29:37 -0700 |
|---|---|---|
| committer | Luca Coelho <[email protected]> | 2017-11-03 11:56:09 +0200 |
| commit | 8cef5344b5f24883c97180c15e17b35d46fc4f37 (patch) | |
| tree | 117edd0455dba8a0329c5f114334b9081ab3ad1b /lib/test_fortify/write_overflow-strcpy.c | |
| parent | 309c4848c0481f71f4cb20290e6f5bded1e54131 (diff) | |
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 <[email protected]>
Cc: Emmanuel Grumbach <[email protected]>
Cc: Luca Coelho <[email protected]>
Cc: Intel Linux Wireless <[email protected]>
Cc: Kalle Valo <[email protected]>
Cc: Sara Sharon <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions