diff options
| author | Luiz Angelo Daros de Luca <luizluca@gmail.com> | 2026-07-26 22:56:08 -0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-07-29 18:42:27 -0700 |
| commit | 70fd0cf29bc47882c1cb11ad4fb2881ac2c1e640 (patch) | |
| tree | 684fd2a3e8f641f3a75ebf5d09c2b71918c80ad3 /tools/perf/scripts/python/parallel-perf.py | |
| parent | 54ad7ea45d63146a8e3c57375f8a269d4cf7ecea (diff) | |
net: dsa: realtek: rtl8365mb: use devm_mutex_init for mib_lock
With CONFIG_DEBUG_MUTEXES enabled, mutex_destroy() needs to be called
before the lock is discarded. Use devm_mutex_init() instead so the
cleanup is handled automatically.
Fixes: 4af2950c50c86 ("net: dsa: realtek-smi: add rtl8365mb subdriver for RTL8365MB-VC")
Reviewed-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Reviewed-by: Alvin Šipraga <alvin.sipraga@analog.com>
Link: https://patch.msgid.link/20260726-realtek_mutext-v2-1-5d62ba998791@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
