summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2025-09-13 19:57:37 +0900
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2025-09-13 19:59:21 +0900
commit2ba08d1bad79cc8d9c82f529adc01f27118e0ca7 (patch)
treecd0d2402df0cb9eb9b5c3adcd2cfacd154768527 /rust/helpers/helpers.c
parent91bf158f8cdf6fd344d3035a13ac746d5846de33 (diff)
firewire: core: use macro expression for not-registered state of BUS_MANAGER_ID
The value of BUS_MANAGER_ID register has 0x3f when no node_id is registered. Current implementation uses hard-coded numeric literal but in the case the macro expression is preferable since it is easy to distinguish the state from node ID mask. This commit applies the idea. Link: https://lore.kernel.org/r/20250913105737.778038-3-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions