Re: [PATCH 03/18] hw/pci-host/bonito: Use PCI_DEVFN() macro

2021-01-02 Thread Huacai Chen
Reviewed-by: Huacai Chen On Fri, Jan 1, 2021 at 6:49 AM Philippe Mathieu-Daudé wrote: > > Use the PCI_DEVFN() macro to replace the '0x28' magic value, > this way it is clearer we access PCI function #0 of slot #5. > > Signed-off-by: Philippe Mathieu-Daudé > --- > hw/pci-host/bonito.c | 2 +- >

[PATCH 03/18] hw/pci-host/bonito: Use PCI_DEVFN() macro

2020-12-31 Thread Philippe Mathieu-Daudé
Use the PCI_DEVFN() macro to replace the '0x28' magic value, this way it is clearer we access PCI function #0 of slot #5. Signed-off-by: Philippe Mathieu-Daudé --- hw/pci-host/bonito.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/pci-host/bonito.c b/hw/pci-host/bonito.c