]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Merge branch 'net-dsa-realtek-use-devm_mutex_init'
authorJakub Kicinski <kuba@kernel.org>
Thu, 30 Jul 2026 01:42:31 +0000 (18:42 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 Jul 2026 01:42:31 +0000 (18:42 -0700)
Luiz Angelo Daros de Luca says:

====================
net: dsa: realtek: use devm_mutex_init

This series fixes mutex teardown in the Realtek DSA drivers.

With CONFIG_DEBUG_MUTEXES enabled, mutex_destroy() must be called before
the mutex is discarded. Using devm_mutex_init() lets the driver core
handle that automatically.

The changes are split into individual commits based on the feature that
introduced each lock to allow proper backports to stable trees.
====================

Link: https://patch.msgid.link/20260726-realtek_mutext-v2-0-5d62ba998791@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge