diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-06-19 17:01:27 +0200 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-06-24 14:59:25 +0200 |
| commit | fb1a5dfe86d3af1e1c3ce168cf0d8d43897e0f77 (patch) | |
| tree | 6357231beb1b50931f0691c6db28191591895837 /mm/tests/git@git.tavy.me:linux.git | |
| parent | f3c4a338b5064effd9ce6d2cfd26c73daa56f1f4 (diff) | |
thermal: testing: zone: Flush work items during cleanup
To prevent freed module code from being executed during the thermal
testing module unload, make it add a dedicated workqueue for thermal
testing work items and flush it in thermal_testing_exit().
Fixes: f6a034f2df42 ("thermal: Introduce a debugfs-based testing facility")
Link: https://sashiko.dev/#/patchset/20260605185212.2491144-1-sam.moelius%40trailofbits.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/1959388.tdWV9SEqCh@rafael.j.wysocki
[ rjw: Make variable d_command static ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'mm/tests/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
