Skip to content

Commit 246aca5

Browse files
committed
firewire: core: fix __must_hold() annotation
The variable name passed to __must_hold() annotation is invalid. This commit fixes it. Fixes: 420bd70 ("firewire: core: use spin lock specific to transaction") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Sakamoto <[email protected]>
1 parent 211ddde commit 246aca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/firewire/core-transaction.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ static void fw_fill_request(struct fw_packet *packet, int tcode, int tlabel,
269269
}
270270

271271
static int allocate_tlabel(struct fw_card *card)
272-
__must_hold(&card->transactions_lock)
272+
__must_hold(&card->transactions.lock)
273273
{
274274
int tlabel;
275275

0 commit comments

Comments
 (0)