From nobody Tue Feb 10 04:08:18 2026 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 1513142528614739.2062073562859; Tue, 12 Dec 2017 21:22:08 -0800 (PST) Received: from localhost ([::1]:33721 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOzUd-0002Am-6X for importer@patchew.org; Wed, 13 Dec 2017 00:22:07 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOzRa-0000BV-WE for qemu-devel@nongnu.org; Wed, 13 Dec 2017 00:18:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOzRZ-0004eI-Py for qemu-devel@nongnu.org; Wed, 13 Dec 2017 00:18:58 -0500 Received: from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]:37110) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOzRZ-0004e9-LF; Wed, 13 Dec 2017 00:18:57 -0500 Received: by mail-qk0-x242.google.com with SMTP id i130so584603qke.4; Tue, 12 Dec 2017 21:18:57 -0800 (PST) Received: from x1.local ([138.117.48.211]) by smtp.gmail.com with ESMTPSA id d15sm522318qkc.26.2017.12.12.21.18.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Dec 2017 21:18:56 -0800 (PST) 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=mxhooxRP6D79PhQsASDOKeJRzpNGCSz4Xd1Uu5VCMq8=; b=pec2CduFDstcA6PMjr6Dw039dZPVVSB33dl8QX9Sbyq9oy58ZtXCcbkl04wu1W5GBp 8kzG8eHzRuPyCVDfrsD2PbIKmUDYZGIKA8wlfke786PvDA50uJ6XNWJg0P+AeI+CUd6D qOPa+3samk0ejlKQt/RsJqqThAPuKkHSJ6tJ7YNriUe8ZpD9DkbAmOQj0ry7cFkufGkz NDeAuwcv4bszioy4YQnBlP3+G5Mra4BKm7RsmilYwxXS/4gnpg+ntyQsd4Nh9I4dbhGW gG2Vy8ZHVr4dEwRrrR68hQPhdCN+0X6cSx2t2Wc9WJpRibvT5e4UvyClqBFyn5hXZXzB rpzQ== 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=mxhooxRP6D79PhQsASDOKeJRzpNGCSz4Xd1Uu5VCMq8=; b=Im/4Or4yvDla8bzAUBbLgPAd+pXC0Df97dSggEyrd816pLdK+5qaHYTP+ONzoZPU10 zQIF/2yoATqrnlHC0cCJXmfh6WAL5v2h9z/yAhDM9AF9qgtWpYR16ysUkPei4qj5Ur0r qWgu7v2W1RT7TChjuK2Quel9IElVMmQt4huwtlnGd1ghA4YvP4FU3LOWQJRVC9ZFdv04 U65lSp46L0r66FXjQPAdN9YcjXMExXpD1k7CDOZowVkMkasn7emo+V06io1E8wXJiUMy AiLFOkLfhSzlJnl/o1IFs4Epa4YwDGzZRbn7N41RMSwI1h5L/M9s2Tq7vndu73rX6oz9 vQvg== X-Gm-Message-State: AKGB3mIF+KOtX7HCF2f4HfujF3Md/oY7FQVi6Sh/bCshgnR1DJQanDgU HdKNVW1CluXAi4F3woCM9mc= X-Google-Smtp-Source: ACJfBou89/3Jg2uA/MFLAKzf7cpyyvI9DTDT0O2fRrM5p251wujHGuqojX0h+sv36fe550oBuS08IA== X-Received: by 10.55.21.18 with SMTP id f18mr5161208qkh.257.1513142337243; Tue, 12 Dec 2017 21:18:57 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Alistair Francis , "Edgar E . Iglesias" , Eric Blake Date: Wed, 13 Dec 2017 02:17:36 -0300 Message-Id: <20171213051736.17755-5-f4bug@amsat.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171213051736.17755-1-f4bug@amsat.org> References: <20171213051736.17755-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: 2607:f8b0:400d:c09::242 Subject: [Qemu-devel] [PATCH 4/4] hw/registerfields: 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: qemu-trivial@nongnu.org, =?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 This allows to use this header in qtests. This fixes: CC tests/test.o include/hw/registerfields.h:32:41: error: implicit declaration of functio= n =E2=80=98MAKE_64BIT_MASK=E2=80=99 [-Werror=3Dimplicit-function-declaratio= n] MAKE_64BIT_MASK(shift, length)}; ^ include/hw/registerfields.h:39:5: error: implicit declaration of function= =E2=80=98extract64=E2=80=99; [-Werror=3Dimplicit-function-declaration] extract64((storage), R_ ## reg ## _ ## field ## _SHIFT, ^ Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- include/hw/registerfields.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/hw/registerfields.h b/include/hw/registerfields.h index f59e7f47bd..44e0b94edf 100644 --- a/include/hw/registerfields.h +++ b/include/hw/registerfields.h @@ -11,6 +11,8 @@ #ifndef REGISTERFIELDS_H #define REGISTERFIELDS_H =20 +#include + /* Define constants for a 32 bit register */ =20 /* This macro will define A_FOO, for the byte address of a register --=20 2.15.1