Thread (12 messages) flat view 12 messages, 4 authors, 1d ago

Re: [PATCH net-next v11 1/5] net: dsa: yt921x: Check lock status with lockdep_assert_held_once()

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-08-31 23:30:05
Also in: linux-devicetree, lkml

On Mon, Aug 31, 2026 at 12:38:54PM +0800, David Yang wrote:
mutex_is_locked() was used to check the lock status. While it should not
be triggered unless a bug is introduced, it does not warn on lock being
held by another thread. Fix it with lockdep helpers.

Fixes: 186623f4aa72 ("net: dsa: yt921x: Add support for Motorcomm YT921x")
Signed-off-by: David Yang <mmyangfl@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help