]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[pci] Allow pci_vpd_init() return status to be ignored
authorMichael Brown <mcb30@ipxe.org>
Tue, 11 Jan 2011 01:37:27 +0000 (01:37 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 19 Jan 2011 13:52:55 +0000 (13:52 +0000)
commit267ef3179177cc345e5c1a550cd187a6e5cc8e69
tree7de20f107dd50bc3bd6d72dd99b0b8ad68266a2f
parent17d28f48776b909d031bcb0435c852ade1bd8988
[pci] Allow pci_vpd_init() return status to be ignored

Most xxx_init() functions are void functions with no failure cases.
Allow pci_vpd_init() to be used in the same way.  (Subsequent calls to
pci_vpd_read() etc. will fail if pci_vpd_init() fails.)

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/bus/pcivpd.c
src/include/ipxe/pcivpd.h