[Bug 272018] pci_read_vpd() does not always load VPD even when valid VPD exists because of state machine bug

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 21 Jun 2023 16:39:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272018

--- Comment #5 from Stefan E├čer <se@FreeBSD.org> ---
Created attachment 242927
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=242927&action=edit
Updated VPD patch

This patch removes a few superfluous tests for allocations that cannot fail and
for the size of a resource value (which cannot be below 0, will be <= 255 for
all resources, but might theoretically be up to 65535 in case of the ident
string - which in practice will be much smaller than 100 bytes, though).

-- 
You are receiving this mail because:
You are the assignee for the bug.