]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
firewire: core: use guard macro to maintain the list of card
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 5 Aug 2024 08:53:53 +0000 (17:53 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 5 Aug 2024 08:53:53 +0000 (17:53 +0900)
commit57b40ec6db94dd325a76ad0a0fd1173a7cbfcc81
tree4de8fe9653bbc4195d0e2c95c0c8e5a7fa5cead8
parent232f72b10da74054055558b05235a725c3b90468
firewire: core: use guard macro to maintain the list of card

The core function maintains registered cards by list. The concurrent
access to the list is protected by static mutex.

This commit uses guard macro to maintain the mutex.

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