diff options
| author | 2026-09-02 00:04:34 +0300 | |
|---|---|---|
| committer | 2026-10-14 13:28:24 -0400 | |
| commit | 0e4d951a2fceeda4791bdd962a8b295f8cac6945 (patch) | |
| tree | 3bfda78622ced647d0416451b796d70771991ff6 /scripts/Makefile.thinlto | |
| parent | Bluetooth: L2CAP: take lock for l2cap_chan_del in l2cap_ecred_rsp_defer (diff) | |
Bluetooth: L2CAP: annotate locking for l2cap_chan_del()
Add context analysis annotations for chan->lock and chan->conn->lock
involving l2cap_chan_del() usage.
Add necessary annotations and related lockdep_assert_held to callers.
Move struct l2cap_ops definition after struct l2cap_conn, so that the
callbacks can be annotated.
In l2cap_chan_close_unlocked() we consider chan->conn->lock as locked
even if chan->conn == NULL, to avoid needing to define separate
__l2cap_chan_close/del for this NULL case.
Signed-off-by: Pauli Virtanen <pav@iki.fi>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
