From: Takashi Sakamoto Date: Thu, 23 Oct 2025 10:43:49 +0000 (+0900) Subject: firewire: core: fix __must_hold() annotation X-Git-Tag: v6.18-rc3~11^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=246aca5b2a2c4ad3e75c2eff616f5532019a92d2;p=thirdparty%2Flinux.git firewire: core: fix __must_hold() annotation 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 --- diff --git a/drivers/firewire/core-transaction.c b/drivers/firewire/core-transaction.c index dd3656a0c1ff0..c65f491c54d06 100644 --- a/drivers/firewire/core-transaction.c +++ b/drivers/firewire/core-transaction.c @@ -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;