From patchwork Thu Feb 15 17:57:14 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: 772961 Delivered-To: patch@linaro.org Received: by 2002:adf:9dc2:0:b0:33b:4db1:f5b3 with SMTP id q2csp965368wre; Thu, 15 Feb 2024 10:02:41 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUFjXfQNYqp+RLou7DFfGLTZMCmgU1u3sI/8wh20P0QIGFUQSQ/+CeAXuw810en3Pd6PzM1tJdpBeC5ASq5L0Th X-Google-Smtp-Source: AGHT+IHdoFFINjye5WWYE6TBR00sfvybTfr8uZ8L6BUd4gGPMLQFBUle8G0pdLFf4kpJQ5hj2KMc X-Received: by 2002:a05:600c:3554:b0:411:fc94:ac99 with SMTP id i20-20020a05600c355400b00411fc94ac99mr2195223wmq.9.1708020161809; Thu, 15 Feb 2024 10:02:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708020161; cv=none; d=google.com; s=arc-20160816; b=I4iqG1CGBtoKVDvqnNJpqsy4qMfyEH25CKB/TVlH/jqx0EeCeXZCcM59N/nRnZmnre Fo+1pO4hPgm1CQ3i+smcznU+i4xJCA09Lk+IPT0LyXO1iEuxzqjm+YulFo2aOiQmYgIw Kc1jzm1JRCP37FQKynVHZ8aqUuNkBLTcp5y8k3a7+ZbSeOTb73KqCxIcYDxKljd/Z2dH WEsi5xd3SHRQJBPQhlFrGLze+0mJ7XCjMPMyvGm7L7wRCe8C0T2NqFzdnQrYbVxW7Kq1 +KSnlTGRjYQ+g79f3K/DX0RX2CF7C93xkUMhp7UQ2MlIGChj/ITLt6FqWnmAvz9KHTii OBxQ== 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=DEY5Q9cN6dyZ6ENA20XPMsBoCTRW9qgX5vERomv9BCU=; fh=3qOqTLcNT0VRN1uvEMCfMPI8wWbn1qzYcF6MahaL2ZY=; b=Phwn1+Q5MxscnRq6TUN8XDL9FBQqsD76EOiWzcs1dYxMVaEx5JHpWIy07JGHr7Z/Q4 7cNhTfznFLewdpGhlYxgZqkjYrbLlKGpvE9kCR4aQS8Z96IJ3t9pyAg4uQcYxr3IMoU0 O+gwM8a+4gLhOuuzj6pfseHdGOsb8V2U1g98mn3gBIbcokJuJawP4yku5uE/a/+WLz/u UVzLwWcvE63uefu+9cxiWDTnGzpPdGpLQ1YZKBBotbBo+qcADCGJ1k/FP2FAYjJDRcEb F0nOoDSfzRGLlKrkOHOazJpxa+6Z5kmr7DBZA33lXe7xa+HG16E478oOwkfzwdceLDdz UNHw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gISc223v; 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 d17-20020a5d4f91000000b0033cfd422825si970233wru.1055.2024.02.15.10.02.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Feb 2024 10:02:41 -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=gISc223v; 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 1rag1y-00083i-Gp; Thu, 15 Feb 2024 13:00:18 -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 1rag1q-0007Ym-BB for qemu-devel@nongnu.org; Thu, 15 Feb 2024 13:00:10 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rag1n-00023i-8O for qemu-devel@nongnu.org; Thu, 15 Feb 2024 13:00:09 -0500 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-33cf7812777so639139f8f.0 for ; Thu, 15 Feb 2024 10:00:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708020005; x=1708624805; 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=DEY5Q9cN6dyZ6ENA20XPMsBoCTRW9qgX5vERomv9BCU=; b=gISc223vv85RqmfTBjyHfX7Yom02HvnP7aeXJ3DB+LkJqz/bV/lDqZnLcMZHFNsjAB 3ee73owj8x3OvCgjLKTcYo/0gXio8znOqtEZyiqjXT4fhSBSJf0Lr6xWay1idF4v7XpM FfH+S2fPMmaJTSe8HytSPvPV9Nm7KahG2Ky2A4tuYw01Kh0dVJ75r0NKGMjn6KUjWkCU QjuOLBtbBSCrNmLK3N7TJ/WXAqhf1+nG7OZ/HTaPeHoKyRePKuM4xrdBzboR1WaRz9/v 8uViySEbLk41gd+h9nmii+sIfXkMhT6EXUwtcSdUfPtGV9DAdyNtvFyz1AjJDg4oW1FP mMFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708020005; x=1708624805; 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=DEY5Q9cN6dyZ6ENA20XPMsBoCTRW9qgX5vERomv9BCU=; b=TlZZhjzWCKfza0PBg7R2btQzKCx4bHAX+lkJ5bY9qez/2DwUjvfWrRFkYNjW+mkUop orotFUcNMs1Rj4JjfiNic5r98Y3YkGWEctXkJRJvpsH6u5J6Tm5Ih2VoJH+RuHgf9Tfy fnRzf7ElkDk/L4zP0HjB+pdGZMz0LfkH2+10YYa7mVBmGylHIOArsy9FCy/LFAbG3xLs bM+XbhA9dVNclB6vJ6FY0WuJfbHZExyEyZSKzZDnV78mI7sVblhg+1iaE9BbXWgR/N93 trSHKzqIbS+b/m8oRyuwuvLexZ0tNMQbhsm4fUn160RwX927QuhZcZA4Rt8Bd3b06/hz 3pjA== X-Gm-Message-State: AOJu0Yziq3VSKzAnZ+/DIOddoY4K7onBK4TmMs0HLcD1d7YDkL7qKh75 +0QotM86gCx+OUWg+FK2fj1XgMVup7SF4Ul5ybzxR+3GNcwq6Xc1g4sxt4ihL3EqLYFJ19E3xfN aVL8= X-Received: by 2002:adf:e7cb:0:b0:33b:6773:1481 with SMTP id e11-20020adfe7cb000000b0033b67731481mr1883493wrn.56.1708020005318; Thu, 15 Feb 2024 10:00:05 -0800 (PST) Received: from m1x-phil.lan ([176.187.193.50]) by smtp.gmail.com with ESMTPSA id v9-20020a5d43c9000000b0033afc81fc00sm2374790wrr.41.2024.02.15.10.00.03 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 15 Feb 2024 10:00:04 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, qemu-arm@nongnu.org, qemu-block@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Peter Maydell , Yoshinori Sato , Richard Henderson Subject: [PULL 20/56] hw/rx/rx62n: Reduce inclusion of 'qemu/units.h' Date: Thu, 15 Feb 2024 18:57:14 +0100 Message-ID: <20240215175752.82828-21-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240215175752.82828-1-philmd@linaro.org> References: <20240215175752.82828-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=philmd@linaro.org; helo=mail-wr1-x435.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 "qemu/units.h" is not used in the "hw/rx/rx62n.h" header, include it in the source where it is. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Peter Maydell Reviewed-by: Yoshinori Sato Reviewed-by: Richard Henderson Message-Id: <20240213130341.1793-3-philmd@linaro.org> --- include/hw/rx/rx62n.h | 1 - hw/rx/rx-gdbsim.c | 1 + hw/rx/rx62n.c | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/hw/rx/rx62n.h b/include/hw/rx/rx62n.h index 73ceeb58e5..bcda583ab3 100644 --- a/include/hw/rx/rx62n.h +++ b/include/hw/rx/rx62n.h @@ -29,7 +29,6 @@ #include "hw/timer/renesas_tmr.h" #include "hw/timer/renesas_cmt.h" #include "hw/char/renesas_sci.h" -#include "qemu/units.h" #include "qom/object.h" #define TYPE_RX62N_MCU "rx62n-mcu" diff --git a/hw/rx/rx-gdbsim.c b/hw/rx/rx-gdbsim.c index 47c17026c7..bb4746c556 100644 --- a/hw/rx/rx-gdbsim.c +++ b/hw/rx/rx-gdbsim.c @@ -20,6 +20,7 @@ #include "qemu/cutils.h" #include "qemu/error-report.h" #include "qemu/guest-random.h" +#include "qemu/units.h" #include "qapi/error.h" #include "hw/loader.h" #include "hw/rx/rx62n.h" diff --git a/hw/rx/rx62n.c b/hw/rx/rx62n.c index 4dc44afd9d..d3f61a6837 100644 --- a/hw/rx/rx62n.c +++ b/hw/rx/rx62n.c @@ -23,6 +23,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/error-report.h" +#include "qemu/units.h" #include "hw/rx/rx62n.h" #include "hw/loader.h" #include "hw/sysbus.h"