From patchwork Fri Jan 26 22:03:43 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: 13533346 Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E32D250F9 for ; Fri, 26 Jan 2024 22:04:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706306660; cv=none; b=ks7ZjswsN2nOSwH5sz621f+zyOW4Dn5Ak9j9YCNZF0cCqpvKBQD8wejD/U/frLoMw3rQKxuXROTVGi/tMfjkKsdiOjw9pkWswp9RDI9BF89JDy5Xf6XdHi2nsTMaFr81X/bMwXJ1p3oc0Gbjlvjf8NE73K54OUVw0hD5H2WsNTU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706306660; c=relaxed/simple; bh=9RBSo+pQhwiHSiotI8xWa/iq//UpNyo9T7/+Ad7gNZs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=l1nt0GY0qSSNKFy+PukOv0kjVyqZZD/+UCSV0yAmjUtpmo5rA5BpEsULNz3Z0cQQCVEDk8egj0qkjm/1tl2Ap/BgQ87m0pumY+0mMh7SvhWFr4WlYlNxZ4lmx3WmDNlB8P8VeM6Yn7nzoV6amtXSA8fFZsxH3Jd8/gdGeikDAsE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=L6+F6Zbr; arc=none smtp.client-ip=209.85.208.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="L6+F6Zbr" Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-55c2c90c67dso588859a12.1 for ; Fri, 26 Jan 2024 14:04:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706306656; x=1706911456; darn=vger.kernel.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=fhPW+/fhD522LvSZgboHJx0z0AbZf2+RXOPHpa2tqdM=; b=L6+F6ZbrPjJZUYME+9ZMsiODmpxHaXLIVa5NcdSgIcRFdWqz5BWWndcwiTHmS7d2an pVaay3Yz0+NmbON5nmiUe7XSrc+BjnkJYhUZPhfZ+pcLRkcPfkpH7sp+oawsjO7YX+Cf RZ+HSep0bCDNHKannsJGjc4E6csSdNgvdir/DmHG+aGqpkU8t3OTnR3gM++UCVgm4Aiz l1uSaew1jKTG13UOyBVzgcD0j+U2SwnKgsGVBFeJ5RM0qafckvgiJbkv8zEVSb07V5yK BkEjFEoYo6n2dtMnn9qtuu9EuDU42/hG229m/iUjmc48qHuRCQcFyWzFopKX5+rGfMa+ UcRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706306656; x=1706911456; 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=fhPW+/fhD522LvSZgboHJx0z0AbZf2+RXOPHpa2tqdM=; b=k6p24EaI7UT4OKJxgl3GMuez0/WjFQLsUpr7x/uI8Lynrs/K5fYE6hvM809Gl+EtDS md1DxqnMjyE042zMgt10EvUy8PGvNQOCH2NYd55Cg8+aLsyUy/C//ltlsRnqnucUePyO 9GLDAZlf+jM/1wGzkWmmNofzkSnc/Yt5wR3gY6S5lXow4JU1YbVhJVz+ITFjWAzjl/Z7 s9QD3OEZ9Gpob4EKNyKKOUhj/eVg830NUvtCcjfud6F9/F/h53hZ4xkXZgj9RO8VR4S3 oeJEljTGP0sjDhr+jkRPytJQcfXZqBj46zCr9qeysi68TwutnPk5AEnuZSJAOTBLyDv/ bYJQ== X-Gm-Message-State: AOJu0YyUePlXBu5kti3+N5k8Ouq+CUlwdIq8hnEOVYiVl2wpchIbfwYa rB2lfAZyxL8Z1uIHJ9wpcmkxt0U49M0l8Qa8YZC+9yPlC5QqXVs6Sn1zcHQnj88= X-Google-Smtp-Source: AGHT+IG4Wg8rywDTMVuRM7GkwEmCFZtMm4l+BGhG1j8wou81QLrVUKTsIfgDuyEQppKx/hJqB7/64Q== X-Received: by 2002:a05:6402:34d4:b0:55d:357f:1837 with SMTP id w20-20020a05640234d400b0055d357f1837mr298106edc.1.1706306656478; Fri, 26 Jan 2024 14:04:16 -0800 (PST) Received: from m1x-phil.lan ([176.176.142.39]) by smtp.gmail.com with ESMTPSA id d26-20020a056402401a00b0055c6048544fsm1007886eda.66.2024.01.26.14.04.14 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 26 Jan 2024 14:04:16 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: 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 , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , "Michael S. Tsirkin" , Igor Mammedov , Ani Sinha Subject: [PATCH v2 01/23] hw/acpi/cpu: Use CPUState typedef Date: Fri, 26 Jan 2024 23:03:43 +0100 Message-ID: <20240126220407.95022-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240126220407.95022-1-philmd@linaro.org> References: <20240126220407.95022-1-philmd@linaro.org> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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;