diff options
| author | Tetsuo Handa <[email protected]> | 2022-09-24 14:11:25 +0900 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-11-18 13:55:09 -0800 |
| commit | 7960546c8a284f59a87ce3e1b90b68a9062e0287 (patch) | |
| tree | 316b7fdf6782a7db7f76db979c6cf50292fa6a45 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 6fe888c4d2fb174408e4540bb2d5602b9f507f90 (diff) | |
rapidio/tsi721: replace flush_scheduled_work() with flush_work()
Like commit c4f135d643823a86 ("workqueue: Wrap flush_workqueue() using a
macro") says, flush_scheduled_work() is dangerous and will be forbidden.
We are on the way for removing all flush_scheduled_work() callers from the
kernel, and this patch is for removing flush_scheduled_work() call from
tsi721 driver.
Since "struct tsi721_device" is per a device struct, I assume that
tsi721_remove() needs to wait for only two works associated with that
device. Therefore, wait for only these works using flush_work().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Tetsuo Handa <[email protected]>
Cc: Alexandre Bounine <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Christophe JAILLET <[email protected]>
Cc: Matt Porter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions