You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
bluetooth: replace deprecated RW_LOCK_UNLOCKED macros
The older RW_LOCK_UNLOCKED macros defeat lockdep state tracing so replace them with the newer __RW_LOCK_UNLOCKED macros. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
293a383930
commit
d5fb2962c6
+1
-1
@@ -58,7 +58,7 @@
|
||||
static const struct proto_ops sco_sock_ops;
|
||||
|
||||
static struct bt_sock_list sco_sk_list = {
|
||||
.lock = RW_LOCK_UNLOCKED
|
||||
.lock = __RW_LOCK_UNLOCKED(sco_sk_list.lock)
|
||||
};
|
||||
|
||||
static void __sco_chan_add(struct sco_conn *conn, struct sock *sk, struct sock *parent);
|
||||
|
||||
Reference in New Issue
Block a user