]> Gentwo Git Trees - linux/.git/commit
firewire: core: fix to update generation field in topology map
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 14 Nov 2025 14:44:21 +0000 (23:44 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 16 Nov 2025 12:30:26 +0000 (21:30 +0900)
commit1107aac1ad7f445a83604b14af7be47f1a795c66
treeb272b2be3616b2c8092f89ae223b466e824294b3
parent37339122a7801660dce11abd817af82cc4bef163
firewire: core: fix to update generation field in topology map

The generation field of topology map is updated after initialized by zero.
The updated value of generation field is always zero, and is against
specification.

This commit fixes the bug.

Fixes: 7d138cb269db ("firewire: core: use spin lock specific to topology map")
Link: https://lore.kernel.org/r/20251114144421.415278-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/core-topology.c