Skip to content
Commit b8b9fcf5 authored by Alexander Gordeev's avatar Alexander Gordeev Committed by Andrew Jones
Browse files

pci: Make all ones invalid translate address



Function pci_host_bridge_get_paddr() returns zero in case
no mapping for a passed PCI address is found. All ones is
a better choice, since zero may be a legitimate physical
address.

Suggested-by: Andrew Jones's avatarAndrew Jones <drjones@redhat.com>
Cc: Thomas Huth <thuth@redhat.com>
Cc: Andrew Jones <drjones@redhat.com>
Signed-off-by: default avatarAlexander Gordeev <agordeev@redhat.com>
[squashed in INVALID_PHYS_ADDR use]
Signed-off-by: Andrew Jones's avatarAndrew Jones <drjones@redhat.com>
parent ae17c20e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment