]> Gentwo Git Trees - linux/.git/commit
firewire: core: annotate fw_destroy_nodes with must-hold-lock
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 15 Sep 2025 23:47:47 +0000 (08:47 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 15 Sep 2025 23:52:19 +0000 (08:52 +0900)
commite0cda0dd12e08ecb8d26b8d78dc63e67e7069510
tree765dc1ba61cc3b761ebc767119e0e45456313789
parentb5725cfa4120a4d234ab112aad151d731531d093
firewire: core: annotate fw_destroy_nodes with must-hold-lock

The function, fw_destroy_nodes(), is used widely within firewire-core
module. It has a prerequisite condition that struct fw_card.lock must
be hold in advance.

This commit adds annotation for it.

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