From patchwork Thu Jan 18 20:06:22 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: 763638 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a08:0:b0:337:62d3:c6d5 with SMTP id m8csp108719wrq; Thu, 18 Jan 2024 12:07:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IEUFwYQ0gbPK4IBZoIA9scLvoiySt1qsO0UN9YsOw7xXnw898rQEIUVjjjDIGtNy83IfSSn X-Received: by 2002:a05:622a:1002:b0:42a:1169:3c5 with SMTP id d2-20020a05622a100200b0042a116903c5mr1493162qte.63.1705608472020; Thu, 18 Jan 2024 12:07:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705608472; cv=none; d=google.com; s=arc-20160816; b=0ukzsprbyKYuB3WCHPvrDLdc2hag+q8covg+qeM5twNrHQED9NXEtVCIaI4krBiqMR yE1V0sTMTlPDtgIsyCwBgkZFM+GCFzTe/rV+vsySYqHB6vQZuud3DzgJbefQJXQrDrv1 wqYI7CtlV02YvpBJbX6y7z7D+V8PEkGZVmeTe3EgyVoc1QkXw/IedDruZ3V+mo5xeI60 wLGbhULp3tkHvbfWJngd/a2D96wrV7PJAhci5q+VJ8vse9bcaj15vFfJOed6EArtiHSx D5vUb20H2f80TbaIRQWImJ9vVB0I9J++getDM9cIPn0ejnfCzSR6gaV1TSGQ7KIsSw0h fojg== 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=DiNAFYNzh60Xuezutbt6PuwpTTLS/OKWcI7qaHfDd9s=; fh=cUgEM3TMHOIH70RmHTmTZxZmItZJnKfBWHSaci49aLY=; b=XpBoK0iPqxlZOtBHkpDwQZ6ORPpPHUt86LTZONaxjICKpUkeVy7zOVw9FNcLKRFBcq XcLpu5Kh3epuzXSXXpXCYhUO2gLINbCqORPC/kCWLtcPzOSGTvA+3iVq4Dc0J2kQqZUP lQdDpm+nG/4cF5i5mVnXth+LiyC2JugC06JOihJE9Ar2jxKCUT/wbUJhdgYsfclQ5XoI BdyoyLyunj7vOoNWFnPAo8iJSqKq6BAeEWYhdJ+7lpn2T2rZqMEzExWv0lxmHGQI+gXn 9LWd4INbsDfr4u25Itl/ZHL+ThL2HWx7k/AgvQJvOQo6huA0P+Ww/XzvaHZ3IrV73Jxx 4gKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HP9tV4Jq; 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 z9-20020a05622a060900b004299a282df8si14621867qta.609.2024.01.18.12.07.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jan 2024 12:07:52 -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=HP9tV4Jq; 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 1rQYfC-0003P8-MZ; Thu, 18 Jan 2024 15:06:58 -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 1rQYfB-0003On-8K for qemu-devel@nongnu.org; Thu, 18 Jan 2024 15:06:57 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQYf8-0006sF-MH for qemu-devel@nongnu.org; Thu, 18 Jan 2024 15:06:56 -0500 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-40e8801221cso224215e9.1 for ; Thu, 18 Jan 2024 12:06:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705608413; x=1706213213; 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=DiNAFYNzh60Xuezutbt6PuwpTTLS/OKWcI7qaHfDd9s=; b=HP9tV4Jq36w/bkNaJaAQAhsEL9TlOcgrGAG4kaObnnS1au3JwTcdyTp+yxRVllMIB6 F+/VRqZPPhIMX0+DXw89ATjT9nkK8nnlDtMc/lsMDevqebDl3SFqNbLH8PLEkn/jhZMs wtvpw7BB25G+n2O1bVvqKytAxJ8Mpk2Xucez7NDXxe4OWrDR2WMIlpOIMwPrBMKXfrdH +hQD+mn4925unUYysgyGxs+pM6XEWwYSYxw2+zcGOmby/6WfN0/qYeDEZ1hnxUCu40IW vLHwgd16yoYU7f+DEmIAHbA1ACwOLLC/U+iFCeF4buPAg41dLyoBRy6P0Ef5tgHbK8Wa VEsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705608413; x=1706213213; 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=DiNAFYNzh60Xuezutbt6PuwpTTLS/OKWcI7qaHfDd9s=; b=EaNq+N+HTldU79V2Cs5F22mOY2kyy2/AgO0+9EU5EkcLMtUKcGUAKkLjiwKLQeXqJE e89Y4OTnk3z0lc8IXm9+GHqX7P2Wet8fASuXy8qCJOeWcEVb+Cl5Ra+63jcqLcjjj0Oc Hp/VFNbTjIzOB6G/3S2qUplDOGODDwsxRgvfa0VpFRPcCBSbRJHZxgPDhgMQPa+7XtQI CYYKyRfyEhowNlSdsu9gKUJJu6TvQnSLXjDJJljB8WH9IVedg21HP5QHE6zMcwd6Wwa/ YTevq4DAqqqBjQcNS1lYDPz3dAiDyf1GUZHyNICV27pqsdEqqK2UOcAXZ4oR4P+JUyQl Gvpg== X-Gm-Message-State: AOJu0YyXugy2nK5sioURGPs4oljuMJFxQcH1aFRjtZABdo0SYt+eHwDI hdxEcQRCiCL8ovgzS7rvwOUqH8JXFiZVb8rqp9eSiwpANMbYsq+vPQ334WZLkAYyS0s28wBTgn+ 0GJQG3ZF5 X-Received: by 2002:a05:600c:3317:b0:40e:85fe:af82 with SMTP id q23-20020a05600c331700b0040e85feaf82mr1044508wmp.24.1705608412751; Thu, 18 Jan 2024 12:06:52 -0800 (PST) Received: from localhost.localdomain ([78.196.4.158]) by smtp.gmail.com with ESMTPSA id je6-20020a05600c1f8600b0040d8d11bf63sm26933714wmb.41.2024.01.18.12.06.50 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 18 Jan 2024 12:06:52 -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 01/20] hw/arm/exynos4210: Include missing 'exec/tswap.h' header Date: Thu, 18 Jan 2024 21:06:22 +0100 Message-ID: <20240118200643.29037-2-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::332; envelope-from=philmd@linaro.org; helo=mail-wm1-x332.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/exynos4210.c calls tswap32() which is declared in "exec/tswap.h". Include it in order to avoid when refactoring unrelated headers: hw/arm/exynos4210.c:499:22: error: call to undeclared function 'tswap32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] smpboot[n] = tswap32(smpboot[n]); ^ Signed-off-by: Philippe Mathieu-Daudé --- hw/arm/exynos4210.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/arm/exynos4210.c b/hw/arm/exynos4210.c index de39fb0ece..af511a153d 100644 --- a/hw/arm/exynos4210.c +++ b/hw/arm/exynos4210.c @@ -23,6 +23,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" +#include "exec/tswap.h" #include "cpu.h" #include "hw/cpu/a9mpcore.h" #include "hw/irq.h"