From patchwork Mon Jan 29 16:44:45 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: 767397 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp979961wro; Mon, 29 Jan 2024 08:47:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IEdRFUcxmI3iPRfiQtshFhOg107IzEEjb52GFIhsoOEjUR4W0OYcmFncXW0N0b768AptMBq X-Received: by 2002:a05:6214:1bc9:b0:68c:5c4c:7a74 with SMTP id m9-20020a0562141bc900b0068c5c4c7a74mr254605qvc.123.1706546837354; Mon, 29 Jan 2024 08:47:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706546837; cv=none; d=google.com; s=arc-20160816; b=flwk1zZgPcElcSQzJl7i2d9Unl3wizoI3sTJo3tI7N1nWbHoc8uirn55ESlJ9Zq9ey 27OpNnGyBGBTnNeHP9g08Ry5/jPPASlUm6nk2cXwoPi5theUPZEuBgAil62XjjCJCag4 jMLH+hh/x71nEbxuMulFD4XLfs9F3wiKjSHQCfvDMyJpEdsMbmjAYWHNmHUIE9PC2fBl 3Fuo0LVrv2u0nxD5PB9Yvw8Yc8cqabwhhD2GYwqHs7XBQbJIkMjaNKpfgYAVCwPlGeIc s2ZPWTSh5BFSQLQlNw3za4O3E/n0rQKmurCX+HpUJv1EOSb+D3dufduYLQAy+tLCe86/ 3Qjg== 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=DX37RoqmIV4LbscHP0LblED21zanCtHAqywHz6ZSi8I=; fh=7hIRZt5w8KYtPKlA+ieBA5IffPWaoEpFy4DxkqPnuoo=; b=TTHHdF5S41i2J1EWbDzuY/Nl9f65I3Zd9pO661dDFI7CsMh3K4f79rqiThcg5qNiVp V5D7bZwZ101TV9PpXZ73sRu3ritlHfnT9GHTg0rcw1vJ+Q+v+zDlysVoTC/UPllrtBG/ eXPjo7aBqDkCO7VZuy/Qx5UhZ+hjZ2qkdO7t2d1PI96DXF+YLDGTeWR8ygzCuODAtoMV O/SyHUabhEoIRrfjDmANaUpmBoxGdAEcXe+1c4eJF2FWtH0v+z8EIL+YEymRx65UUhc6 lHPrUekMwOJUFYX8UGggYkgkjazFiA28Dk/TJNXjIL9s6cyEzQQE6Bp9yljwY7ei4PU5 vOzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iuvBQIoK; 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 hu11-20020a056214234b00b0067f8c6869dcsi7945610qvb.480.2024.01.29.08.47.17 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Jan 2024 08:47:17 -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=iuvBQIoK; 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 1rUUmW-0007Se-6k; Mon, 29 Jan 2024 11:46:49 -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 1rUUlU-0005yb-D7 for qemu-devel@nongnu.org; Mon, 29 Jan 2024 11:45:47 -0500 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rUUlP-0003do-Ek for qemu-devel@nongnu.org; Mon, 29 Jan 2024 11:45:42 -0500 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-33ae74e5394so862627f8f.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=eM8sUfU1bBKBKKdmDq/soNXBolnk3lze2FIB6X1ce12PdkP/VwfpK8HQvst2sMSHCz jJQmrfyzK+5AnoKITjLNjvemkUAkvQRY1wCXxbMVfA1lGw51FY0Oa1Fv5/2wBx58Q7VK DDgZPMCyj5jygg74L6JdAw4EhEiPwmDOkMmuNPWRf8erMSlZuUJuhwMrb2uaMXlEMYra qNx+eWBaRX+Vaa+asWARd2tDsEK5Ur9gj/czIssxc+DyvJK4ahiWhMW7Ym0d56KSdCLv EA2PsaMCtrLMDP3HZSWguOCqU3MnLM9TRAP4ohYtDIl8FJ5IRyZ7wmJ/FkCAtJ8IPA0u 8ZjA== X-Gm-Message-State: AOJu0YzcmIiASHaD21deSemlZQJY7jmSMTaWDC+tGyt1vrjkbfqDNHhc CEdBRn36hZqlZ55c2izqUjLyzUr23BWG4jfYIdmd053f7L3nQGmuavUZNDhT7HWIqgodH2VNNHy F 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_Mathieu-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_Mathie?= =?utf-8?q?u-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 Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=philmd@linaro.org; helo=mail-wr1-x42f.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 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;