From patchwork Mon Feb 19 14:14:08 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: 774087 Delivered-To: patch@linaro.org Received: by 2002:a5d:4943:0:b0:33b:4db1:f5b3 with SMTP id r3csp1181123wrs; Mon, 19 Feb 2024 06:15:19 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUYsL7HN0KoWH+/ee7Iq5ebfBt6AZdg4tLLmT585vWAKd55uwwamhHLC12gP9B0bhe8KEJLTgecuL38Hgo0RT8a X-Google-Smtp-Source: AGHT+IGbOiMB1zU9c8Q53N0lZ3lJEB8su+flr/zFy11imhy4GXcxHIk/wcCwEZEJpZ6t2g4Oxbuk X-Received: by 2002:a25:680e:0:b0:dbd:553d:9d6a with SMTP id d14-20020a25680e000000b00dbd553d9d6amr11811962ybc.40.1708352119439; Mon, 19 Feb 2024 06:15:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708352119; cv=none; d=google.com; s=arc-20160816; b=c+XfEg3DLhO+g5bpfhTQqwzVSN8hwMvb8IWtYyNu5Ulbj6f9vzt0S0GKTBf4qmYWz+ EvzugM3AemetQ230HQZ7piCw/CZPjHMkUxnkY7SQnwSf6fR/3a22/E9+/WdSLVftxF80 KWPIBEp9iyksUYZKSDHzx1byNMGBCjG4ja1J7K9xTbq2K9N33p+gGKOOvRndG71F9DFa j8JhEE+HruEfPhHPJDPoj3fMqAKd5Wwbk2JxLU06qooMBMiwGDAGJmjnJuStp+R+ouwm 9P+GFpoGly43q8r1UnV3m8g9740KkoqUAuFWt5Dp7mLFQkxGt994rBNznN0B5WK+YHc+ 3bwQ== 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=11KfkGQwT3DyJXfReiuxEKgaxGdeCZY+EPPlA79U4tU=; fh=yT+wxnQYDKcbtxqETNICx7Fd5Rfmw4bxCjNf3k11898=; b=h4A86ZL4WBFLx+7y4IoVc2S03+I7TyTgVUNj0UcqQi2isWQRiWP+87dxAPeyQXcMmh /6Vf0U6E0Jpx7qxikfeEf2B9gNgKTiB1Fm2LjtINpVJeBMCG8TzJDQNdoY0pPqzQ8cyE MhhTrsLltK+GN50okhnd3dOdAhF0MsBu7cpwAWSBB5M1IpU0rWnj0SQXlnJd6glMEeqp pIlnb3Ra3O9maq25eX/Jtvf5A5GA6touoQQ8JBJGsj1HXExWamQT6t2it+FxhimsX8oF e5DnzjF02f1zvPhQbxM/BG4ihyb/aj2PEHzpcHpR5rURPoY5rxqCkq7uPt5eYs1An7aW fg5g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pTOXppyC; 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 i26-20020a05620a145a00b0078321c60d62si6442824qkl.762.2024.02.19.06.15.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Feb 2024 06:15:19 -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=pTOXppyC; 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 1rc4Pi-0003RA-8j; Mon, 19 Feb 2024 09:14:34 -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 1rc4Pf-0003MS-Ht for qemu-devel@nongnu.org; Mon, 19 Feb 2024 09:14:32 -0500 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rc4Pd-0008Pi-MJ for qemu-devel@nongnu.org; Mon, 19 Feb 2024 09:14:31 -0500 Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-563fe793e1cso3629288a12.3 for ; Mon, 19 Feb 2024 06:14:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708352068; x=1708956868; 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=11KfkGQwT3DyJXfReiuxEKgaxGdeCZY+EPPlA79U4tU=; b=pTOXppyCCNnSKTiAvd73zmqstq3gnxuwl8txhpgdj1sonk/iAFmRQdPmqr2SV2npsq li+QMdS5IG+3ScnhuhzHNN5f6YvWk24ch+thKLTWf0aFouTHD3Lp9InjCuwCqkB+tubv dWvPFEh6zAIIUxnJEqH4mLWwhLvFi8eR/2JF+HoZEWtsvDHgpA3B6rl327eCe8BP0tyt XlGgqOHUej/oOs/pZLFayXFmWPSOdLjxHFOHsyD4jox4PmxTfUwk/GLGH59AW0Uzbycp RoC/fwpKb+XEDB/m2gXIbO7NIur9hyzYAf6VPH2IYi2F/R9iZJkAepvoabBhOtKZq8BZ 85AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708352068; x=1708956868; 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=11KfkGQwT3DyJXfReiuxEKgaxGdeCZY+EPPlA79U4tU=; b=u67isUKEt/Al2tegIKgVGDp69ol8x6LB4qWIGXhqhCCJpNGbHgBgt/nQBRgKd9RtvF Cv/tH4Qsl1lR/OMQBGTI3z8dUMSIjc31ad7Fm5STY+0tSfEO5SoXhWsPrOLBkzcsNd1U oNwckDK3oLgLxNaxS2LRq3UMs9MrnTIQ616V+Jrs1M7Lwkc1177dBQT+2YvPqkUQjnkT MYQjGGlnH/9gkDyr4CMhs032Z7UcI27X9X0zuMRcE/jwjkEYj/sZjeXo2mm9wn7e4o6g eAEoH5XIMxjgUyfZ9+/BUbvewQe+6jQw+Y0TdUjIEg8rYMMaHefmBsEGGNg9cUr0pWzM Iajw== X-Gm-Message-State: AOJu0YwV7PpipVQR2ljGGViu8hjxXQ7fUVifTDLWanfyPQw1dd25pO8O SjlfEqAO4nzu8LG5zQF3S5io30oO9Sl28OwIAOBqpJaPHE+0oDuoUJwKmftI2P/Ljnwt3mc75z2 p X-Received: by 2002:a17:906:a89:b0:a3e:a8bf:4c22 with SMTP id y9-20020a1709060a8900b00a3ea8bf4c22mr1345883ejf.9.1708352067862; Mon, 19 Feb 2024 06:14:27 -0800 (PST) Received: from m1x-phil.lan ([176.176.181.220]) by smtp.gmail.com with ESMTPSA id vi17-20020a170907d41100b00a3d47ee62c7sm2983185ejc.124.2024.02.19.06.14.25 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 19 Feb 2024 06:14:27 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson , Marcel Apfelbaum , Igor Mammedov , "Michael S. Tsirkin" , Ani Sinha , Bernhard Beschow , Eduardo Habkost , qemu-trivial@nongnu.org, =?utf-8?q?P?= =?utf-8?q?hilippe_Mathieu-Daud=C3=A9?= , Zhao Liu Subject: [PATCH 2/5] hw/acpi/cpu: Use CPUState typedef Date: Mon, 19 Feb 2024 15:14:08 +0100 Message-ID: <20240219141412.71418-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240219141412.71418-1-philmd@linaro.org> References: <20240219141412.71418-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::530; envelope-from=philmd@linaro.org; helo=mail-ed1-x530.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=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 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 e011d01adf..e6e1a9ef59 100644 --- a/include/hw/acpi/cpu.h +++ b/include/hw/acpi/cpu.h @@ -20,7 +20,7 @@ #include "hw/hotplug.h" typedef struct AcpiCpuStatus { - struct CPUState *cpu; + CPUState *cpu; uint64_t arch_id; bool is_inserting; bool is_removing;