diff options
| author | Pauli Virtanen <pav@iki.fi> | 2026-08-16 12:47:03 +0300 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2026-08-17 14:23:26 -0400 |
| commit | a7b612da9059f045103bad244a0adba9e233c63d (patch) | |
| tree | 024ea7e4e79ea68d3b5fa05f92178c664cf9c762 /scripts/objdiff | |
| parent | 26cf20d065b31a9a591ec01086e7661fbd80040c (diff) | |
| download | linux-next-a7b612da9059f045103bad244a0adba9e233c63d.tar.gz linux-next-a7b612da9059f045103bad244a0adba9e233c63d.zip | |
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/objdiff')
0 files changed, 0 insertions, 0 deletions
