Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <o-takashi@sakamocchi.jp>

+1 -1
+1 -1
drivers/firewire/core-transaction.c
··· 269 269 } 270 270 271 271 static int allocate_tlabel(struct fw_card *card) 272 - __must_hold(&card->transactions_lock) 272 + __must_hold(&card->transactions.lock) 273 273 { 274 274 int tlabel; 275 275