]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
firewire: core: use scoped_guard() to manage critical section to update topology
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 15 Sep 2025 23:47:42 +0000 (08:47 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 15 Sep 2025 23:52:18 +0000 (08:52 +0900)
commit80c5b023a7d6ae41bd79aadece4cb1fc62e95a08
tree3c1a7c8d43316795b633f87eb064842e909d8aa1
parent931383f161c066ac5fda12035540498931739842
firewire: core: use scoped_guard() to manage critical section to update topology

At present, guard() macro is used for the critical section to update
topology. It is inconvenient to add the other critical sections into
the function.

This commit uses scoped_guard() macro instead.

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