From nobody Fri Nov 7 12:28:48 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 153920855544138.03526160980232; Wed, 10 Oct 2018 14:55:55 -0700 (PDT) Received: from localhost ([::1]:59297 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAMSP-00025d-KA for importer@patchew.org; Wed, 10 Oct 2018 17:55:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gAMQh-00018u-J5 for qemu-devel@nongnu.org; Wed, 10 Oct 2018 17:54:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gAMQg-00019z-Pg for qemu-devel@nongnu.org; Wed, 10 Oct 2018 17:54:07 -0400 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:37256) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gAMQg-00019F-Fy for qemu-devel@nongnu.org; Wed, 10 Oct 2018 17:54:06 -0400 Received: by mail-wm1-x341.google.com with SMTP id 185-v6so7298261wmt.2 for ; Wed, 10 Oct 2018 14:54:06 -0700 (PDT) Received: from x1.local (26.red-83-32-208.dynamicip.rima-tde.net. [83.32.208.26]) by smtp.gmail.com with ESMTPSA id x16-v6sm15820906wro.84.2018.10.10.14.54.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Oct 2018 14:54:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fXRi0TqBaIzxSyE4eNmZgFuaAjT1mHOg2dhvrW1GRcM=; b=OYakFEJirDTyVyDj52lkZ0ttDVNPyZc/LO0GksyU7ZJX5KvG/rJ9YRiyvWiIanR8lO zaCqlE9NyyOkTg4GAIKOoX1zvANquqybdYIWxpBsaUwxhEFp/uQe5BBsa7pmkuJZ0XI8 GscH4VaYv1dsfz0U8+cE4Nq9yO1egBA7tgny9pSJ5BLSrXIdbWyuYdOYawDeytbDsNaI JzQVPXo9a6FRsjzsYKhzUFeucZ+9+wawtBtucTBjPwA/H2xZ3I9Baok3ATUaE96CcCmC OEHsVfd0fU+q67Tbz+X9zf517kvlnwOE/xp+1SM9j+XFVX1EOnCVchefEyUP67bj2dWz yplA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=fXRi0TqBaIzxSyE4eNmZgFuaAjT1mHOg2dhvrW1GRcM=; b=s/9+uCgFKysIF6W0aiQyYonKPupG26khz+7cy6UsuvZSGotY5/XfiQ0Ie5NrfwFuAo eczFy/mIaGTmEOvjmEjjKD0jQQKSN2k6nAhDgo6ebq5vLmQR9Fy5GVjRrIzT1xSbErHp JyHVd7iuj3uHQ0t6nWuCkOVrO2FxqS67DuJGPv2bgM/OWKJJofLHwJ/pDSnmuW7LNhbq nWO9tTKyrhB0oLAcGLV5Cv4Iv2CtN4KPIW4zAnZu3y2V75zv3b7JMoTpGe9kLhAoYjEI /j0FzO7YRh3YNYR8YOG+FhsHULWIMpSU+55PGl6as57Z45gkwdbnVHZMoqJLX22JB5Sm 8zbA== X-Gm-Message-State: ABuFfoikiv/RZFaRASONSuFXj8KE0SsIfXsQsn3aaoNfzF1H8HmpVMTR rJOJT166SBTnceWfzNMKZPU= X-Google-Smtp-Source: ACcGV60kB/CORilnfcVqdZPuJsuvuJG48TA7zp3MsYHakb8owHlso1zHKhwPf4SXaayVTEWnNv5PYw== X-Received: by 2002:a1c:b402:: with SMTP id d2-v6mr2309752wmf.37.1539208445445; Wed, 10 Oct 2018 14:54:05 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: "Michael S. Tsirkin" , Marcel Apfelbaum , David Gibson Date: Wed, 10 Oct 2018 23:53:55 +0200 Message-Id: <20181010215355.16221-4-f4bug@amsat.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181010215355.16221-1-f4bug@amsat.org> References: <20181010215355.16221-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::341 Subject: [Qemu-devel] [PATCH 3/3] hw/pci: Add missing include X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Noted while refactoring: CC mips-softmmu/hw/mips/gt64xxx_pci.o In file included from include/hw/pci-host/gt64xxx.h:2, from hw/mips/gt64xxx_pci.c:30: include/hw/pci/pci_bus.h:23:5: error: unknown type name =E2=80=98PCIIOM= MUFunc=E2=80=99 PCIIOMMUFunc iommu_fn; ^~~~~~~~~~~~ include/hw/pci/pci_bus.h:27:5: error: unknown type name =E2=80=98pci_se= t_irq_fn=E2=80=99 pci_set_irq_fn set_irq; ^~~~~~~~~~~~~~ include/hw/pci/pci_bus.h:28:5: error: unknown type name =E2=80=98pci_ma= p_irq_fn=E2=80=99 pci_map_irq_fn map_irq; ^~~~~~~~~~~~~~ include/hw/pci/pci_bus.h:29:5: error: unknown type name =E2=80=98pci_ro= ute_irq_fn=E2=80=99 pci_route_irq_fn route_intx_to_irq; ^~~~~~~~~~~~~~~~ include/hw/pci/pci_bus.h:31:24: error: =E2=80=98PCI_SLOT_MAX=E2=80=99 u= ndeclared here (not in a function) PCIDevice *devices[PCI_SLOT_MAX * PCI_FUNC_MAX]; ^~~~~~~~~~~~ include/hw/pci/pci_bus.h:31:39: error: =E2=80=98PCI_FUNC_MAX=E2=80=99 u= ndeclared here (not in a function) PCIDevice *devices[PCI_SLOT_MAX * PCI_FUNC_MAX]; ^~~~~~~~~~~~ make[1]: *** [rules.mak:69: hw/mips/gt64xxx_pci.o] Error 1 make: *** [Makefile:482: subdir-mips-softmmu] Error 2 Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- include/hw/pci/pci_bus.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/hw/pci/pci_bus.h b/include/hw/pci/pci_bus.h index b7da8f555b..dfb75752cb 100644 --- a/include/hw/pci/pci_bus.h +++ b/include/hw/pci/pci_bus.h @@ -1,6 +1,8 @@ #ifndef QEMU_PCI_BUS_H #define QEMU_PCI_BUS_H =20 +#include "hw/pci/pci.h" + /* * PCI Bus datastructures. * --=20 2.19.1