From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D3B33C47DDB for ; Sat, 27 Jan 2024 11:22:54 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTglG-0003Dx-IR; Sat, 27 Jan 2024 06:22: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 1rTglE-0003CQ-HM; Sat, 27 Jan 2024 06:22:08 -0500 Received: from mgamail.intel.com ([192.55.52.88]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rTgl9-0005rw-Bz; Sat, 27 Jan 2024 06:22:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706354523; x=1737890523; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=hkQI4KwQIxdBD4ZLOqynSRznn/g0/qB6e65on0S7xss=; b=jGUAIboSGoQDKs8nzNdxfTLRWf3UaK6vGg5eETBQVAa5Qh1yzdQD3SFw 5ke4GeiBnGaYCvg1KmzL1XRF1uJjBnnJAoDPQw4eBdb642GLia1GLcmnh q7zGcpK4e58cOjqLi/YLvTsBskCFSKx06wga0622RWWMX24icQHltHZHj wZ5nfUUdEUDl1oBr4xt0YsqchfFe++One/FTIC7LI/5Bf5GoA0o0kOG1e 0WR1H0pHnmxiK3IcijrYScBZyOS0s2q3i/r2F4nvmOx6RPXAuMbYEYx7j VvD0gRi3egbI63NZcjVz2BPtjSJ0jLvr9j251CzdG1qLJUV8AxN1oGVo7 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10964"; a="433829308" X-IronPort-AV: E=Sophos;i="6.05,220,1701158400"; d="scan'208";a="433829308" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2024 03:21:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10964"; a="930615861" X-IronPort-AV: E=Sophos;i="6.05,220,1701158400"; d="scan'208";a="930615861" Received: from liuzhao-optiplex-7080.sh.intel.com (HELO localhost) ([10.239.160.36]) by fmsmga001.fm.intel.com with ESMTP; 27 Jan 2024 03:21:53 -0800 Date: Sat, 27 Jan 2024 19:34:57 +0800 From: Zhao Liu To: Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= Cc: qemu-devel@nongnu.org, qemu-arm@nongnu.org, Thomas Huth , qemu-s390x@nongnu.org, qemu-riscv@nongnu.org, Eduardo Habkost , kvm@vger.kernel.org, qemu-ppc@nongnu.org, Richard Henderson , Vladimir Sementsov-Ogievskiy , Paolo Bonzini , "Michael S. Tsirkin" , Igor Mammedov , Ani Sinha Subject: Re: [PATCH v2 01/23] hw/acpi/cpu: Use CPUState typedef Message-ID: References: <20240126220407.95022-1-philmd@linaro.org> <20240126220407.95022-2-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240126220407.95022-2-philmd@linaro.org> Received-SPF: pass client-ip=192.55.52.88; envelope-from=zhao1.liu@intel.com; helo=mgamail.intel.com X-Spam_score_int: -56 X-Spam_score: -5.7 X-Spam_bar: ----- X-Spam_report: (-5.7 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.313, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-riscv@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-riscv-bounces+qemu-riscv=archiver.kernel.org@nongnu.org Sender: qemu-riscv-bounces+qemu-riscv=archiver.kernel.org@nongnu.org On Fri, Jan 26, 2024 at 11:03:43PM +0100, Philippe Mathieu-Daudé wrote: > Date: Fri, 26 Jan 2024 23:03:43 +0100 > From: Philippe Mathieu-Daudé > Subject: [PATCH v2 01/23] hw/acpi/cpu: Use CPUState typedef > X-Mailer: git-send-email 2.41.0 > > QEMU coding style recommend using structure typedefs: > https://www.qemu.org/docs/master/devel/style.html#typedefs > > Signed-off-by: Philippe Mathieu-Daudé > --- > include/hw/acpi/cpu.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Zhao Liu > > diff --git a/include/hw/acpi/cpu.h b/include/hw/acpi/cpu.h > index bc901660fb..209e1773f8 100644 > --- a/include/hw/acpi/cpu.h > +++ b/include/hw/acpi/cpu.h > @@ -19,7 +19,7 @@ > #include "hw/hotplug.h" > > typedef struct AcpiCpuStatus { > - struct CPUState *cpu; > + CPUState *cpu; > uint64_t arch_id; > bool is_inserting; > bool is_removing; > -- > 2.41.0 > >