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 <drjones@redhat.com> Cc: Thomas Huth <thuth@redhat.com> Cc: Andrew Jones <drjones@redhat.com> Signed-off-by:
Alexander Gordeev <agordeev@redhat.com> [squashed in INVALID_PHYS_ADDR use] Signed-off-by:
Andrew Jones <drjones@redhat.com>
Loading
Please register or sign in to comment