aboutsummaryrefslogtreecommitdiff
path: root/rust/macros
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2023-12-25 07:23:00 +0900
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2024-01-08 09:36:56 +0900
commitafa36dadd3b3f509ab48eabc1a89f487be6c6af4 (patch)
tree5ed477e222e152780fd5c17d5ea7fe875ab5ebaa /rust/macros
parentf1e2f87834f4f8427e5dd282312f552e8ca02d1c (diff)
firewire: core: replace magic number with macro
In IEEE 1394 specification, the size of bus information block of configuration ROM is fixed to 5, thus the offset of root directory is 5. Current implementation to handle device structures has the hard-coded offset. This commit replaces the offset with macro. Link: https://lore.kernel.org/r/20231221134849.603857-3-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'rust/macros')
0 files changed, 0 insertions, 0 deletions