hw/pci-host: Use the PCI_BUILD_BDF() macro from 'hw/pci/pci.h'
commit0374cbd2f1b5bc68816c811bdaf266d98b21ecfe
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 11 Oct 2020 15:18:59 +0000 (11 17:18 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 4 Jan 2021 22:24:44 +0000 (4 23:24 +0100)
treed8fe5ddc441c2d55974432a59880e432f88149c7
parente551455f1e7a3d7eee9e11e2903e4050bc5511ae
hw/pci-host: Use the PCI_BUILD_BDF() macro from 'hw/pci/pci.h'

We already have a generic PCI_BUILD_BDF() macro in "hw/pci/pci.h"
to pack these values, use it.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20201012124506.3406909-3-philmd@redhat.com>
hw/pci-host/bonito.c
hw/pci-host/pnv_phb4.c