HomeFreeBSD

acpidump: improve length calculation for several IVHD elements

Description

acpidump: improve length calculation for several IVHD elements

Use sizeofs of structures corresponding to the parsed device entry.
This does not change the calculation, but fixes logical inconsistency.

Sponsored by: The FreeBSD Foundation
Sponsored by: Advanced Micro Devices (AMD)
MFC after: 1 week

Details

Provenance
kibAuthored on May 30 2024, 3:21 PM
Parents
rG6e0278408ea0: sys/unistd.h: Use correct POSIX_VERION of 200809L
Branches
Unknown
Tags
Unknown