All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Berger <stefanb@linux.ibm.com>
To: Richard Henderson <richard.henderson@linaro.org>, qemu-devel@nongnu.org
Cc: Stefan Berger <stefanb@linux.vnet.ibm.com>
Subject: Re: [PATCH 61/71] hw/tpm: Constify all Property
Date: Fri, 13 Dec 2024 19:09:40 -0500	[thread overview]
Message-ID: <7a655f83-8a29-4edc-a8d8-a700fcda378a@linux.ibm.com> (raw)
In-Reply-To: <20241213190750.2513964-66-richard.henderson@linaro.org>



On 12/13/24 2:07 PM, Richard Henderson wrote:
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>

> ---
>   hw/tpm/tpm_crb.c        | 2 +-
>   hw/tpm/tpm_spapr.c      | 2 +-
>   hw/tpm/tpm_tis_i2c.c    | 2 +-
>   hw/tpm/tpm_tis_isa.c    | 2 +-
>   hw/tpm/tpm_tis_sysbus.c | 2 +-
>   5 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/hw/tpm/tpm_crb.c b/hw/tpm/tpm_crb.c
> index 5cd5a2533b..2bf6e7ffe9 100644
> --- a/hw/tpm/tpm_crb.c
> +++ b/hw/tpm/tpm_crb.c
> @@ -226,7 +226,7 @@ static const VMStateDescription vmstate_tpm_crb = {
>       }
>   };
> 
> -static Property tpm_crb_properties[] = {
> +static const Property tpm_crb_properties[] = {
>       DEFINE_PROP_TPMBE("tpmdev", CRBState, tpmbe),
>       DEFINE_PROP_BOOL("ppi", CRBState, ppi_enabled, true),
>       DEFINE_PROP_END_OF_LIST(),
> diff --git a/hw/tpm/tpm_spapr.c b/hw/tpm/tpm_spapr.c
> index 5f7a0dfc61..e15b67dd45 100644
> --- a/hw/tpm/tpm_spapr.c
> +++ b/hw/tpm/tpm_spapr.c
> @@ -364,7 +364,7 @@ static const VMStateDescription vmstate_spapr_vtpm = {
>       }
>   };
> 
> -static Property tpm_spapr_properties[] = {
> +static const Property tpm_spapr_properties[] = {
>       DEFINE_SPAPR_PROPERTIES(SpaprTpmState, vdev),
>       DEFINE_PROP_TPMBE("tpmdev", SpaprTpmState, be_driver),
>       DEFINE_PROP_END_OF_LIST(),
> diff --git a/hw/tpm/tpm_tis_i2c.c b/hw/tpm/tpm_tis_i2c.c
> index c5548b0a45..b27af230cd 100644
> --- a/hw/tpm/tpm_tis_i2c.c
> +++ b/hw/tpm/tpm_tis_i2c.c
> @@ -491,7 +491,7 @@ static int tpm_tis_i2c_send(I2CSlave *i2c, uint8_t data)
>       return 1;
>   }
> 
> -static Property tpm_tis_i2c_properties[] = {
> +static const Property tpm_tis_i2c_properties[] = {
>       DEFINE_PROP_TPMBE("tpmdev", TPMStateI2C, state.be_driver),
>       DEFINE_PROP_END_OF_LIST(),
>   };
> diff --git a/hw/tpm/tpm_tis_isa.c b/hw/tpm/tpm_tis_isa.c
> index 21109edcaa..9b2160972a 100644
> --- a/hw/tpm/tpm_tis_isa.c
> +++ b/hw/tpm/tpm_tis_isa.c
> @@ -91,7 +91,7 @@ static void tpm_tis_isa_reset(DeviceState *dev)
>       return tpm_tis_reset(s);
>   }
> 
> -static Property tpm_tis_isa_properties[] = {
> +static const Property tpm_tis_isa_properties[] = {
>       DEFINE_PROP_UINT32("irq", TPMStateISA, state.irq_num, TPM_TIS_IRQ),
>       DEFINE_PROP_TPMBE("tpmdev", TPMStateISA, state.be_driver),
>       DEFINE_PROP_BOOL("ppi", TPMStateISA, state.ppi_enabled, true),
> diff --git a/hw/tpm/tpm_tis_sysbus.c b/hw/tpm/tpm_tis_sysbus.c
> index 967f264634..88c1f1e478 100644
> --- a/hw/tpm/tpm_tis_sysbus.c
> +++ b/hw/tpm/tpm_tis_sysbus.c
> @@ -90,7 +90,7 @@ static void tpm_tis_sysbus_reset(DeviceState *dev)
>       return tpm_tis_reset(s);
>   }
> 
> -static Property tpm_tis_sysbus_properties[] = {
> +static const Property tpm_tis_sysbus_properties[] = {
>       DEFINE_PROP_UINT32("irq", TPMStateSysBus, state.irq_num, TPM_TIS_IRQ),
>       DEFINE_PROP_TPMBE("tpmdev", TPMStateSysBus, state.be_driver),
>       DEFINE_PROP_END_OF_LIST(),



  reply	other threads:[~2024-12-14  0:10 UTC|newest]

Thread overview: 124+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-13 19:06 [PATCH 00/71] whole-tree: Constify Property structures Richard Henderson
2024-12-13 19:06 ` [PATCH 01/71] target/arm: Constify all Property Richard Henderson
2024-12-13 19:06 ` [PULL 1/4] tcg: Reset free_temps before tcg_optimize Richard Henderson
2024-12-13 19:06 ` [PATCH 02/71] target/avr: Constify all Property Richard Henderson
2024-12-13 19:06 ` [PULL 2/4] tcg/riscv: Fix StoreStore barrier generation Richard Henderson
2024-12-13 19:06 ` [PULL 3/4] include/exec: Introduce fpst alias in helper-head.h.inc Richard Henderson
2024-12-13 19:06 ` [PATCH 03/71] target/hexagon: Constify all Property Richard Henderson
2024-12-13 20:01   ` Brian Cain
2024-12-13 19:06 ` [PATCH 04/71] target/i386: " Richard Henderson
2024-12-18 15:19   ` Zhao Liu
2024-12-13 19:06 ` [PULL 4/4] target/sparc: Use memcpy() and remove memcpy32() Richard Henderson
2024-12-13 19:06 ` [PATCH 05/71] target/microblaze: Constify all Property Richard Henderson
2024-12-13 19:06 ` [PATCH 06/71] target/mips: " Richard Henderson
2024-12-13 19:06 ` [PATCH 07/71] target/ppc: Remove empty property list Richard Henderson
2024-12-16  5:01   ` Harsh Prateek Bora
2024-12-13 19:06 ` [PATCH 08/71] target/riscv: Constify all Property Richard Henderson
2024-12-13 20:38   ` Daniel Henrique Barboza
2024-12-13 19:06 ` [PATCH 09/71] target/s390x: " Richard Henderson
2024-12-13 19:06 ` [PATCH 10/71] target/sparc: Constify all Property and PropertyInfo Richard Henderson
2024-12-13 19:06 ` [PATCH 11/71] cpu-target: Constify all Property Richard Henderson
2024-12-13 19:06 ` [PATCH 12/71] hw/9pfs: " Richard Henderson
2024-12-14  6:56   ` Greg Kurz
2024-12-14 10:02   ` Christian Schoenebeck
2024-12-13 19:06 ` [PATCH 13/71] hw/acpi: " Richard Henderson
2024-12-13 19:06 ` [PATCH 14/71] hw/adc: " Richard Henderson
2024-12-14 10:02   ` Cédric Le Goater
2024-12-13 19:06 ` [PATCH 15/71] hw/arm: " Richard Henderson
2024-12-14 10:03   ` Cédric Le Goater
2024-12-13 19:06 ` [PATCH 16/71] hw/audio: " Richard Henderson
2024-12-13 19:06 ` [PATCH 17/71] hw/avr: " Richard Henderson
2024-12-13 19:06 ` [PATCH 18/71] hw/block/xen-block: Unexport PropertyInfo Richard Henderson
2024-12-14 17:52   ` Jason Andryuk
2024-12-13 19:06 ` [PATCH 19/71] hw/block: Constify all Property Richard Henderson
2024-12-13 19:06 ` [PATCH 20/71] hw/char: " Richard Henderson
2024-12-14  0:05   ` Alberto Garcia
2024-12-13 19:06 ` [PATCH 21/71] hw/core: " Richard Henderson
2024-12-13 19:06 ` [PATCH 22/71] hw/cpu: " Richard Henderson
2024-12-18 15:20   ` Zhao Liu
2024-12-13 19:06 ` [PATCH 23/71] hw/cxl: " Richard Henderson
2024-12-16 10:04   ` Jonathan Cameron via
2024-12-13 19:06 ` [PATCH 24/71] hw/display: " Richard Henderson
2024-12-13 19:06 ` [PATCH 25/71] hw/dma: " Richard Henderson
2024-12-13 19:07 ` [PATCH 26/71] hw/gpio: " Richard Henderson
2025-01-06 20:15   ` Miles Glenn
2024-12-13 19:07 ` [PATCH 27/71] hw/hyperv: " Richard Henderson
2024-12-16 21:12   ` Maciej S. Szmigiero
2024-12-13 19:07 ` [PATCH 28/71] hw/i2c: " Richard Henderson
2024-12-13 19:36   ` Corey Minyard
2024-12-14 10:03   ` Cédric Le Goater
2024-12-13 19:07 ` [PATCH 29/71] hw/i386: " Richard Henderson
2024-12-16  6:14   ` CLEMENT MATHIEU--DRIF
2024-12-16 14:05     ` Richard Henderson
2024-12-13 19:07 ` [PATCH 30/71] hw/ide: " Richard Henderson
2024-12-14 18:38   ` Bernhard Beschow
2024-12-13 19:07 ` [PATCH 31/71] hw/input: " Richard Henderson
2024-12-13 19:07 ` [PATCH 32/71] hw/intc: " Richard Henderson
2024-12-13 20:41   ` Daniel Henrique Barboza
2024-12-13 19:07 ` [PATCH 33/71] hw/ipack: " Richard Henderson
2024-12-14  0:05   ` Alberto Garcia
2024-12-13 19:07 ` [PATCH 34/71] hw/ipmi: " Richard Henderson
2024-12-13 19:40   ` Corey Minyard
2024-12-13 19:07 ` [PATCH 35/71] hw/isa: " Richard Henderson
2024-12-14 22:20   ` Bernhard Beschow
2024-12-13 19:07 ` [PATCH 36/71] hw/m68k: " Richard Henderson
2024-12-13 20:09   ` Thomas Huth
2024-12-13 19:07 ` [PATCH 37/71] hw/mem: " Richard Henderson
2024-12-13 19:07 ` [PATCH 38/71] hw/mips: " Richard Henderson
2024-12-13 19:07 ` [PATCH 39/71] hw/misc/xlnx-versal-trng: Constify trng_props Richard Henderson
2024-12-13 19:07 ` [PATCH 40/71] hw/misc: Constify all Property Richard Henderson
2024-12-14 10:03   ` Cédric Le Goater
2024-12-13 19:07 ` [PATCH 41/71] hw/net: " Richard Henderson
2024-12-14 10:04   ` Cédric Le Goater
2024-12-19  8:25   ` Akihiko Odaki
2024-12-13 19:07 ` [PATCH 42/71] hw/nubus: " Richard Henderson
2024-12-13 19:07 ` [PATCH 43/71] hw/nvme: " Richard Henderson
2024-12-13 19:07 ` [PATCH 44/71] hw/nvram: " Richard Henderson
2024-12-13 19:07 ` [PATCH 45/71] hw/pci-bridge: " Richard Henderson
2024-12-13 19:07 ` [PATCH 46/71] hw/pci-host/astro: Remove empty Property list Richard Henderson
2024-12-13 19:07 ` [PATCH 47/71] hw/pci-host: Constify all Property Richard Henderson
2024-12-13 19:07 ` [PATCH 48/71] hw/pci: " Richard Henderson
2024-12-13 19:07 ` [PATCH 49/71] hw/ppc: " Richard Henderson
2024-12-13 19:07 ` [PATCH 50/71] hw/remote: " Richard Henderson
2024-12-14 14:24   ` Jag Raman
2024-12-13 19:07 ` [PATCH 51/71] hw/riscv: " Richard Henderson
2024-12-13 20:38   ` Daniel Henrique Barboza
2024-12-13 19:07 ` [PATCH 52/71] hw/rtc: " Richard Henderson
2024-12-13 19:07 ` [PATCH 53/71] hw/rx: " Richard Henderson
2024-12-13 19:07 ` [PATCH 54/71] hw/s390x: " Richard Henderson
2024-12-20 20:41   ` Eric Farman
2024-12-13 19:07 ` [PATCH 55/71] hw/scsi: " Richard Henderson
2024-12-13 19:07 ` [PATCH 56/71] hw/sd: " Richard Henderson
2024-12-14 10:04   ` Cédric Le Goater
2024-12-13 19:07 ` [PATCH 57/71] hw/sparc: " Richard Henderson
2024-12-13 19:07 ` [PATCH 58/71] hw/sparc64: " Richard Henderson
2024-12-13 19:07 ` [PATCH 59/71] hw/ssi: " Richard Henderson
2024-12-14 10:05   ` Cédric Le Goater
2024-12-13 19:07 ` [PATCH 60/71] hw/timer: " Richard Henderson
2024-12-14 10:05   ` Cédric Le Goater
2024-12-13 19:07 ` [PATCH 61/71] hw/tpm: " Richard Henderson
2024-12-14  0:09   ` Stefan Berger [this message]
2024-12-13 19:07 ` [PATCH 62/71] hw/tricore: " Richard Henderson
2024-12-14  8:23   ` Bastian Koppelmann
2024-12-13 19:07 ` [PATCH 63/71] hw/ufs: " Richard Henderson
2024-12-13 19:13 ` [PATCH 00/71] whole-tree: Constify Property structures Richard Henderson
2024-12-13 19:29 ` [PATCH 63/71] hw/ufs: Constify all Property Richard Henderson
2024-12-13 19:29   ` [PATCH 64/71] hw/usb: " Richard Henderson
2024-12-13 19:29   ` [PATCH 65/71] hw/vfio: " Richard Henderson
2024-12-14 11:58     ` Cédric Le Goater
2024-12-20 20:41     ` Eric Farman
2024-12-13 19:30   ` [PATCH 66/71] hw/virtio: " Richard Henderson
2024-12-13 19:30   ` [PATCH 67/71] hw/watchdog: " Richard Henderson
2024-12-14 10:15     ` Cédric Le Goater
2024-12-16 13:17     ` Leif Lindholm
2024-12-13 19:30   ` [PATCH 68/71] hw/xen: " Richard Henderson
2024-12-14 17:53     ` Jason Andryuk
2024-12-13 19:30   ` [PATCH 69/71] hw/xen: Use DEFINE_PROP_END_OF_LIST in xen_sysdev_properties Richard Henderson
2024-12-14 17:54     ` Jason Andryuk
2024-12-13 19:31 ` [PATCH 70/71] tests/unit: Constify all Property Richard Henderson
2024-12-13 19:31   ` [PATCH 71/71] docs: Constify all Property in examples Richard Henderson
2024-12-16 14:47     ` Peter Xu
2024-12-13 19:43 ` [PATCH 00/71] whole-tree: Constify Property structures Philippe Mathieu-Daudé
2024-12-14 18:40 ` Bernhard Beschow
2024-12-15 18:13   ` Richard Henderson
2024-12-15  9:31 ` Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7a655f83-8a29-4edc-a8d8-a700fcda378a@linux.ibm.com \
    --to=stefanb@linux.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=stefanb@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.