]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
firewire: core: fix __must_hold() annotation
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 23 Oct 2025 10:43:49 +0000 (19:43 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 24 Oct 2025 00:59:34 +0000 (09:59 +0900)
The variable name passed to __must_hold() annotation is invalid.

This commit fixes it.

Fixes: 420bd7068cbf ("firewire: core: use spin lock specific to transaction")
Link: https://lore.kernel.org/r/20251023104349.415310-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/core-transaction.c

index dd3656a0c1ff0d90d0bb0cac2298f54831421b2c..c65f491c54d06320ff3eb41cbc57d890cac28277 100644 (file)
@@ -269,7 +269,7 @@ static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel,
 }
 
 static int allocate_tlabel(struct fw_card *card)
-__must_hold(&card->transactions_lock)
+__must_hold(&card->transactions.lock)
 {
        int tlabel;