diff options
| author | Kees Cook <[email protected]> | 2017-10-16 17:28:51 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-18 12:39:37 +0100 |
| commit | 2183c1a61ccc952a836a533c88288289affa2a59 (patch) | |
| tree | cc2d757a2412e4dabd45d59a2c1baa93af4bc1d5 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 0010e3f8b3537b8e7c8a8e7249f9d184e92df1a5 (diff) | |
net/usb/usbnet: 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. Since the callback is called from
both a timer and a tasklet, adjust the tasklet to pass the timer address
too. When tasklets have their .data field removed, this can be refactored
to call a central function after resolving the correct container_of() for a
separate callback function for timer and tasklet.
Cc: Oliver Neukum <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
Acked-by: Oliver Neukum <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions