diff options
author | Takashi Sakamoto <[email protected]> | 2023-12-25 07:23:00 +0900 |
---|---|---|
committer | Takashi Sakamoto <[email protected]> | 2024-01-08 09:36:56 +0900 |
commit | afa36dadd3b3f509ab48eabc1a89f487be6c6af4 (patch) | |
tree | 5ed477e222e152780fd5c17d5ea7fe875ab5ebaa /lib/test_fortify/write_overflow-strcpy.c | |
parent | f1e2f87834f4f8427e5dd282312f552e8ca02d1c (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/[email protected]
Signed-off-by: Takashi Sakamoto <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions