mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 01:21:58 +00: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:
parent
293a383930
commit
d5fb2962c6
4 changed files with 4 additions and 4 deletions
|
@ -60,7 +60,7 @@
|
|||
static const struct proto_ops rfcomm_sock_ops;
|
||||
|
||||
static struct bt_sock_list rfcomm_sk_list = {
|
||||
.lock = RW_LOCK_UNLOCKED
|
||||
.lock = __RW_LOCK_UNLOCKED(rfcomm_sk_list.lock)
|
||||
};
|
||||
|
||||
static void rfcomm_sock_close(struct sock *sk);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue