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/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

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