Re: [PATCH 4/5] hw: Use the PCI_SLOT() macro from 'hw/pci/pci.h'

2020-10-12 Thread David Gibson
On Mon, Oct 12, 2020 at 02:45:05PM +0200, Philippe Mathieu-Daudé wrote: > From: Philippe Mathieu-Daudé > > We already have a generic PCI_SLOT() macro in "hw/pci/pci.h" > to extract the PCI slot identifier, use it. > > Signed-off-by: Philippe Mathieu-Daudé ppc parts Acked-by: David Gibson > -

RE: [PATCH 4/5] hw: Use the PCI_SLOT() macro from 'hw/pci/pci.h'

2020-10-12 Thread Paul Durrant
ksandar Rikalo ; > Marcel Apfelbaum > ; Mark Cave-Ayland > ; Paolo Bonzini > ; Huacai Chen > Subject: [PATCH 4/5] hw: Use the PCI_SLOT() macro from 'hw/pci/pci.h' > > From: Philippe Mathieu-Daudé > > We already have a generic PCI_SLOT() macro in "hw/pci/pc

[PATCH 4/5] hw: Use the PCI_SLOT() macro from 'hw/pci/pci.h'

2020-10-12 Thread Philippe Mathieu-Daudé
From: Philippe Mathieu-Daudé We already have a generic PCI_SLOT() macro in "hw/pci/pci.h" to extract the PCI slot identifier, use it. Signed-off-by: Philippe Mathieu-Daudé --- hw/hppa/dino.c| 2 +- hw/i386/xen/xen-hvm.c | 2 +- hw/isa/piix3.c| 2 +- hw/mips/gt64xxx_pci.c | 2 +-