From patchwork Thu Feb 8 18:12:35 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: 770855 Delivered-To: patch@linaro.org Received: by 2002:adf:9dca:0:b0:33b:4db1:f5b3 with SMTP id q10csp464355wre; Thu, 8 Feb 2024 10:13:38 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCV80vBE9CYf4EWGzf04dv3En45A+kR4dFfm56HlXiLhqUJfJdJSYyYh+KR9Nx2tX7EZYPoqaOFOZc/BVrXonkJd X-Google-Smtp-Source: AGHT+IHi3n+3Xq+UsWqfFPyd38hNktexX+xF558j1oC45PaRXzhGGm5avqMD5ao1JLEURIgIQkS3 X-Received: by 2002:ac8:594b:0:b0:42c:2a20:97e1 with SMTP id 11-20020ac8594b000000b0042c2a2097e1mr11710732qtz.13.1707416018089; Thu, 08 Feb 2024 10:13:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1707416018; cv=none; d=google.com; s=arc-20160816; b=zmiyBTdIbb6K5tb+qFo4DYBAAm66dixCOaryN2t2YdqDgNJiyUFfLYng1apr7dieIk XcfSY5wm2uyn1GeSobL9eMxAEYpaDXypkeduDUL++IhO+Zek1v/bd/VOtbQ3YSWJdnVD yuqVMeCPgkZOfEMa+lBmsgSuKKOqUXeAjj4M5H83akT5GO6q72hHqbGuchk3YgTyQ/lC 7yoDlDTFB4lznnq9ONALyg8fFiMff0DW3II4KulF7DPIBVr4Hvhtt9M0hztRmIRR72wM OQ1yTx5pWyDCO59GwU9kEPoJSjWcXdvVplj81CA+HfHGSu+T12rbDWlVKmn7R1KCtd/7 U/1A== 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=qwWWw6/AhfeHezI8OBy+gdgG3eOQyHTGWWLFzL2P+Mo=; fh=lkxxkG51wSLh2XzaDiLpKEOC8PP5gPkbyW8i9Y5hhHo=; b=z5QKk2iLq3wJvl+SYG5rEZe6FJTsbz6AyXHioblpbL7bwHKAHzDlQu2zu2DVU74Bt5 hgTX/D1gv842B1zloUrcRBQws2wToqadAmlblf6cEDf+qerfHMP+kTSryls18U+ylEAj 1YlILYNO/CYgXEx6t5KWbqW/ticqIbRSQ8M5zqShuw7PIsjhL49wHmkUSnRfe/CgoXWA DmhF43pPvauCl6hMSFxXeWTpC3D2xhNhr/mly8m4ubCngLBViBqhPTPkLwlGfEigUS99 D+48hkp2WUufD+oNGW4O6D7t/pVlynuF2cmnkx05HOahDxf+nlQXiwRBDU5q+4DqNwKO lSSw==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iMKrJTI5; 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; AJvYcCVs2/lbISfqkrHnzK4HFldgERj1kVt2bS+ge1Olg41IRPo2CD6J10COYggAi7Yfp6tAyXOA4+gwwO9vI+k2qqnP Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id o16-20020a05622a045000b0042c5023f9ebsi519076qtx.45.2024.02.08.10.13.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Feb 2024 10:13:38 -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=iMKrJTI5; 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 1rY8tl-0004k4-4o; Thu, 08 Feb 2024 13:13:21 -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 1rY8tb-0004IS-A5 for qemu-devel@nongnu.org; Thu, 08 Feb 2024 13:13:14 -0500 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rY8tS-0006kx-FZ for qemu-devel@nongnu.org; Thu, 08 Feb 2024 13:13:09 -0500 Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-55a90a0a1a1so298488a12.0 for ; Thu, 08 Feb 2024 10:13:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707415981; x=1708020781; 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=qwWWw6/AhfeHezI8OBy+gdgG3eOQyHTGWWLFzL2P+Mo=; b=iMKrJTI5G89jKVELuig+jjr6KJxQTLPRDGbFEpqYrcJokMuCrcrYKnB4vV4+futlSd AfztfM4YrKz/jPU1mBoznwI90vR9f4l9ixkwyMuDuoHJIgbLgsLOSpdX/kwocQjb5XW6 Rbleb1BqVH9ndk1HgdNlkaAGr3+IVdzSigZfaKvYEoNH0RAMRDXN7O0gmJxbAufx8Dat 4zldWNgrrDH4YJNY1QuaJ0ODqHPfSwtcqsPWVBB+UZ9inBh0jIec9cvQ7qbqDUuUHFvp vHprdjTXdlcrCj3cKQcYeqhJSdpNdEPMODYFCng1ou/o/kedIGn9EnuQNhLW/slF6IC5 9+6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707415981; x=1708020781; 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=qwWWw6/AhfeHezI8OBy+gdgG3eOQyHTGWWLFzL2P+Mo=; b=vTPLiD9emvkV5CVg2xpzEtujFtUEW7ffNVHUwgd0i0cz7uAlDXakEygzwDsLJliN1F pr2Qi5cacuVdT5YCD9ihOkSDjsZSmlguauLjg1647txXyVjWjYJhJmByjDrE8/76LRri aIDQwvFxOcAMjCKxMCm/xw/eV3fb0QMocrwkPbxwiLdY3IoiEnNQcKQWMpalh1tI32tD Q9WEG6+ramaf1LzZFhyivfUQ7z6e5HjpDX9aXwS4UW54dW6APnUdd/Ko/0pJ/ZXzkRqd rpCrhrtjAaZokNZl9+1AOXuAgGGjRcXLhl97miAqRIjWbzupN2IaC1TehhxfME8YniID OJ8A== X-Gm-Message-State: AOJu0YxxA1NGyiCJQNHvG9Ffs5gOt8zzRlE4HHkN4foh8dKeUc1GqNuy Ogug4bzWVXKHdbVvjSJ072oBWxqD5VIR0uMloPJZ9ZIql3UKWuuiFc3F5jcWia9EQx6mErlqEbB HjuA= X-Received: by 2002:a05:6402:1a48:b0:55f:e493:33b4 with SMTP id bf8-20020a0564021a4800b0055fe49333b4mr28068edb.15.1707415980948; Thu, 08 Feb 2024 10:13:00 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUxITh5WgxpxEnE0pCbPY+mJp69t0QXA6TXFqR3rOI55w+MctTFXycjLSOQV0oK20G6Q8pwA6IyIzSF0PWJhHplV7PODdE7gA//sj4lq3tN7D0I64VCJZZFbCWac5qdp1foL42qazV6gwWXDoczLime+0ZH57fSVsTlYJssXJXSfZn7fleQ7MnqTc0PUYpIjtTh/kMPOUP9O4Fl1HmRccBGyGcPmHUIiwGh1ytQuNtJRghivWX5u6f2UFuvkXFuVp7xj+ZcWE06qln9AkN6fV5+Hrsqczc8xcrqcDGyNr2lb/wjdeCp6eUQTghyLrHxBbe68Q7+xH7uXqyd3it8CvUpHrdk2itJvytCTUYjJXLEPEk= Received: from m1x-phil.lan ([176.187.218.105]) by smtp.gmail.com with ESMTPSA id g12-20020a056402320c00b0056038077ffasm1078573eda.38.2024.02.08.10.12.59 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 08 Feb 2024 10:13:00 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Mark Cave-Ayland , Zhao Liu , Paolo Bonzini , qemu-block@nongnu.org, John Snow , qemu-ppc@nongnu.org, Eduardo Habkost , Richard Henderson , Markus Armbruster , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Yoshinori Sato Subject: [PATCH v3 02/11] hw/rx/rx62n: Reduce inclusion of 'qemu/units.h' Date: Thu, 8 Feb 2024 19:12:35 +0100 Message-ID: <20240208181245.96617-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240208181245.96617-1-philmd@linaro.org> References: <20240208181245.96617-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=philmd@linaro.org; helo=mail-ed1-x529.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, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=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+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"