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 B1FDBC47DDB for ; Mon, 29 Jan 2024 16:46:36 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUUmD-0006tP-Kb; Mon, 29 Jan 2024 11:46:31 -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 1rUUlS-0005yO-9v for qemu-riscv@nongnu.org; Mon, 29 Jan 2024 11:45:44 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rUUlP-0003di-8v for qemu-riscv@nongnu.org; Mon, 29 Jan 2024 11:45:41 -0500 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-33ae74e5394so862625f8f.3 for ; Mon, 29 Jan 2024 08:45:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706546738; x=1707151538; 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=DX37RoqmIV4LbscHP0LblED21zanCtHAqywHz6ZSi8I=; b=iuvBQIoKihZUYbPrBAd5mBbevO7sqM7qyyQx/ZNWhxXkeoFol1SnbOQC8sHhW4zpWr u4uYBuuGwm76XQZ0C+Xn747g+2PdpH+CQOX6MDGhhV7fsEJq5+4uiTj5bRd3TiEikcjr q1PAvckXpKBqdKaHrVFAS5S7vHB64XEgW5bgVgjpts32TQ18ReZvLeF0AV+LVqH9/CG0 xHLoCs+0zJUxu+4eMufHCtp0O/IYDuDn/XBYLED2p/BPx+CL5+0rJqDYSUyz/juzNQUc YD274FrAopZWD7tB0Nk1FOg8GJ9yZJwFbfaqi2+Vl5S/g0Fc5IzB98QCnksSD/0vshul G60Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706546738; x=1707151538; 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=DX37RoqmIV4LbscHP0LblED21zanCtHAqywHz6ZSi8I=; b=ZzIL4W9z8uYKt0l4SXLX1C0+ey1JqIBt2acxoPX6c7cL2MOarP2dtDtLPmQEWA2i/7 0l/MKXz+G0t+Edp4vXHAC1xqTbE4RctPNbnapLKxz4auri30jORrdBnGQ5FO2XYWJmP8 GBSLWHrMAsUmGhhgjF3/PB+xNKrKj5oTDffeVX+I2XJdAuUJVOctEFCzmlow5oh2/2Qx tKMazp0qsjLbDAj8dVCPJ/1vpxg4eg66lck58GNlKFUm/LgKC8kKwje5fZ/DSMO2i0bo eVWrnwNzgZHyEjwunUNijKFw97btLCw9tMLJsosB0XLabaSJY/mIWzldCdgj6rPq3OCg K2pA== X-Gm-Message-State: AOJu0YyEu8XfcWskA5e3e2Kt5Qp+SoN2ptGEZVwtqvcNO1Lvti22HuOg UH332eL/OsMHQxCI968KyIx7916jE2FZjIOFTOk4mIThpcZTUM+XtIpSqPJpbHM= X-Google-Smtp-Source: AGHT+IGx14JXv0Db9aHtz3xdBJroRMX/UovaupO29Cg95YnE6U8ErBiRARcqLYVG/qrT9WzZB0Gscw== X-Received: by 2002:a05:6000:1888:b0:33a:f12d:61c3 with SMTP id a8-20020a056000188800b0033af12d61c3mr1992032wri.68.1706546737831; Mon, 29 Jan 2024 08:45:37 -0800 (PST) Received: from m1x-phil.lan ([176.187.219.39]) by smtp.gmail.com with ESMTPSA id v9-20020adff689000000b0033af5c43155sm653530wrp.56.2024.01.29.08.45.36 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 29 Jan 2024 08:45:37 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, Paolo Bonzini , kvm@vger.kernel.org, qemu-ppc@nongnu.org, qemu-arm@nongnu.org, Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Zhao Liu , "Michael S. Tsirkin" , Igor Mammedov , Ani Sinha Subject: [PATCH v3 03/29] hw/acpi/cpu: Use CPUState typedef Date: Mon, 29 Jan 2024 17:44:45 +0100 Message-ID: <20240129164514.73104-4-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240129164514.73104-1-philmd@linaro.org> References: <20240129164514.73104-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=philmd@linaro.org; helo=mail-wr1-x42e.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-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 QEMU coding style recommend using structure typedefs: https://www.qemu.org/docs/master/devel/style.html#typedefs Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Reviewed-by: Zhao Liu --- include/hw/acpi/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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