mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 15:03:52 +08:00
firewire: core: fix __must_hold() annotation
The variable name passed to __must_hold() annotation is invalid.
This commit fixes it.
Fixes: 420bd7068c ("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>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user