From 6e06750c45cead7a72fffb492099640ad7691dec Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Sun, 14 Jun 2026 13:27:05 +0300 Subject: [PATCH] Bluetooth: RFCOMM: Add minimal context analysis annotations Add minimal compiler context analysis annotations, required for compilation to pass. Signed-off-by: Pauli Virtanen Signed-off-by: Luiz Augusto von Dentz --- net/bluetooth/rfcomm/sock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/bluetooth/rfcomm/sock.c b/net/bluetooth/rfcomm/sock.c index feb302a491fa..958081adb9b5 100644 --- a/net/bluetooth/rfcomm/sock.c +++ b/net/bluetooth/rfcomm/sock.c @@ -60,6 +60,7 @@ static void rfcomm_sk_data_ready(struct rfcomm_dlc *d, struct sk_buff *skb) } static void rfcomm_sk_state_change(struct rfcomm_dlc *d, int err) + __must_hold(&d->lock) { struct sock *sk = d->owner, *parent;