kernel/locking: Use a pointer in ww_mutex_trylock().
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 4 Nov 2021 12:27:06 +0000 (13:27 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 17 Nov 2021 13:48:49 +0000 (14:48 +0100)
commit2202e15b2b1a946ce760d96748cd7477589701ab
tree4b6d0590e7cb84a3f1fd4ce7613885f4d3bd8794
parentfa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf
kernel/locking: Use a pointer in ww_mutex_trylock().

mutex_acquire_nest() expects a pointer, pass the pointer.

Fixes: 12235da8c80a1 ("kernel/locking: Add context to ww_mutex_trylock()")
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20211104122706.frk52zxbjorso2kv@linutronix.de
kernel/locking/ww_rt_mutex.c