From nobody Mon Feb 9 12:25:56 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1582890781; cv=none; d=zohomail.com; s=zohoarc; b=NQPqko+tRYt1Zl6fjGc9aCj7YEoxm3TdPTkHWPd0d4IIEYy9yBh0MYBnLarqJ0mMT8kzP/ohIoJRAqsRG/aSXvdjnAhopzJrR5ohOGnXASGQCovsdYx6zKpyVECMtAfxXxiLU0e5fYV6FIu4vFBQZFcIn3dVyx5mc4wIQbKE+RA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582890781; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=oG2syAmxddzmH8pkr5M8RpghUELPZIGL0i8vM3fPgM8=; b=T5eL59fVOOIOfoegxEjLRxdAC6UUysbfxRc7n/irGqWz4+CE1C+WgY+76PlV4imMmT+TMo5PxYnan+rYJP8gxzLobMwlzHF0YyCspNpLPbkWBkSnnVo2omba9s6KlJI7brO14RIedqTG0odNBevG/wbNJ9zHkvBVGipJAJ4dg3U= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 158289078116222.397522002661844; Fri, 28 Feb 2020 03:53:01 -0800 (PST) Received: from localhost ([::1]:45860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7eCR-0000cj-UT for importer@patchew.org; Fri, 28 Feb 2020 06:52:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41393) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7e7f-0000Ro-3n for qemu-devel@nongnu.org; Fri, 28 Feb 2020 06:48:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7e7e-0001Qz-2j for qemu-devel@nongnu.org; Fri, 28 Feb 2020 06:48:02 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:44103 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j7e7d-0001QO-8R for qemu-devel@nongnu.org; Fri, 28 Feb 2020 06:48:01 -0500 Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-455-cDCv7LXzPtmT5UliULvHrQ-1; Fri, 28 Feb 2020 06:47:57 -0500 Received: by mail-wr1-f72.google.com with SMTP id c6so1209433wrm.18 for ; Fri, 28 Feb 2020 03:47:57 -0800 (PST) Received: from x1w.moovbox.local ([185.102.219.36]) by smtp.gmail.com with ESMTPSA id v8sm11901514wrw.2.2020.02.28.03.47.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Feb 2020 03:47:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582890479; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oG2syAmxddzmH8pkr5M8RpghUELPZIGL0i8vM3fPgM8=; b=GozzZqWD+n0mUsTSR1ocj1s+WW4MTkdVF9hzwJb2PQA2iBINKkUEt1BWWG422QnU+MgGz/ aE1VxINWKow3XGgkI0fEzCfesQgJ6aVoItk1gUD7UcwSRxZaZHkpu32WR2ELfNIMZ6aXF+ rvmvJ7TYaCVR4BSEI2HMW9pTfdogKzs= X-MC-Unique: cDCv7LXzPtmT5UliULvHrQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CyFzDanqkMTdQtUsYemEsgIvaK/rIvnd/I4zWxBCovs=; b=h/nGsJwiPRxktX0ANS3xni/lm/aCZBpZNsbeiUHSCyjCzRn8RhMSAV5Gm6eGRuZn+k NObW0zztD9oAspIvkXZHv1YJuj4Vs9DbkwAunoLaWTonHRIc7bd2C50TY5phG8m5vgJG 0EhflBcCkBZGRGlj+HdifYek38BPU7fkf5bRjSypsnu0nFoTGvsGJHKCqh+BLyMhMhpv Yo8VU4t6cKHVCUr/4fLA9Pa1KYpbNsslZmUIbJ/zqxb4FOYK0NNPyG79Jqa+cZrWah54 ZjyB8E47l8TGh2ybHN8+iJbUc4qzJx+/RL1i9/G0LPBFz5DkiPNfaBFLAukB9CK7lzLw W5yA== X-Gm-Message-State: APjAAAU1aq/ljn2rcWUCJhoW++Z3SaURObENFy1HPJqv3YUtkYM4rOM8 KyspcPS1+3cU3SewGykbPnkpBIix9krKhNF8mg0bqqurjZC+8lCnc9LvRFhmxRop79tNVoHBg91 VhauFMMPi7sCc80M= X-Received: by 2002:a1c:e483:: with SMTP id b125mr4581417wmh.187.1582890476135; Fri, 28 Feb 2020 03:47:56 -0800 (PST) X-Google-Smtp-Source: APXvYqxoc2NmSiQbBjwvkZ7JfDbfzavlQedgqjrfKmu67Pq/AxFihGtFt1BaY87Dd2WcjsWhpewNUw== X-Received: by 2002:a1c:e483:: with SMTP id b125mr4581397wmh.187.1582890475900; Fri, 28 Feb 2020 03:47:55 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 09/18] hw/hppa/machine: Include "net/net.h" Date: Fri, 28 Feb 2020 12:46:40 +0100 Message-Id: <20200228114649.12818-10-philmd@redhat.com> X-Mailer: git-send-email 2.21.1 In-Reply-To: <20200228114649.12818-1-philmd@redhat.com> References: <20200228114649.12818-1-philmd@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 207.211.31.120 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Michael S. Tsirkin" , qemu-trivial@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Helge Deller , Paolo Bonzini , John Snow , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8"; text/plain; charset="utf-8" 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 =3D 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 Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- 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" =20 #define MAX_IDE_BUS 2 =20 --=20 2.21.1