From patchwork Thu Feb 22 12:55:14 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: 774865 Delivered-To: patch@linaro.org Received: by 2002:a5d:6ac2:0:b0:33b:4db1:f5b3 with SMTP id u2csp749061wrw; Thu, 22 Feb 2024 04:57:58 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUCOUjKu5vELNfTXW40JVLTm7hP0NJW+jsmtS3raP5sHqdyAk663l9CQLkKulTnALaiyvEe7aalM4A69g364Jah X-Google-Smtp-Source: AGHT+IETZEjiYVMrIV8ks8xRI9ivbRc90BMTm6pgkqVZS5cjm0BmqSPC/NnaAa9qrwQXCaNP5SN9 X-Received: by 2002:a37:c444:0:b0:787:5f7b:d97e with SMTP id h4-20020a37c444000000b007875f7bd97emr14917307qkm.13.1708606678072; Thu, 22 Feb 2024 04:57:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708606678; cv=none; d=google.com; s=arc-20160816; b=cWGJFdbCwVSaD9WU1PTD3jkFJivVE4r0kGNnDpHxeu3iR91bjgx9zFlr4+XX66bBp+ OGjjkvdHx9xIKo5jU11A73d+SU0zJrKsNlPBLHci9rDMyjoHECLPSVMCcKLmE7uGQPsz 6fFy3Isqc4Rt/Mh8Zt3u/TINm1WVJR6CC1sTA9iQgFCUYekyU3x2HYI778SiqYku3Qcw pqFPHDzeAZbSWjGJ5wXSYhPZOO2X2o9efa832Lffvr4F4CP/WNqmnDiQv2ePxhXnOLMo eMLxzR5FHKyzmir8GI37aaWhzfcU51cXX96EIybz2ufrrMTejld9RHzJeBEj5UvM4LFK ZaSA== 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=VVZ+VNqHmOLRPOXAqtL522gDrsWtXXCXM5mqlJag8Eg=; fh=3Q6ePR8pbZ45DJS/y1csgZJNKicjQ5WMxMevUkbSKRI=; b=pZNe7L3td6zQmrVTC5F2Cs6wXamtz2fBJzhjySE2K1cF4m8o6749F5BP8k3ek2a6B5 Xa82kUDaOi45Jre/sf+HRQ4mV7rFoy7luEnGgDXGAEJ9i7N29BAJGZLo4IN1Dlsy/Z+G 5c3GvOekAXbZktZn9SA+FoJSr56dgSq38CJRtmOJ1m9LkRouor8Sz2P0OZHW9uhRgqwC YxTzDvWk8+jGf4b98DaZ+DwpK9PDee76E7QtJt33J4NvBbSv3ly1Rj30sizXswUbtKbN R9CoVUnjpB/AnewxzuATJWIA/aDtNJkquCR66D37esxq72N6OQuTxB0FvwjJgS3JWmq2 b0Tg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="up/ubXLt"; 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 u23-20020a05620a121700b0078780c83032si4292129qkj.363.2024.02.22.04.57.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Feb 2024 04:57:58 -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="up/ubXLt"; 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 1rd8cX-0006Ut-9W; Thu, 22 Feb 2024 07:56:13 -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 1rd8cK-0006AE-Gz for qemu-devel@nongnu.org; Thu, 22 Feb 2024 07:56:00 -0500 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rd8cH-00055T-Pw for qemu-devel@nongnu.org; Thu, 22 Feb 2024 07:56:00 -0500 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2d180d6bd32so90478861fa.1 for ; Thu, 22 Feb 2024 04:55:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708606555; x=1709211355; 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=VVZ+VNqHmOLRPOXAqtL522gDrsWtXXCXM5mqlJag8Eg=; b=up/ubXLt10k3QO9vkwX6g75lvOJJffifWJ5o6q5dZPkORoguw2VqOmVLaLTnWlNqkE 4uUWlo+g4s/Vg2caSShVMalvoBJmXK83nR0IFZw8foBAc44AY1wk/Mty1Fys/bxntVbQ EAFTBtPLwDXFP5DHZwNQOHU1UmjW/QFQltW+hcscqWwvhwuKLaMwYIlAtfkMKLL7VIrN CZoFL5ScPKiaZhiikT0j3z8ASq9Wb0P0JVoKNZchehWSb2ovDd58NAXvWFZXG5p70GGF iq/WSW+uK1LxDPiT1IUmqtSStlS81xfge9PUz52CVQwEyd+wRsCI059/WVARkjJuW5nQ 8giA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708606555; x=1709211355; 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=VVZ+VNqHmOLRPOXAqtL522gDrsWtXXCXM5mqlJag8Eg=; b=GLu7DEheoD/exMIYsBwW3YqtvAUj5mApJlbOsnOtXvvpAJHNp8Ztw16CgVHWWYCNJd j5mascRAa4KRV+36SjbyrUuojWjjhA1MAiBYOGvR5DcwmMwFyDyIYZkIU2U/zl5b480W OE3jCJOz6mPIggU6wMaIuybiZxNSf9I7zvCc5bWrd8pDKxkfBOhZWU6IBefWH5xKSLT/ hKMnxItudKRe8Gs/wMKnRcq55bCe8utCNfgd3Ktgvozu/gG5rPF9DhrnYUbqtHzXw0Zd cY+gA+wT99XgP3equaV7VoZacTadQwx5syyOMgB6K4GI08vJlatVIpblHRaHzBsvB5vY UxNw== X-Gm-Message-State: AOJu0YzPmIT8yx559eWhBfmjxOhWFfd3XkiMujIl079aHWWiRzQiNVfW NhEV3skRxV3iKA/lm7ZOarB7gMYXqunRimEtwQeEXMFpBrc9CrLMxILA/hiQoLa94UrOWlQSrpp Xb/U= X-Received: by 2002:a2e:9807:0:b0:2d2:43ef:e4c with SMTP id a7-20020a2e9807000000b002d243ef0e4cmr5926953ljj.45.1708606555634; Thu, 22 Feb 2024 04:55:55 -0800 (PST) Received: from m1x-phil.lan ([176.187.211.34]) by smtp.gmail.com with ESMTPSA id fs14-20020a05600c3f8e00b00411a595d56bsm21418920wmb.14.2024.02.22.04.55.54 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 22 Feb 2024 04:55:55 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, qemu-arm@nongnu.org, qemu-ppc@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , Zhao Liu , "Michael S. Tsirkin" , Igor Mammedov , Ani Sinha Subject: [PULL 23/32] hw/acpi/cpu: Use CPUState typedef Date: Thu, 22 Feb 2024 13:55:14 +0100 Message-ID: <20240222125517.67131-7-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240222125517.67131-1-philmd@linaro.org> References: <20240222125517.67131-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::22b; envelope-from=philmd@linaro.org; helo=mail-lj1-x22b.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 Message-Id: <20240126220407.95022-2-philmd@linaro.org> --- 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;