diff options
| author | Yichong Chen <chenyichong@uniontech.com> | 2026-08-07 18:00:52 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-10-01 14:48:25 +0200 |
| commit | 98421ba5925fd95db714727f7ae82e87e571979b (patch) | |
| tree | 0dd90d039b8a3857ac6b18239cb4482e7b4b8b5a /tools/perf/scripts/python/task-analyzer.py | |
| parent | 493daf5bf2b9e931c93ef9223c840b0a6bb35474 (diff) | |
soundwire: debugfs: replace writable string helper
debugfs_create_str() is being made read-only because its generic write
path is hard to make safe without adding more locking to the helper.
Convert the SoundWire firmware_file entry to a local write-only file
operation before removing writable string support from
debugfs_create_str().
Copy the firmware name before request_firmware() so later debugfs writes
cannot replace the string while it is being used.
Signed-off-by: Yichong Chen <chenyichong@uniontech.com>
Link: https://patch.msgid.link/20260807100053.1089834-3-chenyichong@uniontech.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
