summaryrefslogtreecommitdiff
path: root/scripts/dummy-tools/python3
diff options
context:
space:
mode:
authorKaitao Cheng <chengkaitao@kylinos.cn>2026-06-09 14:13:35 +0800
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2026-06-13 11:10:23 +0900
commite954726de56963754c8ac9d9e76b3f59d12fef17 (patch)
treedca344847078fd08760edf4c648e47c5c405c919 /scripts/dummy-tools/python3
parent21e163988c87219b3973efe9ca934b7acf0e4fe8 (diff)
firewire: core: Open-code topology list walk
A later change will make list_for_each_entry() cache the next element before entering the loop body. for_each_fw_node() intentionally appends newly discovered child nodes to the temporary walk list while the list is being traversed. Keep the loop open-coded so the next node is looked up only after children have been appended. This preserves the current breadth-first traversal semantics and prepares the code for the list iterator update. Signed-off-by: Kaitao Cheng <chengkaitao@kylinos.cn> Link: https://lore.kernel.org/r/20260609061347.93688-3-kaitao.cheng@linux.dev Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions