]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
hw/pci-host/piix: Fix code style issues
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 15 Oct 2019 11:00:20 +0000 (13:00 +0200)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 5 Nov 2019 22:33:12 +0000 (23:33 +0100)
We will move this code, fix its style first.

Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Esteban Bosse <estebanbosse@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/pci-host/piix.c

index 95b04122fa048de5cb8e4e27af6f58f3c54fcca5..1544c4726b4287d9158e9d21aec06e963abdba79 100644 (file)
@@ -133,9 +133,10 @@ static PCIINTxRoute piix3_route_intx_pin_to_irq(void *opaque, int pci_intx);
 static void piix3_write_config_xen(PCIDevice *dev,
                                uint32_t address, uint32_t val, int len);
 
-/* return the global irq number corresponding to a given device irq
-   pin. We could also use the bus number to have a more precise
-   mapping. */
+/*
+ * Return the global irq number corresponding to a given device irq
+ * pin. We could also use the bus number to have a more precise mapping.
+ */
 static int pci_slot_get_pirq(PCIDevice *pci_dev, int pci_intx)
 {
     int slot_addend;