]> www.infradead.org Git - linux.git/commit
firewire: core: use guard macro to maintain static packet data for phy configuration
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 5 Aug 2024 08:53:52 +0000 (17:53 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 5 Aug 2024 08:53:52 +0000 (17:53 +0900)
commit232f72b10da74054055558b05235a725c3b90468
tree1d21f3cbffa092b2a47201279ea6693c375f497c
parent8a96e7be8c33cbd809ca13c9590167a336e2e322
firewire: core: use guard macro to maintain static packet data for phy configuration

The core function provide a kernel API to send phy configuration packet.
Current implementation of the feature uses packet object allocated
statically. The concurrent access to the object is protected by static
mutex.

This commit uses guard macro to maintain the mutex.

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