]> www.infradead.org Git - users/dwmw2/linux.git/commit
firewire: core: use guard macro to maintain list of receivers for phy configuration...
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 5 Aug 2024 08:54:03 +0000 (17:54 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 5 Aug 2024 08:54:03 +0000 (17:54 +0900)
commitb9545448f095f23f72fc6b28aa9bfb84a4ac9d40
tree13390d336891be4e0beb3da9cc00fed1a6ca21be
parentcf123b01286085f178f20454ec920526807f9fa0
firewire: core: use guard macro to maintain list of receivers for phy configuration packets

The core function maintains clients to receive phy configuration packets
by list in the instance of fw_card. The concurrent access to the list is
protected by spinlock in the instance.

This commit uses guard macro to maintain the list.

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