]> www.infradead.org Git - users/jedix/linux-maple.git/commit
firewire: core: use guard macro to maintain list of events for userspace clients
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 5 Aug 2024 08:54:00 +0000 (17:54 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 5 Aug 2024 08:54:00 +0000 (17:54 +0900)
commit4f1f91aeca50c8ca0bd84baab3c92a0a3b4db2d7
tree3356ab0743c52a61b6910334d87acc864a7c8e78
parentbacf921c42bbec7974ffb2b49e30f06aa602580e
firewire: core: use guard macro to maintain list of events for userspace clients

The core function maintains events to userspace by list in the instance of
client. The concurrent access to the list is protected by spinlock in
the instance.

This commit uses guard macro to maintain the spinlock.

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