diff options
| author | Dmitry Antipov <dmantipov@yandex.ru> | 2026-09-02 12:45:49 +0300 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-09-11 17:31:37 +0200 |
| commit | d76994443eed0af297cb82bd038ae9d76327ef90 (patch) | |
| tree | ab3d014c9193d0fdbc89beffc1ea0cbca3db5e15 /tools/perf/tests/shell/test_stackcollapse_python.sh | |
| parent | 7e749a7972829a53fd1e41568cf2018c180627d1 (diff) | |
| download | linux-next-d76994443eed0af297cb82bd038ae9d76327ef90.tar.gz linux-next-d76994443eed0af297cb82bd038ae9d76327ef90.zip | |
HID: roccat: fix locking in roccat_connect() and roccat_disconnect()
Extend critical section in roccat_connect() to ensure that partially
initialized 'struct roccat_device' is never exposed in 'devices' list,
and do the same in roccat_disconnect() to avoid racy 'devices' access
against roccat_release().
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/tests/shell/test_stackcollapse_python.sh')
0 files changed, 0 insertions, 0 deletions
