diff options
| author | Dmitry Antipov <dmantipov@yandex.ru> | 2026-09-29 09:57:42 +0300 |
|---|---|---|
| committer | Benjamin Tissoires <bentiss@kernel.org> | 2026-10-15 18:38:33 +0200 |
| commit | b0a42af46363b65d6e5018d971189c4882d689c3 (patch) | |
| tree | 07fd98b206cb654c5341708c567b7e32caf68045 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 76c51fdc825a0486f8d88ff896d39acec8f377b4 (diff) | |
HID: roccat: fix device access in roccat_release()
In roccat_release(), access the device using file-specific
reader data rather than global array, thus preventing the
case when original device was disconnected and a new device
has connected using the same slot indexed by minor number.
Reported-by: Sashiko <sashiko-bot@kernel.org>
Link: https://sashiko.dev/#/patchset/20260902094551.200587-1-dmantipov@yandex.ru?part=2
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
