diff options
| author | 2026-08-16 12:47:03 +0300 | |
|---|---|---|
| committer | 2026-10-14 13:19:58 -0400 | |
| commit | 15ad901d92a272327a7359b5560f1f24afa4975b (patch) | |
| tree | b14d5243fd5edf18987d24604a76860779218c96 /scripts/Makefile.thinlto | |
| parent | Bluetooth: hci_core: add lockdep check to hci_conn lookups (diff) | |
Bluetooth: L2CAP: avoid maybe-return-locked in l2cap_get_chan_by_scid/dcid
Replace the maybe-return-locked pattern in l2cap_get_chan_by_scid/dcid()
by doing locking in the caller after NULL check. This allows adding
context analysis annotations for the locking.
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
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
