From nobody Tue Nov 26 17:26:49 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1706279697; cv=none; d=zohomail.com; s=zohoarc; b=IY9V9XzfXAC5JMi+SVErbE9eY+vgzV7FtWsZZB0WPfSldnld4V5LywEgwCL4czLUmw7v2Y3PJPWA+0YbxpXQUEVxTqXLyUNRLPWJ5OPIbhxP4rB/Eq53H1U+AYHX3HBzPnqM8I08ypPqS/6P37TxVF1ZF66DC5r/GCBL0kvZWh0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1706279697; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=PQlpwttdu93pWOUx8f8ZpRO+tP7SjE8rg5GEXBoZTSo=; b=FgOJaSqF2S2L6AUckKAxiBOmT+uboeZavj29OkwUOCTdwlttuHgTigDkEvmEbqMx2o9/4bSAlOzEl64qwVJ7WKsZ9uxfafS3fVQGjw1Z6UlzBB0V6tOaB7khsMBBZAOvuoaSjTe0JPFo8XEo3GHvaSkyr2kIZzq+QyIpDzNE8sw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1706279697131323.6667663251718; Fri, 26 Jan 2024 06:34:57 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTNHF-0002HQ-4a; Fri, 26 Jan 2024 09:33:53 -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 1rTNHC-0002Eu-Ga for qemu-devel@nongnu.org; Fri, 26 Jan 2024 09:33:50 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rTNHA-0007sf-FY for qemu-devel@nongnu.org; Fri, 26 Jan 2024 09:33:50 -0500 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-33922d2cb92so650785f8f.1 for ; Fri, 26 Jan 2024 06:33:48 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id n5-20020a5d4845000000b00337f722e5ccsm1396207wrs.65.2024.01.26.06.33.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 06:33:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706279627; x=1706884427; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=PQlpwttdu93pWOUx8f8ZpRO+tP7SjE8rg5GEXBoZTSo=; b=seGSi7NnkrNRe7w71GD2OVmjB1BCv5HjLtsVd6FS85WtfafRWb01v+7W7HVgf3kgRj sOGHF7N+UiZ+jfl+mikfAib7i0FxzqP2xkBfAviMAf3HV3jbMp0m2upeTH71k5N54qkf Vg7SJBnPTsKrJRlPFWzGglqtgyvYmlmgwNp73w6ZhxDX4pRPyHL6yGGlTQGUUsnHWuMv XHwoO4LWsuKJJQw5r5Fh+2o7Ih/l3DQS7w2R9lWgxPBdbUU9pEDmU4C6VPKk/WjEJAJ8 Yz75fCQ+QYQhqoEOAovg8zB6CsKii1FP9zA7yNcju6jK6QRZcHIXqhyJWUMlrcBSuiJ5 KyLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706279627; x=1706884427; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PQlpwttdu93pWOUx8f8ZpRO+tP7SjE8rg5GEXBoZTSo=; b=tmgaf6S93km5ZMVqcy/2BVPXjHZjVIP2MyskX69fwl3mwcgx/gF1UqqM3mUiNgcr+4 EJJoJNybep0rUkGipFyh5b6WyT+C/1lLrUM+vkIPKPJfxd2hDHqfkfAuwtCRMeEcwGfe 47BZuSaElsozRVMUQJkoxoYOzn+KJ1553d4Wimz1RfMeF0Y89ud6ywzY30lJqH9hxu0D CooChHRrFRUlLKgoGQte67/wCm45E9Fp7kX8RaHsrRjDIjlmki3xmrLiJvD76LPxZRFm BpGjLJjVsHooqWNw6Xp+phnTAHpKm6FWWq+UGk+OxRsApyOiihuvA1mV0CTwxByyDVNv sL4w== X-Gm-Message-State: AOJu0Yzt+GLzOsecWHz9ccbXFmTa5/q9nP4oIO1JOb/rn1yKbLIvPnEh ihC1UUOoOZWQFKi+Q4lGzZvlL9LaGC5UfadQW4fjbTU4ZRv1gQNJB2Jy0rGXGOVOSkUwHJvzSD+ l X-Google-Smtp-Source: AGHT+IGuBCfmCEmJaHUcfVSPNBDGHt1VP1D8fr6a+qLf7wsrg+sWOuft+daQEJYCbDZC25qzk3/o3Q== X-Received: by 2002:adf:eac9:0:b0:33a:ea1:538f with SMTP id o9-20020adfeac9000000b0033a0ea1538fmr736911wrn.121.1706279627192; Fri, 26 Jan 2024 06:33:47 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 11/36] hw/arm/xilinx_zynq: Include missing 'exec/tswap.h' header Date: Fri, 26 Jan 2024 14:33:16 +0000 Message-Id: <20240126143341.2101237-12-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240126143341.2101237-1-peter.maydell@linaro.org> References: <20240126143341.2101237-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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; Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x42b.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=ham 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1706279698600100011 From: Philippe Mathieu-Daud=C3=A9 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 [-Wimplic= it-function-declaration] board_setup_blob[n] =3D tswap32(board_setup_blob[n]); ^ Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson Message-id: 20240118200643.29037-3-philmd@linaro.org Signed-off-by: Peter Maydell --- 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 dbb9793aa13..d4c817ecdc0 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" =20 #define TYPE_ZYNQ_MACHINE MACHINE_TYPE_NAME("xilinx-zynq-a9") OBJECT_DECLARE_SIMPLE_TYPE(ZynqMachineState, ZYNQ_MACHINE) --=20 2.34.1