HomeFreeBSD

MFC r359057:

Description

MFC r359057:

Remove spurious warning about invalid VPD data.

The warning used to be displayed for valid VPDs about 512B or above in
size. Fix the size check and add a break while here so that the routine
stops if if detects any problem.

Tested with "pciconf -lV"

Reviewed by: kib@, jhb@
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D23679

Details

Provenance
npAuthored on
Differential Revision
D23679: Remove spurious warning about invalid VPD data.
Parents
rS359312: MFC r358860:
Branches
Unknown
Tags
Unknown