]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
firewire: core: use guard macro to maintain the list of address handler for transaction
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 5 Aug 2024 08:53:58 +0000 (17:53 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 5 Aug 2024 08:53:58 +0000 (17:53 +0900)
commit3a335229c5eb13b8b9b8f7ede386df31cc94c1b1
tree692764743ab7ce41d8b4f0c2f16bb7a5bb14980a
parent2a6a58f06bd5d123a5b248a565b90b5df26c9ea8
firewire: core: use guard macro to maintain the list of address handler for transaction

The core function maintains address handlers by list. It is protected by
spinlock to insert and remove entry to the list.

This commit uses guard macro to maintain the spinlock.

Link: https://lore.kernel.org/r/20240805085408.251763-8-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/core-transaction.c