Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/46346 )
Change subject: libpayload/libpci: Add parent pointer to pci_dev ......................................................................
Patch Set 1: Code-Review+1
(1 comment)
https://review.coreboot.org/c/coreboot/+/46346/1/payloads/libpayload/libpci/... File payloads/libpayload/libpci/libpci.c:
https://review.coreboot.org/c/coreboot/+/46346/1/payloads/libpayload/libpci/... PS1, Line 178: dev = dev->next; Code would be clearer if the devices were named differently, but I guess it would also introduce other bugs (using the parent where the child was meant to be used.