[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 09/18] hw/hppa/machine: Include "net/net.h"
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v2 09/18] hw/hppa/machine: Include "net/net.h" |
Date: |
Fri, 28 Feb 2020 12:46:40 +0100 |
hw/hppa/machine.c uses NICInfo variables which are declared in
"net/net.h". Include it.
This fixes (when modifying unrelated headers):
hw/hppa/machine.c:126:21: error: use of undeclared identifier 'nb_nics'
for (i = 0; i < nb_nics; i++) {
^
hw/hppa/machine.c:127:30: error: use of undeclared identifier 'nd_table'
pci_nic_init_nofail(&nd_table[i], pci_bus, "e1000", NULL);
^
Acked-by: John Snow <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
hw/hppa/machine.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c
index 67181e75ba..d1e59a97f6 100644
--- a/hw/hppa/machine.c
+++ b/hw/hppa/machine.c
@@ -22,6 +22,7 @@
#include "qapi/error.h"
#include "net/net.h"
#include "qemu/log.h"
+#include "net/net.h"
#define MAX_IDE_BUS 2
--
2.21.1
- [PATCH v2 01/18] vl: Add missing "hw/boards.h" include, (continued)
- [PATCH v2 01/18] vl: Add missing "hw/boards.h" include, Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 02/18] hw/southbridge/ich9: Removed unused headers, Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 03/18] hw/i386/ioapic_internal: Remove unused "hw/i386/ioapic.h" header, Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 04/18] hw/timer: Remove unused "ui/console.h" header, Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 05/18] hw/usb/dev-storage: Remove unused "ui/console.h" header, Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 06/18] hw/i386/intel_iommu: Remove unused includes, Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 07/18] hw/alpha/alpha_sys: Remove unused "hw/ide.h" header, Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 08/18] hw/alpha/dp264: Include "net/net.h", Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 11/18] hw/timer/hpet: Include "exec/address-spaces.h", Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 09/18] hw/hppa/machine: Include "net/net.h",
Philippe Mathieu-Daudé <=
- [PATCH v2 10/18] hw/acpi/cpu_hotplug: Include "hw/pci/pci.h", Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 12/18] hw/pci-host/q35: Include "qemu/range.h", Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 13/18] hw/i2c/smbus_ich9: Include "qemu/range.h", Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 15/18] hw/acpi: Include "hw/mem/nvdimm.h", Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 14/18] hw/pci-host/piix: Include "qemu/range.h", Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 16/18] hw/i386: Include "hw/mem/nvdimm.h", Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 17/18] hw/pci-host/q35: Remove unused includes, Philippe Mathieu-Daudé, 2020/02/28
- [PATCH v2 18/18] hw/i386/pc: Clean up includes, Philippe Mathieu-Daudé, 2020/02/28
- Re: [PATCH v2 00/18] hw: Clean up hw/i386 headers (and few alpha/hppa), Richard Henderson, 2020/02/29