From patchwork Thu Jan 18 20:06:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 763640 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a08:0:b0:337:62d3:c6d5 with SMTP id m8csp108871wrq; Thu, 18 Jan 2024 12:08:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IELptkbD7+ZG40vFY0YVrjvO10aLhxz2zfzuzuE8kjKlBThyaPpa5WSac4d3zdC8t3usr45 X-Received: by 2002:a05:6214:20c6:b0:681:31a3:1f66 with SMTP id 6-20020a05621420c600b0068131a31f66mr1756324qve.21.1705608490249; Thu, 18 Jan 2024 12:08:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705608490; cv=none; d=google.com; s=arc-20160816; b=bexWpnZHA3XX84q/xMWQhC/Qp7MdVXVVv2M0+AQgsioLRZxpQRUnNJmYh1h6Ba57IK o0WOyst+u6Z3waOhVM4XPG5PUHmyx1f+D7v9GM3+uVLnoYNXPmAFwkJ/2/AvvPgyecFT H0DWhPcBusTXspG+AteU+KdLJM4YsGGbVXZS4WbokBM79zyldZvIKiVdk6+h8QOt1cRD Slh6cNWjweQVR7sSaHnkgYo33evrR5cYAIMDnAetP0kmNTMca7Kgzi2aklih1Elnys9O GoeTxFpCelYOZ3NfH5Rm+OUzzqtUW2x0rAfg9iWwEqWqVtN+o0lUxh1/vy+Ta2KRItSR tmkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=htALVQYUd7tctCm3cf8P5ZcYUk/HKeiXOxSFOuNuC8A=; fh=cUgEM3TMHOIH70RmHTmTZxZmItZJnKfBWHSaci49aLY=; b=rLC5wLpf3ggGqxjqUe4ppAgre9JyIAqIMT+mdwwxMsOweYyOGUvjlPQEscVUnUgFu7 3ICajm9ZXZ8WEBBu8yFvX2HyDgeRhVUExNXfGLQjoB+uS8/w/Q3DOm/Hg91010klWRGf do/ngO/g7KZ4ldFRLR3bBR4VfUYkfTl4lytGFPy0b2cLZhSSAPZG+tnTtjBfpNQdV0NJ NdfSPfwNQPpFpUV24ZYFFRC0bpquTeHx9S7hwen5a//1ta/ZxI9GHLnY8y5K8aG+Lbsa SCrB7CZkiNuzZLcGT4PYm+BR2y7FltTPjKvItMuOMSrh9WxBdC+d0x/nS6i7TkIjWGEz n7Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Jk7ewOyb; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id b2-20020a0cf042000000b0068195ac3f0dsi1506161qvl.316.2024.01.18.12.08.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jan 2024 12:08:10 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Jk7ewOyb; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQYfG-0003Ro-Vb; Thu, 18 Jan 2024 15:07:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rQYfF-0003Re-Vs for qemu-devel@nongnu.org; Thu, 18 Jan 2024 15:07:02 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQYfE-0006t0-F8 for qemu-devel@nongnu.org; Thu, 18 Jan 2024 15:07:01 -0500 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40e86a9fbd9so195045e9.1 for ; Thu, 18 Jan 2024 12:07:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705608418; x=1706213218; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=htALVQYUd7tctCm3cf8P5ZcYUk/HKeiXOxSFOuNuC8A=; b=Jk7ewOybzq6uvZz/lm4sOoitpaxYG5jOdlA8I22c77qVPiiOjYSBYZa9wx6ROs0tOY evm9WdRZcjIOKlqBNef6vdx7oTliLJxkLEes2s7m3Lpi6Xsoy+PNlYugUec7KAAGc/in 6atEHS9lze233Wr1TwNNbrY1N4Zdo/wLOvzwgKheZDCQ6MCt39NzBg2gh9z/hTia6ZQb 8t8R0y8ZADohIX/n4dZ1XGo24P5Q41TK+PTtzSAolwfYueNxCh8wM79S/o5cfNwxXNf3 yQ2ylz0QsWuPFsnxCo1KPdfxoEDldmRU05hcg2tUH8rNhq2BLlg+H4N9LENYLJAmO9yN em8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705608418; x=1706213218; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=htALVQYUd7tctCm3cf8P5ZcYUk/HKeiXOxSFOuNuC8A=; b=pZgSuMC98JUkwuuOYS73+dhkGpX4h9gsnZAMJoygkllIOS2d7Mcfzlq3i/OtXtoumP rJTk80Tw0UQp0P76ZRa/13YM34+qeA1pF8A+TR9z9gpIengOOcrkY94QSqPot1bPl+b8 FflL/HjMleP2GbBHnhuEJEz1ps5n8HY1In66y7zQK0flX1UYRVhmx5cbQtCgw2STtvbG 14KoWrr0OAGyUzHjNzKpbDSte5dvjWTl4st4X4hJGYsz08FA1dci8Y0wflcWxrQajExw 16+0om5v+nk/3HYzKSHlOx3WCY0MmrVU+D51inkdAY2A2s0TwrbKSXbWLwI2D67Phun+ DTmw== X-Gm-Message-State: AOJu0Yz50XTcb7YO8PgpsBTD74BCGS5wNa5al4yZDT27Ukf1+D79bu6f Sda1ULUs8efLW2UQxIeQZ/kDgtdtFKDQhMnul/d5o5dfRxYXcWWI28yFiCeOOKbQn91pPTVo3YY tDYhUHtWs X-Received: by 2002:a7b:cbcc:0:b0:40c:416c:d99b with SMTP id n12-20020a7bcbcc000000b0040c416cd99bmr862981wmi.47.1705608418664; Thu, 18 Jan 2024 12:06:58 -0800 (PST) Received: from localhost.localdomain ([78.196.4.158]) by smtp.gmail.com with ESMTPSA id k20-20020a05600c1c9400b0040e54f15d3dsm30578929wms.31.2024.01.18.12.06.57 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 18 Jan 2024 12:06:58 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Igor Mitsyanko , qemu-arm@nongnu.org, Strahinja Jankovic , "Edgar E. Iglesias" , Igor Mammedov , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Eric Auger , Niek Linnenbank , "Michael S. Tsirkin" , Jan Kiszka , Marcin Juszkiewicz , Alistair Francis , Radoslaw Biernacki , Andrew Jeffery , Andrey Smirnov , Rob Herring , Shannon Zhao , Tyrone Ting , Beniamino Galvani , Alexander Graf , Leif Lindholm , Ani Sinha , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Peter Maydell , Paolo Bonzini , Jean-Christophe Dubois , Joel Stanley , Hao Wu , kvm@vger.kernel.org Subject: [PATCH 02/20] hw/arm/xilinx_zynq: Include missing 'exec/tswap.h' header Date: Thu, 18 Jan 2024 21:06:23 +0100 Message-ID: <20240118200643.29037-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240118200643.29037-1-philmd@linaro.org> References: <20240118200643.29037-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=philmd@linaro.org; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org hw/arm/xilinx_zynq.c calls tswap32() which is declared in "exec/tswap.h". Include it in order to avoid when refactoring unrelated headers: hw/arm/xilinx_zynq.c:103:31: error: call to undeclared function 'tswap32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] board_setup_blob[n] = tswap32(board_setup_blob[n]); ^ Signed-off-by: Philippe Mathieu-Daudé --- hw/arm/xilinx_zynq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/arm/xilinx_zynq.c b/hw/arm/xilinx_zynq.c index dbb9793aa1..d4c817ecdc 100644 --- a/hw/arm/xilinx_zynq.c +++ b/hw/arm/xilinx_zynq.c @@ -37,6 +37,7 @@ #include "hw/qdev-clock.h" #include "sysemu/reset.h" #include "qom/object.h" +#include "exec/tswap.h" #define TYPE_ZYNQ_MACHINE MACHINE_TYPE_NAME("xilinx-zynq-a9") OBJECT_DECLARE_SIMPLE_TYPE(ZynqMachineState, ZYNQ_MACHINE)