Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2023 16:39:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 272018] pci_read_vpd() does not always load VPD even when valid VPD exists because of state machine bug
Message-ID:  <bug-272018-227-GnvhEeYYpU@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272018-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272018-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272018

--- Comment #5 from Stefan E=C3=9Fer <se@FreeBSD.org> ---
Created attachment 242927
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D242927&action=
=3Dedit
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 <=3D 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).

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272018-227-GnvhEeYYpU>