From patchwork Tue Feb 13 13:03:31 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: 772307 Delivered-To: patch@linaro.org Received: by 2002:adf:9dc2:0:b0:33b:4db1:f5b3 with SMTP id q2csp241972wre; Tue, 13 Feb 2024 05:05:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IFtxYwYnOeO/Z0OxlEn4DNKovAnGen9xxNZMbB7WntEsWOsKE3rtdNNHseXVheKzRnQ2TDL X-Received: by 2002:a54:460d:0:b0:3bf:f1e9:2199 with SMTP id p13-20020a54460d000000b003bff1e92199mr9925853oip.46.1707829557221; Tue, 13 Feb 2024 05:05:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1707829557; cv=none; d=google.com; s=arc-20160816; b=DYEWIIPdL98wbSvVJi+oI6R4uwmPJffJvP/90U87q6uA+Is5L5dWumPttQfLXeAyD6 CFQbSgd5JcKMsT8XbZfH33Z9yk1Rik5ebIykThauwRd75NdOSVOEQGhcTsl+BTwEupAf 1JigSzWnxAXQexjOj3LnmxL2qMMAYLo1sVyIVLsvenYtn8KNh62oNYO7U3ykVSozfTRJ LQF1Fqw/PxwhFquptE3rRuxx7Aud9tsYCA3vEj2WidIZ+/k0WsHe6p0Wb/mpdzfiyUTE dV1VqsqTxsw1Ja2BknCTaIArhl2xEn3ALz+3a7xn9qLC0prAXnKWmIqSzLQP+9Bjy5Ng CQrw== 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=4qIxF6fCwa3/mbXSgbpVLHQdzzP18rWcIr6bIztAwaI=; fh=hECoIZeijH7VCJIfaWwXwqn7M+DwWO6LJ0YRIZFRV7M=; b=CdcOOCHinfgdLIp71ig1kBHd+FFza8DV8Mw3advvW7EtaFfcHI/LiMeXTkB6wF4vSX t5LXfkofj2Wy/LnYka34YTxleE62G3lFhyVmSLACXfy5lSig446Y7cMaABeu/XhHzOya paxme+KwWbCLG9/0WgMUp5MvC4YYhfQlGwrvoA8yWXHuurrpQTZpKpQHZ1uOW9igeLdJ 4OgV1LS7fE5WVmDounG5p8U3cvi66guNiT6leOUVHNlLz5R0pzpPdVpBrnG/a/bcTYnE cRTC+J+7CWYDngCDgWJDm/JYxkRZxVQM6MAnorAlHp8kgqeZ4KjqBgX7o/78FNK9czpg rKFg==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Lu4+GA+3; 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 X-Forwarded-Encrypted: i=1; AJvYcCVIV87ZVQ7Lxa0y06HGsb7IQKqrFVqDzWlde2cICzXj4XKDg78Mxt7zgYIufO+Zyx+6Q3LKnAsxMA35i0XcGDgF Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id gw6-20020a056102668600b0046d0188b5e5si1119846vsb.717.2024.02.13.05.05.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Feb 2024 05:05:57 -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=Lu4+GA+3; 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 1rZsSI-0001iu-L2; Tue, 13 Feb 2024 08:04:10 -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 1rZsSD-0001d2-2P for qemu-devel@nongnu.org; Tue, 13 Feb 2024 08:04:05 -0500 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rZsS9-00061X-0d for qemu-devel@nongnu.org; Tue, 13 Feb 2024 08:04:03 -0500 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-411c93e1cd8so2316685e9.0 for ; Tue, 13 Feb 2024 05:03:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707829439; x=1708434239; 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=4qIxF6fCwa3/mbXSgbpVLHQdzzP18rWcIr6bIztAwaI=; b=Lu4+GA+3ASVC7t8KFAkw3D7JzHoRTl2653c2mtOHN0yYfDdNmYfUu7V789py2O0Xy3 9dii2az7UQhtv9Fam7tyL3dKwXjPQq1WbdZeTtzj0nVvXWbzqHn+xLnVwAtvakrA3/lV wWYhJJf7/GPWIaL34ND6HfW7pFDPJtc5BeVHwZVKw4TLnTcDJE1s9UliyvthkF4VsSKK /hsj/2fFJX++reICJGFk3S4LzgePlVX+XLKD+5yzdKciUePlYh0biE3jvvRaWDvgk3up W5Dx+ljtJ8ZJiZsxZcfwct37jLXpmiDCKbAFKWwL4gHS8pSQ9iQ0dfVqmRo/39/kYbyx hvZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707829439; x=1708434239; 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=4qIxF6fCwa3/mbXSgbpVLHQdzzP18rWcIr6bIztAwaI=; b=KvoNSQAvr5qOInOD44gF9eMQO9js/Calerfs7BdorWDZ1KItH7kKBIgXCU9o2S5Bvm 1a09BVShQ7aW3E/y0KYUmXLn9dtKW9KsOH4FKF3JMDDeCc3YAox+3NrLcw7X5pkbWUKj 8HfbW+wWST6odPXjaTCkMG/KiDsShqDK3EPtsA85mkPWr8/505S9N4h16Qc+FMNKn1dy R1JNlHQtLCvNXTJeN1zEk7hbqENV8cMRaA1jDrT2E78VvH9Wt2FctX6J7TpW0FVHwsVT 78C+8OiG04kSkLmkcO3DdsW6HNJxvDZj+plCgYg11BHmkNn/C9b4vhv9E2LD+sAD+1L4 /Dbg== X-Gm-Message-State: AOJu0YzLCrwzpPDvwvymCA2Mg94cN4YWwM3hNIPRyQxRZYa3r45+x8ds Wr1nqDSSWnuS9w6WURQv7EDfohNSuiwLXEe36HS/igyQdBS/F8MiTFWygPw+0ExF1gHnt8yXylb k X-Received: by 2002:a05:600c:190f:b0:40f:ba02:d172 with SMTP id j15-20020a05600c190f00b0040fba02d172mr2334739wmq.17.1707829438727; Tue, 13 Feb 2024 05:03:58 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUQZTVhRPf9nMd2cUfZQ0L4uq8DAJV3coX+r83bxHjNbI60JM/eTSaxGCThbSwhTVJG/eJOlMii2utBLJzJ6ehwsJWyIt0ubsj2alxHqhH13qqg0yR652nxCERWCLEQBBUkLJ6+PS95Ff05OMb63evgO2xSOay4PUltXFT0xVynI/dBEvjUblxkeaqy5DhEMD8lX/tGkuqI/bkMA9IeWgqCSXlhyRS5hfPkrMMV16GzkoJQrqR3lQAbGguBSNAw/fu1N2XOT7HH94+MnPFBrc880OMrvGW1R230y/g5ZQhQ6Mkz2VtHj9C5xLUC7gfZYzonbVM1U8jYAuI/FrnJe1sp4TfwW8edMZ5b96QINpVkU8EZbALgytjZDL4G2VIFBoPKTJWRxXm8TSOXLKg= Received: from m1x-phil.lan ([176.176.128.243]) by smtp.gmail.com with ESMTPSA id ay20-20020a05600c1e1400b00411a6ce0f99sm3368269wmb.24.2024.02.13.05.03.56 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 13 Feb 2024 05:03:58 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Zhao Liu , Bernhard Beschow , Paolo Bonzini , Mark Cave-Ayland , Richard Henderson , BALATON Zoltan , "Michael S. Tsirkin" , qemu-block@nongnu.org, qemu-ppc@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Peter Maydell , Yoshinori Sato Subject: [PATCH v4 02/12] hw/rx/rx62n: Reduce inclusion of 'qemu/units.h' Date: Tue, 13 Feb 2024 14:03:31 +0100 Message-ID: <20240213130341.1793-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240213130341.1793-1-philmd@linaro.org> References: <20240213130341.1793-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=philmd@linaro.org; helo=mail-wm1-x32a.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 --- 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"