Attention is currently required from: Edward O'Callaghan.

Edward O'Callaghan uploaded patch set #4 to this change.

View Change

pcidev.c: Simplify by consolidating common logic

As observed by Angel Pos, It looks like `pci_filter_init()`
initialises the device ID to -1
https://github.com/pciutils/pciutils/blob/master/lib/filter.c#L23

BUG=b:220950271
TEST=builds

Change-Id: I0048fc6ab816d230ff48c84bc17122431753d55d
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
---
M pcidev.c
1 file changed, 24 insertions(+), 21 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/81/59281/4

To view, visit change 59281. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I0048fc6ab816d230ff48c84bc17122431753d55d
Gerrit-Change-Number: 59281
Gerrit-PatchSet: 4
Gerrit-Owner: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@mailbox.org>
Gerrit-CC: Thomas Heijligen <src@posteo.de>
Gerrit-Attention: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-MessageType: newpatchset