[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 02/24] hw/ide: Constify sysbus_ahci_properties
From: |
Bernhard Beschow |
Subject: |
Re: [PATCH 02/24] hw/ide: Constify sysbus_ahci_properties |
Date: |
Wed, 18 Dec 2024 12:31:06 +0000 |
Am 16. Dezember 2024 03:50:47 UTC schrieb Richard Henderson
<richard.henderson@linaro.org>:
>Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
>---
> hw/ide/ahci-sysbus.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/hw/ide/ahci-sysbus.c b/hw/ide/ahci-sysbus.c
>index d43db0923f..2432039290 100644
>--- a/hw/ide/ahci-sysbus.c
>+++ b/hw/ide/ahci-sysbus.c
>@@ -62,7 +62,7 @@ static void sysbus_ahci_realize(DeviceState *dev, Error
>**errp)
> ahci_realize(&s->ahci, dev, &address_space_memory);
> }
>
>-static Property sysbus_ahci_properties[] = {
>+static const Property sysbus_ahci_properties[] = {
> DEFINE_PROP_UINT32("num-ports", SysbusAHCIState, ahci.ports, 1),
> DEFINE_PROP_END_OF_LIST(),
> };
Reviewed-by: Bernhard Beschow <shentey@gmail.com>
- [PATCH 00/24] More Property cleanups, Richard Henderson, 2024/12/15
- [PATCH 01/24] migration: Constify migration_properties, Richard Henderson, 2024/12/15
- [PATCH 03/24] target/ppc: Remove empty property list, Richard Henderson, 2024/12/15
- [PATCH 05/24] hw/pci-host/astro: Remove empty Property list, Richard Henderson, 2024/12/15
- [PATCH 02/24] hw/ide: Constify sysbus_ahci_properties, Richard Henderson, 2024/12/15
- Re: [PATCH 02/24] hw/ide: Constify sysbus_ahci_properties,
Bernhard Beschow <=
- [PATCH 07/24] hw/tricore: Remove empty Property lists, Richard Henderson, 2024/12/15
- [PATCH 04/24] target/s390x: Use s390x_cpu_properties for system mode only, Richard Henderson, 2024/12/15
- [PATCH 06/24] hw/ppc: Only register spapr_nvdimm_properties if CONFIG_LIBPMEM, Richard Henderson, 2024/12/15
- [PATCH 10/24] hw/sparc: Remove empty Property lists, Richard Henderson, 2024/12/15
- [PATCH 08/24] hw/s390x: Remove empty Property lists, Richard Henderson, 2024/12/15
- [PATCH 09/24] hw/xen: Remove empty Property lists, Richard Henderson, 2024/12/15
- [PATCH 12/24] include/hw/qdev-core: Detect most empty Property lists at compile time, Richard Henderson, 2024/12/15
- [PATCH 13/24] hw/core: Introduce device_class_set_props_n, Richard Henderson, 2024/12/15